Enterprise Contract API Reference
appstudio.redhat.com/v1alpha1
Package v1alpha1 contains API Schema definitions for the appstudio.redhat.com v1alpha1 API group
EnterpriseContractPolicy
EnterpriseContractPolicy is the Schema for the enterprisecontractpolicies API
Field | Description | Default | Validation |
---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
EnterpriseContractPolicyConfiguration
EnterpriseContractPolicyConfiguration configuration of modifications to policy evaluation. DEPRECATED: Use the config for a policy source instead.
Field | Description | Default | Validation |
---|---|---|---|
|
Exclude set of policy exclusions that, in case of failure, do not block |
||
|
Include set of policy inclusions that are added to the policy evaluation. |
||
|
Collections set of predefined rules. DEPRECATED: Collections can be listed in include |
EnterpriseContractPolicyList
EnterpriseContractPolicyList contains a list of EnterpriseContractPolicy
Field | Description | Default | Validation |
---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
EnterpriseContractPolicySpec
EnterpriseContractPolicySpec is used to configure the Enterprise Contract Policy
Field | Description | Default | Validation |
---|---|---|---|
|
Optional name of the policy |
||
|
Description of the policy or its intended use |
||
|
One or more groups of policy rules |
MinItems: 1 |
|
|
Configuration handles policy modification configuration (exclusions and inclusions) |
||
|
URL of the Rekor instance. Empty string disables Rekor integration |
||
|
Public key used to validate the signature of images and attestations |
||
|
Identity to be used for keyless verification. This is an experimental feature. |
EnterpriseContractPolicyStatus
EnterpriseContractPolicyStatus defines the observed state of EnterpriseContractPolicy
Identity
Identity defines the allowed identity for keyless signing.
Field | Description | Default | Validation |
---|---|---|---|
|
Subject is the URL of the certificate identity for keyless verification. |
||
|
SubjectRegExp is a regular expression to match the URL of the certificate identity for |
||
|
Issuer is the URL of the certificate OIDC issuer for keyless verification. |
||
|
IssuerRegExp is a regular expression to match the URL of the certificate OIDC issuer for |
Source
Source defines policies and data that are evaluated together
Field | Description | Default | Validation |
---|---|---|---|
|
Optional name for the source |
||
|
List of go-getter style policy source urls |
MinItems: 1 |
|
|
List of go-getter style policy data source urls |
||
|
Arbitrary rule data that will be visible to policy rules |
Type: object |
|
|
Config specifies which policy rules are included, or excluded, from the |
Type: object |
|
|
Specifies volatile configuration that can include or exclude policy rules |
Type: object |
SourceConfig
SourceConfig specifies config options for a policy source.
Field | Description | Default | Validation |
---|---|---|---|
|
Exclude is a set of policy exclusions that, in case of failure, do not block |
||
|
Include is a set of policy inclusions that are added to the policy evaluation. |
VolatileCriteria
VolatileCriteria includes or excludes a policy rule with effective dates as an option.
Field | Description | Default | Validation |
---|---|---|---|
|
|||
|
Format: date-time |
||
|
Format: date-time |
||
|
DEPRECATED: Use ImageDigest instead |
Pattern: |
|
|
ImageDigest is used to specify an image by its digest. |
Pattern: |
|
|
ImageUrl is used to specify an image by its URL without a tag. |
Pattern: |
VolatileSourceConfig
VolatileSourceConfig specifies volatile configuration for a policy source.
Field | Description | Default | Validation |
---|---|---|---|
|
Exclude is a set of policy exclusions that, in case of failure, do not block |
||
|
Include is a set of policy inclusions that are added to the policy evaluation. |