Skip to content

Commit

Permalink
Do not skip, but fail if the artifact doesn't have any slsa attestati…
Browse files Browse the repository at this point in the history
…ons generated (#158)

Signed-off-by: Radoslav Dimitrov <[email protected]>
  • Loading branch information
rdimitrov authored Sep 11, 2024
1 parent 9742547 commit 56955f0
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions rule-types/github/artifact_attestation_slsa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -127,10 +127,6 @@ def:
repo_ok(artifact, profile) if {
artifact.Verification.attestation.predicate.buildDefinition.externalParameters.workflow.repository == profile.workflow_repository
}
skip if {
count(artifacts_github_provenance) == 0
}
# Defines the configuration for alerting on the rule
alert:
type: security_advisory
Expand Down

0 comments on commit 56955f0

Please sign in to comment.