* Add support for separate attestation storage repo * Move mapping file types and parsing to config package * Change signature of Verify to take image/platform * Separate Attestation Resolvers to their own files (registry, layout and referrers) * Add support configuring referrers resolution style in mapping.yaml * Add registry test
19 lines
427 B
YAML
19 lines
427 B
YAML
# map repos to policies
|
|
version: v1
|
|
kind: policy-mapping
|
|
policies:
|
|
- origin:
|
|
domain: docker.io
|
|
prefix: library/
|
|
id: docker-official-images
|
|
description: Docker Official Images
|
|
attestations:
|
|
repo: "localhost:5001/library-refs"
|
|
files:
|
|
- path: doi/policy.rego
|
|
mirrors:
|
|
- policy-id: docker-official-images
|
|
mirror:
|
|
domains: [localhost:5001, registry.local:5000]
|
|
prefix: ""
|