You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following lines in cli.py override the api2 setting of --nvd
ifargs["nvd_api_key"]:
nvd_type="api"
The change of nvd_type, should only occur in the nvd_type is not "api2"
To reproduce
Specify -n api2 on the command line with other parameters as appropriate
Expected behavior:
This should appear in the log if -n api2 is specified on the command line
INFO cve_bin_tool - [Using NVD API 2.0]
Actual behaviour:
This appears in the log if -n api2 is specified on the command line
INFO cve_bin_tool - [Using NVD API]
Version/platform info
Version of CVE-bin-tool( e.g. output of cve-bin-tool --version): 3.2.2dev0
Installed from pypi or github? github
Operating system: Linux/Windows (other platforms are unsupported but feel free to report issues anyhow) Linux
On Linux (or Windows Subsystem for Linux) you can run uname -a
On Windows you can run systeminfo | findstr /B /C:"OS Name" /C:"OS Version"
Python version (e.g. python3 --version): 3.10
Running in any particular CI environment we should know about? (e.g. Github Actions) N/A
Anything else?
The text was updated successfully, but these errors were encountered:
Description
The following lines in cli.py override the api2 setting of --nvd
The change of nvd_type, should only occur in the nvd_type is not "api2"
To reproduce
Specify
-n api2
on the command line with other parameters as appropriateExpected behavior:
This should appear in the log if -n api2 is specified on the command line
Actual behaviour:
This appears in the log if -n api2 is specified on the command line
Version/platform info
Version of CVE-bin-tool( e.g. output of
cve-bin-tool --version
): 3.2.2dev0Installed from pypi or github? github
Operating system: Linux/Windows (other platforms are unsupported but feel free to report issues anyhow) Linux
uname -a
systeminfo | findstr /B /C:"OS Name" /C:"OS Version"
Python version (e.g.
python3 --version
): 3.10Running in any particular CI environment we should know about? (e.g. Github Actions) N/A
Anything else?
The text was updated successfully, but these errors were encountered: