SLSA Field Exists in Provenance Document
Type: Rule
ID: slsa-field-exists
Source: v2/rules/slsa/field-exists.yaml
Rego Source: field-exists.rego
Labels: SLSA, Image
Verify the specified field exists in the provenance document.
note
This rule requires SLSA Provenance. See here for more details.
tip
Signed Evidence for this rule IS NOT required by default but is recommended.
warning
Rule requires evaluation with a target. Without one, it will be disabled unless the --all-evidence
flag is provided.
Usage example
uses: slsa/field-exists@v2
Evidence Requirements
Field | Value |
---|---|
signed | False |
content_body_type | slsa |
target_type | container |
Rule Parameters (with
)
Parameter | Default |
---|---|
paths | [] |
violations_threshold | 0 |