Skip to content

feat(output_engine): add --strip-scan-dir #4930

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 12, 2025

Conversation

ffontaine
Copy link
Contributor

@ffontaine ffontaine commented Mar 10, 2025

Rename --sbom-strip-root to --strip-scan-dir and allow the user to strip scanned directory also on the CVE paths for all outputs (json, csv, console, html, etc.)

While at it, drop usage of os.path.splitroot as it is only available since python 3.12

Rename --sbom-strip-root to --strip-scan-dir and allow the user to strip
scanned directory also on the CVE paths for all outputs (json, csv,
console, html, etc.)

While at it, drop usage of os.path.splitroot as it is only available
since python 3.12

Signed-off-by: Fabrice Fontaine <[email protected]>
Copy link
Contributor

@terriko terriko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense, thank you. (And sorry my code reviews have become more perfunctory lately, I probably should have thought about the 3.12 thing)

@terriko terriko merged commit 6c9ff03 into intel:main Mar 12, 2025
23 of 24 checks passed
@ffontaine ffontaine deleted the rename-sbom-strip-root branch March 12, 2025 17:58
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.

2 participants