Disallow Specific Users in SBOM
Type: Rule
ID: sbom-disallowed-users
Source: v2/rules/sbom/banned-users.yaml
Rego Source: banned-users.rego
Labels: SBOM, Image
Verify specific users are not allowed in an SBOM.
note
This rule requires Image SBOM. 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: sbom/banned-users@v2
Evidence Requirements
Field | Value |
---|---|
signed | False |
content_body_type | cyclonedx-json |
target_type | container |
Rule Parameters (with
)
Parameter | Default |
---|---|
users | ['root'] |