feat: add policy, oci, attestation
This commit is contained in:
1
pkg/policy/testdata/mock-tuf-allow/doi/data.yaml
vendored
Normal file
1
pkg/policy/testdata/mock-tuf-allow/doi/data.yaml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
config:
|
||||
5
pkg/policy/testdata/mock-tuf-allow/doi/policy.rego
vendored
Normal file
5
pkg/policy/testdata/mock-tuf-allow/doi/policy.rego
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
package docker
|
||||
|
||||
import rego.v1
|
||||
|
||||
allow := true
|
||||
10
pkg/policy/testdata/mock-tuf-allow/mapping.yaml
vendored
Normal file
10
pkg/policy/testdata/mock-tuf-allow/mapping.yaml
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
# map repos to policies
|
||||
version: v1
|
||||
kind: policy-mapping
|
||||
policies:
|
||||
- origin:
|
||||
domain: docker.io
|
||||
prefix: library/
|
||||
name: docker-official-images
|
||||
description: Docker Official Images
|
||||
location: doi
|
||||
Reference in New Issue
Block a user