Skip to content

Add fail compliance action - #5231

Open
zilosz wants to merge 5 commits into
anchore:mainfrom
zilosz:compliance-fail-clean
Open

Add fail compliance action#5231
zilosz wants to merge 5 commits into
anchore:mainfrom
zilosz:compliance-fail-clean

Conversation

@zilosz

@zilosz zilosz commented Aug 26, 2026

Copy link
Copy Markdown

Description

Adds a fail compliance action for missing package names and versions. When configured, Syft will throw an error and abort the SBOM generation process instead of continuing.

In addition to existing actions, the missing-name and missing-version config options under compliance now accept fail (with alias error).

Type of change

  • New feature (non-breaking change which adds functionality)

Checklist

  • I have added unit tests that cover changed behavior
  • I have tested my code in common scenarios and confirmed there are no regressions
  • I have added comments to my code, particularly in hard-to-understand sections

Issue references

Fixes #4388

zilosz added 5 commits August 26, 2026 15:10
Signed-off-by: zilosz <mfecko@purdue.edu>
Signed-off-by: zilosz <mfecko@purdue.edu>
Signed-off-by: zilosz <mfecko@purdue.edu>
Signed-off-by: zilosz <mfecko@purdue.edu>
Signed-off-by: zilosz <mfecko@purdue.edu>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Report an error result when packages found without version

1 participant