vexy icon indicating copy to clipboard operation
vexy copied to clipboard

ValueError: invalid literal for int() with base 10: 'noinfo'

Open brian-campbell opened this issue 1 year ago • 0 comments

[DEBUG] - 2023-10-19 18:11:02.425760 - !!! DEBUG MODE ENABLED !!! [DEBUG] - 2023-10-19 18:11:02.425819 - Parsed Arguments: Namespace(vexy_config=<_io.TextIOWrapper name='config.yml' mode='r' encoding='UTF-8'>, quiet_enabled=False, debug_enabled=True, input_source=<_io.TextIOWrapper name='./sbom_vbr_verified_CycloneDX.json' mode='r' encoding='UTF-8'>, output_format='json', output_schema_version='1.4', output_file='.', output_file_overwrite=False) Vexy is configured to use 1 data sources. Parsed 867 Components from CycloneDX SBOM ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100% 0:00:00 Consulting OSS Index by Sonatype for known vulnerabilities ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0% -:--:--DEBUG:ossindex:Attempting to load credentials for OSS Index from configuration file DEBUG:ossindex:A total of 102 Packages to be queried against OSS Index DEBUG:ossindex:Split 102 packages into 1 chunks for OSS requests Parsed 867 Components from CycloneDX SBOM ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100% 0:00:00 Parsed 867 Components from CycloneDX SBOM ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100% 0:00:00 Parsing SBOM validated with sbom-utility. CycloneDX format.

OSS Index by Sonatype: Querying for 102 Components ━━━━━━━━━━╺━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 25% -:--:-- Traceback (most recent call last): File "/opt/homebrew/bin/vexy", line 8, in sys.exit(main()) ^^^^^^ File "/opt/homebrew/lib/python3.11/site-packages/vexy/client.py", line 298, in main VexyCmd(args).execute() File "/opt/homebrew/lib/python3.11/site-packages/vexy/client.py", line 188, in execute vulnerabilities = data_source.get_vulnerabilities() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/homebrew/lib/python3.11/site-packages/vexy/sources/ossindex.py", line 71, in get_vulnerabilities cwes=[int(ossi_v.cwe[4:])] if ossi_v.cwe else None, ^^^^^^^^^^^^^^^^^^^ ValueError: invalid literal for int() with base 10: 'noinfo'

brian-campbell avatar Oct 19 '23 22:10 brian-campbell