Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: update constraint templates to work with new type field #1217

Merged
Prev Previous commit
Next Next commit
remove out of date comment
  • Loading branch information
akashsinghal committed Jan 4, 2024
commit 61f7a1383224736f749dd99f50d29b0300703cac
2 changes: 0 additions & 2 deletions library/rego/sbom-validation.rego
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ package ratify.policy

# This template defines policy for SBOM validation.
# It checks the following:
# - If there are any system errors
# - If there are errors for any of the images
# - There is at least one SBOM report that was verified
# - Only considers ONE SBOM report
# - The SBOM is valid (isSuccess = true)
Expand Down
2 changes: 0 additions & 2 deletions library/rego/vulnerability-report-validation.rego
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ import future.keywords.every

# This template defines policy for vulnerability report validation.
# It checks the following:
# - If there are any system errors
# - If there are errors for any of the images
# - There is at least one vulnerability report that was verified
# - Only considers the latest vulnerability report
# - The latest vulnerability report is valid (isSuccess = true)
Expand Down
Loading