Skip to content

Commit

Permalink
doc: added severity explanation to TrivyVulnerabilityDto
Browse files Browse the repository at this point in the history
  • Loading branch information
janniclas committed Nov 5, 2024
1 parent e343a49 commit 5f9ae19
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,14 @@ data class TrivyVulnerabilityDto(
@SerialName("VulnerabilityID") val vulnerabilityID: String,
@SerialName("InstalledVersion") val installedVersion: String,
@SerialName("PkgName") val pkgName: String,
/**
* | Base Score Range | Severity |
* |------------------|----------|
* | 0.1-3.9 | Low |
* | 4.0-6.9 | Medium |
* | 7.0-8.9 | High |
* | 9.0-10.0 | Critical |
*/
@SerialName("Severity") val severity: String,
)

Expand Down

0 comments on commit 5f9ae19

Please sign in to comment.