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
Release history Release notifications | RSS feed
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.0.1.tar.gz
(12.1 kB
view details)
Built Distribution
nvdutils-0.0.1-py3-none-any.whl
(12.6 kB
view details)
File details
Details for the file nvdutils-0.0.1.tar.gz
.
File metadata
- Download URL: nvdutils-0.0.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec03a8162df9d538dcf5ff09888e26d70a7c1a201fb8a3bae3029bf5d2a7a440 |
|
MD5 | f47d4b1ddb43fc420aabdbd8c24b7356 |
|
BLAKE2b-256 | 47263334774488e56df60a5e7246535da71c92596bb53ed41b99c9be0468fc56 |
File details
Details for the file nvdutils-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: nvdutils-0.0.1-py3-none-any.whl
- Upload date:
- Size: 12.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.10.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32896f7f0bcdf008da02d1165511d899a610a925ea3713e71c17f4ffa063a944 |
|
MD5 | 0ab721aa800c58cd6251b3c79d579e9b |
|
BLAKE2b-256 | 7e1e82a0fc30b7afaa3e74ae21ab36ed9d840afd6ae2a405a960a567363494ab |