Class SnykIssue
java.lang.Object
org.palladiosimulator.pcm.confidentiality.reverseengineering.staticcodeanalysis.SnykIssue
- All Implemented Interfaces:
IStaticCodeAnalysisIssue
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloatReturns a Common Vulnerability Scoring System (CVSS) score to measure the issue.Returns the Common Vulnerability Scoring System (CVSS).Returns a detailed description of the issue.Return the date when the issue was disclosed to the package maintainers.longgetId()Returns the issue's id as a String.Returns a map of common categorization identifiers for example CWE.Returns the programming language the package that got the issue is written in.Returns the package identifier for the package that got the issue.Returns the package version of the package that got the issue.String[]getPaths()Returns an array of String that represent paths to the dependencies that got an issue.Returns the date when the issue was first published.Returns the level of severity of the issue.getTitle()Returns the issue's name.getUrl()Get a URL where one may get further information about the issue.toString()
-
Constructor Details
-
SnykIssue
-
-
Method Details
-
getId
public long getId()Description copied from interface:IStaticCodeAnalysisIssueReturns the issue's id as a String. The id is used to identify the issue for further use.- Specified by:
getIdin interfaceIStaticCodeAnalysisIssue- Returns:
- String representing the issue's id.
-
getUrl
Description copied from interface:IStaticCodeAnalysisIssueGet a URL where one may get further information about the issue.- Specified by:
getUrlin interfaceIStaticCodeAnalysisIssue- Returns:
- Issue's information URL.
-
getTitle
Description copied from interface:IStaticCodeAnalysisIssueReturns the issue's name. Use it for a human-readable communication.- Specified by:
getTitlein interfaceIStaticCodeAnalysisIssue- Returns:
- Issue's name.
-
getPaths
Description copied from interface:IStaticCodeAnalysisIssueReturns an array of String that represent paths to the dependencies that got an issue.- Specified by:
getPathsin interfaceIStaticCodeAnalysisIssue- Returns:
- Paths to the Dependencies
-
getPackage
Description copied from interface:IStaticCodeAnalysisIssueReturns the package identifier for the package that got the issue. The identifier received form the package manager,- Specified by:
getPackagein interfaceIStaticCodeAnalysisIssue- Returns:
- Package identifier.
-
getPackageVersion
Description copied from interface:IStaticCodeAnalysisIssueReturns the package version of the package that got the issue.- Specified by:
getPackageVersionin interfaceIStaticCodeAnalysisIssue- Returns:
- Package version.
-
getSeverity
Description copied from interface:IStaticCodeAnalysisIssueReturns the level of severity of the issue.- Specified by:
getSeverityin interfaceIStaticCodeAnalysisIssue- Returns:
- Severity.
-
getLanguage
Description copied from interface:IStaticCodeAnalysisIssueReturns the programming language the package that got the issue is written in.- Specified by:
getLanguagein interfaceIStaticCodeAnalysisIssue- Returns:
- Package's programming language.
-
getPublicationTime
Description copied from interface:IStaticCodeAnalysisIssueReturns the date when the issue was first published.- Specified by:
getPublicationTimein interfaceIStaticCodeAnalysisIssue- Returns:
- Issue's publish data
-
getDisclosureTime
Description copied from interface:IStaticCodeAnalysisIssueReturn the date when the issue was disclosed to the package maintainers.- Specified by:
getDisclosureTimein interfaceIStaticCodeAnalysisIssue- Returns:
- Issue's disclosure time,
-
getDescription
Description copied from interface:IStaticCodeAnalysisIssueReturns a detailed description of the issue.- Specified by:
getDescriptionin interfaceIStaticCodeAnalysisIssue- Returns:
- Issue description.
-
getIdentifiers
Description copied from interface:IStaticCodeAnalysisIssueReturns a map of common categorization identifiers for example CWE. The maps keys are the categorization providers. The values are the identifiers.- Specified by:
getIdentifiersin interfaceIStaticCodeAnalysisIssue- Returns:
- Issue's categorization identifiers,
-
getCVSSv3
Description copied from interface:IStaticCodeAnalysisIssueReturns the Common Vulnerability Scoring System (CVSS).- Specified by:
getCVSSv3in interfaceIStaticCodeAnalysisIssue- Returns:
- Issue's CVSS
-
getCVSSScore
public float getCVSSScore()Description copied from interface:IStaticCodeAnalysisIssueReturns a Common Vulnerability Scoring System (CVSS) score to measure the issue.- Specified by:
getCVSSScorein interfaceIStaticCodeAnalysisIssue- Returns:
- Issue's CVSS score
-
toString
-