Skip to content

Commit

Permalink
fix: removed an accidental violation on trivy
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Detesan authored and Alex Detesan committed Mar 22, 2024
1 parent d4ff9f3 commit c57cf28
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions policy/security/trivy.rego
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,3 @@ violation[msg] {
input.predicate.scanner.result.Results[_].Vulnerabilities[_].Severity == severities[_]
msg := "vulnerability higher than medium"
}

violation[msg] {
severities := ["CRITICAL"]
input.predicate.scanner.result.Results[_].Vulnerabilities[_].Severity == severities[_]
msg := "vulnerability is critical"
}

0 comments on commit c57cf28

Please sign in to comment.