Skip to content

Commit

Permalink
updating securities map
Browse files Browse the repository at this point in the history
  • Loading branch information
igorlombacx committed Oct 26, 2023
1 parent e9a3454 commit 1ccc35e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions internal/commands/result.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ var filterResultsListFlagUsage = fmt.Sprintf(

// Follows: over 9.0 is critical, 7.0 to 8.9 is high, 4.0 to 6.9 is medium and 3.9 or less is low.
var securities = map[string]string{
infoCx: "2.0",
lowCx: "3.9",
infoCx: "1.0",
lowCx: "2.0",
mediumCx: "4.0",
highCx: "7.0",
criticalCx: "9.0",
Expand Down Expand Up @@ -1559,7 +1559,6 @@ func findProperties(result *wrappers.ScanResult) wrappers.SarifProperties {
sarifProperties.Description = findDescriptionText(result)
sarifProperties.SecuritySeverity = securities[result.Severity]
sarifProperties.Tags = []string{"security", "checkmarx", result.Type}

return sarifProperties
}

Expand Down

0 comments on commit 1ccc35e

Please sign in to comment.