This repo contains a set of policy.yaml
files which can be used with
Enterprise Contract and the Red Hat Trusted Application Pipeline.
There is a predefined RHTAP Integration Test pipeline definition for each of these configs which can be used when creating an Integration Test in RHTAP as per the documentation here.
The policy configuration files are:
Includes rules for levels 1, 2 & 3 of SLSA v0.1. This is the default config used for new RHTAP applications.
- URL for Enterprise Contract:
github.com/enterprise-contract/config//default
- Source: default/policy.yaml
- Collections: @slsa1, @slsa2, @slsa3
- RHTAP Integration Test pipeline definition:
- Github URL:
https://github.com/redhat-appstudio/build-definitions
- Path in repository:
pipelines/enterprise-contract.yaml
- Github URL:
Includes the full set of rules and policies required internally by Red Hat when building Red Hat products.
- URL for Enterprise Contract:
github.com/enterprise-contract/config//redhat
- Source: redhat/policy.yaml
- Collections: @redhat
- RHTAP Integration Test pipeline definition:
- Github URL:
https://github.com/redhat-appstudio/build-definitions
- Path in repository:
pipelines/enterprise-contract-redhat.yaml
- Github URL:
Rules specifically related to levels 1, 2 & 3 of SLSA v0.1, plus a set of basic checks that are expected to pass for all RHTAP builds.
- URL for Enterprise Contract:
github.com/enterprise-contract/config//slsa3
- Source: slsa3/policy.yaml
- Collections: @minimal, @slsa1, @slsa2, @slsa3
- RHTAP Integration Test pipeline definition:
- Github URL:
https://github.com/redhat-appstudio/build-definitions
- Path in repository:
pipelines/enterprise-contract-slsa3.yaml
- Github URL:
Include every rule in the default policy source. For experiments only. This is not expected to pass for RHTAP builds without excluding some rules.
- URL for Enterprise Contract:
github.com/enterprise-contract/config//everything
- Source: everything/policy.yaml
- Collections:
- RHTAP Integration Test pipeline definition:
- Github URL:
https://github.com/redhat-appstudio/build-definitions
- Path in repository:
pipelines/enterprise-contract-everything.yaml
- Github URL: