name: test-image-digest
policies:
  - policies.yaml
resources:
  - resources.yaml
results:
  - policy: require-image-digest
    rule: check-digest
    resource: no-digest
    kind: Pod
    namespace: test
    status: fail
  - policy: require-image-digest
    rule: check-digest
    resource: with-digest
    kind: Pod
    namespace: test
    status: pass
