improve usability for folk trying to scan component lists who forgot --input file #1649
Labels
discussion
Discussion thread or meeting minutes that may not have any trivially fixable code issues associated
enhancement
New feature or request
Milestone
Right now, if you try to do
cve-bin-tool componentlist.csv
then cve-bin-tool attempts to do a binary scan on the file you specified. Since .csv isn't a binary file or a recognized package type, it then skips the file (effectively doing nothing) and tells you no cves were found.probably what you wanted was for it to scan the list of components inside that .csv file, though. This used to be pretty obvious when we used a separate utility (
csv2cve
) but now that we handle a lot of different BOM files that wouldn't make sense.Some possible resolutions, which could be combined:
csv2cve
but with a more inclusive name (cve-list-scan-tool
?) to help people avoid this mistake.csv2cve
is basically syntactic sugar (it calls the same code but looks "prettier") and I don't mind providing that if it will help people minimize mistakes or make it easier for people to understand that the "bin" part of cve-bin-tool is now optional.Thoughts? I'd like to see a warning message at minimum, but I sort of feel like 3 & 4 are probably bigger upgrades to the user experience.
The text was updated successfully, but these errors were encountered: