cve-bin-tool icon indicating copy to clipboard operation
cve-bin-tool copied to clipboard

feat: use default product/vendor/version for vex triage files

Open nancysangani opened this issue 8 months ago • 0 comments

Fixes #5072

When generating a VEX output file, --product, --vendor, and --release are now optional. If not specified, defaults are used (product=unknown, vendor=unknown, release=0.0) and a warning is logged.

This makes VEX generation convenient when scanning directories or files that don't map cleanly to a product/vendor/version tuple.

Changes:

  • cve_bin_tool/cli.py: use defaults instead of erroring when product/vendor/release are not provided
  • test/test_vex.py: add test for VEX generation with default product info
  • test/test_cli.py: add test that CLI no longer errors without product/vendor/release

nancysangani avatar Mar 20 '26 15:03 nancysangani