File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 1212# ################ Component Filters ################
1313
1414# List of Endor Labs SBOM components that must be removed before processing
15- endor_components_remove = [
15+ components_remove = [
1616 # A dependency erroneously matched in build/CMakeFiles
1717 'mozilla/cubeb' ,
1818 # An incorrect match from parts of pkg:github/madler/zlib
2626 'pkg:github/' ,
2727]
2828
29- for component in endor_components_remove :
29+ endor_components_remove = []
30+ for component in components_remove :
3031 for prefix in prefixes :
31- component = prefix + component
32+ endor_components_remove . append ( prefix + component )
3233
3334# ################ Component Renaming ################
3435# Endor does not have syntactically valid PURLs for C/C++ packages.
Original file line number Diff line number Diff line change @@ -533,6 +533,7 @@ def main() -> None:
533533 logger .error ('Check Endor Labs for status of the target monitoring scan.' )
534534 sys .exit (1 )
535535
536+ logger .info (f'Endor Labs SBOM exported with { len (endor_bom ["components" ])} components' )
536537 # endregion export Endor Labs SBOM
537538
538539 # region Pre-process Endor Labs SBOM
You can’t perform that action at this time.
0 commit comments