name: test-variables
policies:
  - policies.yaml
resources:
  - resources.yaml
results:
  - policy: example
    rule:  defined-value
    resource: example
    kind: Pod
    result: pass
  - policy: example
    rule:  defined-jmespath
    resource: example
    kind: Pod
    result: pass
  - policy: example
    rule:  defined-jmespath-with-default
    resource: example
    kind: Pod
    result: pass
  - policy: example
    rule:  defined-value-with-variable
    resource: example
    kind: Pod
    result: pass
  - policy: example
    rule:  defined-jmespath-with-default-variable
    resource: example
    kind: Pod
    result: pass
  - policy: example
    rule:  defined-value-jmespath
    resource: example
    kind: Pod
    result: pass
  - policy: example
    rule:  defined-value-jmespath-variable
    resource: example
    kind: Pod
    result: pass
  - policy: example
    rule:  value-override
    resource: example
    kind: Pod
    result: pass
  - policy: example
    rule:  wildcard-match
    resource: example
    kind: Pod
    result: pass
  - policy: example
    rule:  items
    resource: example
    kind: Pod
    result: pass
  - policy: example
    rule:  unused-var
    resource: example
    kind: Pod
    result: pass
