You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When ec command is run with "validate image --image ${REGISTRY}/acceptance/ec-happy-day --policy acceptance/ec-policy --public-key ${known_PUBLIC_KEY} --rekor-url ${REKOR} --show-successes"
412
412
Then the exit status should be 0
413
413
Then the output should match the snapshot
414
+
415
+
Scenario: policy rule filtering on imageRef
416
+
Given a key pair named "known"
417
+
Given an image named "acceptance/ec-happy-day"
418
+
Given a valid image signature of "acceptance/ec-happy-day" image signed by the "known" key
419
+
Given a valid Rekor entry for image signature of "acceptance/ec-happy-day"
420
+
Given a valid attestation of "acceptance/ec-happy-day" signed by the "known" key
421
+
Given a valid Rekor entry for attestation of "acceptance/ec-happy-day"
422
+
Given a git repository named "happy-day-policy" with
423
+
| filtering.rego | examples/filtering.rego |
424
+
Given policy configuration named "ec-policy" with specification
When ec command is run with "validate image --image ${REGISTRY}/acceptance/ec-happy-day --policy acceptance/ec-policy --public-key ${known_PUBLIC_KEY} --rekor-url ${REKOR} --show-successes"
0 commit comments