conda_vulnerability_scanner.scanner#

Functions

download_all_nvd_datafeed_files(output_dir)

download_file(url, file)

download_nvd_datafeed()

download_nvd_datafeed_file(link, output_dir)

fetch_cpe_dictionary(cpe_dictionary_bin, ...)

fetch_db(db_dir_path)

filter_by_cve_severity(cves, severity)

filter_ignored_cves(cves, cve_ignore_list)

generate_argument_parser()

generate_header_line(column_width, header)

generate_package_name_variants(package)

generate_plaintext_report(cves, file)

generate_separator_line(column_width, header)

get_cpe2cve_binary()

get_go_cpe_dictionary_binary()

handle_scan_command(args, scan_and_report)

lookup_cpes_for_packages(packages, connection)

lookup_cves_for_cpes(cpe2cve_bin, ...)

main(args, scan_and_report, fetch_db)

main_debug(args, scan_and_report, fetch_db)

make_binary_available(binary_name)

parse_cve_ignore_list(fileobj)

parse_nvd_datafeed(datafeed)

read_package_list_file(package_list_file)

retry(function[, retry_count, base_wait_seconds])

scan(db_dir_path, package_list_file[, ...])

scan_and_report(db_dir_path, ...[, ...])

test_db(db_dir_path)

tuple_to_cpe(cpe_tuple)

write_json_report(cves, output_file)

Classes

CVE(cve, cvss, cvss2, cvss3, cwe, cpe)

ExitCode(value)

An enumeration.

ScanResult(value)

An enumeration.

Severity(value)

An enumeration.