Skip to main content

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

FieldValue
signedFalse
content_body_typecyclonedx-json
target_typecontainer

Rule Parameters (with)

ParameterDefault
users['root']