dep-scan
dep-scan copied to clipboard
Better way of generating file names
Currently, file names are generated with a bunch of find and replace, which sometimes interferes with directory names. Eg, if the --reports-dir
contains the word depscan
, it gets changed to sbom
:(
https://github.com/AppThreat/dep-scan/blob/master/depscan/cli.py#L357 https://github.com/AppThreat/dep-scan/blob/master/depscan/cli.py#L289
We need to change this behaviour and have better logic to generate file names per type.