Skip to main content

A package for parsing, representing, and filtering NVD data.

Project description

nvdutils

A package for parsing, representing, and filtering NVD data.

Usage

    from nvdutils.core.loaders.json_loader import JSONFeedsLoader
    from nvdutils.types.options import CVEOptions

    cve_options = CVEOptions()
    cve_options.cwe_options.cwe_id = 'CWE-79'
    cve_options.cwe_options.has_cwe = True
    cve_options.cwe_options.in_secondary = False
    cve_options.cwe_options.is_single = True
    cve_options.cvss_options.has_v3 = True
    cve_options.config_options.is_single_vuln_product = True
    cve_options.desc_options.is_single_component = True
    cve_options.desc_options.is_single_vuln = True

    # https://github.com/fkie-cad/nvd-json-data-feeds
    loader = JSONFeedsLoader(data_path='/path/to/nvd-json-data-feeds', options=cve_options,
                             verbose=True)
    loader.load()
    print(len(loader))

    cve = JSONFeedsLoader.load_cve('/path/to/CVE-2019-0001.json')
    print(cve)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nvdutils-0.1.1.tar.gz (12.1 kB view details)

Uploaded Source

Built Distribution

nvdutils-0.1.1-py3-none-any.whl (12.7 kB view details)

Uploaded Python 3

File details

Details for the file nvdutils-0.1.1.tar.gz.

File metadata

  • Download URL: nvdutils-0.1.1.tar.gz
  • Upload date:
  • Size: 12.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.10.7

File hashes

Hashes for nvdutils-0.1.1.tar.gz
Algorithm Hash digest
SHA256 8266c694d4ec1edd3bea4e6350c2284ea7758aabc2a83d432af21864146c953c
MD5 e6da8dfb06a326998181277afa79e490
BLAKE2b-256 8a3ff3ee62465edf254f1a50c7ba37443f3be40f791e52a76c15a6866478bd62

See more details on using hashes here.

File details

Details for the file nvdutils-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: nvdutils-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 12.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.10.7

File hashes

Hashes for nvdutils-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 19fdb75e62898b40a2457e595461900017df66cfa1956e11478528e5de8ed54c
MD5 5f9fcc298f6b2b48884940dd039745e2
BLAKE2b-256 593eb83c688f93424d879075d47fb4a4c92a0ad03169307eb60f2124126a6db2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page