Class MixAuditResult
java.lang.Object
org.owasp.dependencycheck.data.elixir.MixAuditResult
Represents a single vulnerability result from `mix_audit --format json`.
- Author:
- defsprite
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCve()Returns the CVE entry name.Returns the path to the dependency lock file.Returns the package name.Returns the dependency version.Returns the vulnerability description.Returns the vulnerability disclosure date.getId()Returns the vulnerability id.Returns the list of patched versions.getTitle()Returns the vulnerability title.getUrl()Returns the URL to the vulnerability page.
-
Constructor Details
-
MixAuditResult
public MixAuditResult(String id, String cve, String title, String description, String disclosureDate, String url, List<String> patchedVersions, String dependencyLockfile, String dependencyPackage, String dependencyVersion) Constructs a new Mix Audit Result.- Parameters:
id- the vulnerability idcve- the CVE entry nametitle- the CVE titledescription- the description of the vulnerabilitydisclosureDate- the vulnerability disclosure dateurl- a link to the vulnerability informationpatchedVersions- the list of patched versionsdependencyLockfile- the path to the lock filedependencyPackage- the name of the dependencydependencyVersion- the version of the dependency
-
-
Method Details
-
getId
-
getCve
-
getTitle
-
getDescription
Returns the vulnerability description.- Returns:
- the vulnerability description
-
getDisclosureDate
Returns the vulnerability disclosure date.- Returns:
- the vulnerability disclosure date
-
getUrl
Returns the URL to the vulnerability page.- Returns:
- the URL to the vulnerability page
-
getPatchedVersions
-
getDependencyLockfile
Returns the path to the dependency lock file.- Returns:
- the path to the dependency lock file
-
getDependencyPackage
-
getDependencyVersion
Returns the dependency version.- Returns:
- the dependency version
-