Logo
Explore Help
Register Sign In
docker/attest
1
0
Fork 0
You've already forked attest
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
da667de6101cc6b85679cbf3cc2cd3e660a33837
attest/mapping/testdata/mappings/doi-platform-broken/mapping.yaml

12 lines
305 B
YAML
Raw Normal View History

Add proper mirror support (#74) * Add rewrite support and fix existing tests * Add unit tests for policy matching * Compile regexes up front and store policies in map * Add test for verify flow with mirror * Rename ImageName -> ResolvedName And only set it when necessary * Rename Rewrite -> Replacement but keep it as rewrite in the yaml
2024-07-12 17:09:41 +01:00
version: v1
kind: policy-mapping
policies:
- id: docker-official-images
description: Docker Official Images
files:
- path: doi/policy.rego
rules:
- pattern: "^docker[.]io/library/(.*)$"
Add platform filtering support to mapping.yml (#167) * chore!: rename package config -> mapping * feat: add platform filtering support to mapping.yml
2024-09-18 21:11:55 +01:00
platforms: ["linux/amd64/broken/platform/spec/1.0:foobar"]
Add proper mirror support (#74) * Add rewrite support and fix existing tests * Add unit tests for policy matching * Compile regexes up front and store policies in map * Add test for verify flow with mirror * Rename ImageName -> ResolvedName And only set it when necessary * Rename Rewrite -> Replacement but keep it as rewrite in the yaml
2024-07-12 17:09:41 +01:00
policy-id: docker-official-images
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 236ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API