Users may need to exclude certain native binaries or directories from the SBOM. e.g. for licensing reasons where they are allowed to consume it but not ship it.
Proposal: Add --skip-binary and --skip-dir CLI flags (and/or config file options) to exclude items by glob pattern.
Example:
sbomit --skip-binary "*/test_*.so" --skip-dir "build/"
Excluded items should be logged and omitted from the final SBOM.
Users may need to exclude certain native binaries or directories from the SBOM. e.g. for licensing reasons where they are allowed to consume it but not ship it.
Proposal: Add
--skip-binaryand--skip-dirCLI flags (and/or config file options) to exclude items by glob pattern.Example:
Excluded items should be logged and omitted from the final SBOM.