security/py-nvdlib: import py-nvdlib-0.7.6
NVDlib is a Python library that allows you to interface with the NIST National Vulnerability Database (NVD), pull vulnerabilities (CVEs), and Common Platform Enumeration (CPEs) into easily accessible objects. ### Features - Search the NVD for CVEs using all parameters allowed by the NVD API (recently updated to utilize version 2 of the API). Including search criteria such as CVE publish and modification date, keywords, severity, score, or CPE name. - Search CPE names by keywords, CPE match strings, or modification dates. Then pull the CVE ID's that are relevant to those CPEs. - Retrieve details on individual CVEs, their relevant CPE names, and more. - Built in rate limiting according to NIST NVD recommendations. Get an API key to allow for a delay argument to be passed. Otherwise it is 6 seconds between requests by default.
This commit is contained in:
parent
98a9481204
commit
1771bebab9
|
@ -0,0 +1,18 @@
|
|||
NVDlib is a Python library that allows you to interface with the
|
||||
NIST National Vulnerability Database (NVD), pull vulnerabilities
|
||||
(CVEs), and Common Platform Enumeration (CPEs) into easily accessible
|
||||
objects.
|
||||
|
||||
### Features
|
||||
|
||||
- Search the NVD for CVEs using all parameters allowed by the NVD
|
||||
API (recently updated to utilize version 2 of the API). Including
|
||||
search criteria such as CVE publish and modification date, keywords,
|
||||
severity, score, or CPE name.
|
||||
- Search CPE names by keywords, CPE match strings, or modification
|
||||
dates. Then pull the CVE ID's that are relevant to those CPEs.
|
||||
- Retrieve details on individual CVEs, their relevant CPE names,
|
||||
and more.
|
||||
- Built in rate limiting according to NIST NVD recommendations.
|
||||
Get an API key to allow for a delay argument to be passed. Otherwise
|
||||
it is 6 seconds between requests by default.
|
|
@ -0,0 +1,24 @@
|
|||
# $NetBSD: Makefile,v 1.1 2023/11/19 01:16:31 wiz Exp $
|
||||
|
||||
DISTNAME= nvdlib-0.7.6
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
||||
CATEGORIES= security python www
|
||||
MASTER_SITES= ${MASTER_SITE_GITHUB:=vehemont/}
|
||||
GITHUB_PROJECT= nvdlib
|
||||
GITHUB_TAG= v${PKGVERSION_NOREV}
|
||||
|
||||
MAINTAINER= pkgsrc-users@NetBSD.org
|
||||
HOMEPAGE= https://github.com/Vehemont/nvdlib/
|
||||
COMMENT= National Vulnerability Database CPE/CVE API Library for Python
|
||||
LICENSE= mit
|
||||
|
||||
TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel>=0:../../devel/py-wheel
|
||||
DEPENDS+= ${PYPKGPREFIX}-requests>=2.24.0:../../devel/py-requests
|
||||
TEST_DEPENDS+= ${PYPKGPREFIX}-responses>=0.18:../../net/py-responses
|
||||
|
||||
USE_LANGUAGES= # none
|
||||
|
||||
PYTHON_VERSIONS_INCOMPATIBLE= 27
|
||||
|
||||
.include "../../lang/python/wheel.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
|
@ -0,0 +1,21 @@
|
|||
@comment $NetBSD: PLIST,v 1.1 2023/11/19 01:16:31 wiz Exp $
|
||||
${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
|
||||
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
|
||||
${PYSITELIB}/${WHEEL_INFODIR}/RECORD
|
||||
${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
|
||||
${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
|
||||
${PYSITELIB}/nvdlib/__init__.py
|
||||
${PYSITELIB}/nvdlib/__init__.pyc
|
||||
${PYSITELIB}/nvdlib/__init__.pyo
|
||||
${PYSITELIB}/nvdlib/classes.py
|
||||
${PYSITELIB}/nvdlib/classes.pyc
|
||||
${PYSITELIB}/nvdlib/classes.pyo
|
||||
${PYSITELIB}/nvdlib/cpe.py
|
||||
${PYSITELIB}/nvdlib/cpe.pyc
|
||||
${PYSITELIB}/nvdlib/cpe.pyo
|
||||
${PYSITELIB}/nvdlib/cve.py
|
||||
${PYSITELIB}/nvdlib/cve.pyc
|
||||
${PYSITELIB}/nvdlib/cve.pyo
|
||||
${PYSITELIB}/nvdlib/get.py
|
||||
${PYSITELIB}/nvdlib/get.pyc
|
||||
${PYSITELIB}/nvdlib/get.pyo
|
|
@ -0,0 +1,5 @@
|
|||
$NetBSD: distinfo,v 1.1 2023/11/19 01:16:31 wiz Exp $
|
||||
|
||||
BLAKE2s (nvdlib-0.7.6.tar.gz) = c339d83c027cc423880b7e68bc0ec93ab12bd8ffbd5bf5752b1b6a219e18e535
|
||||
SHA512 (nvdlib-0.7.6.tar.gz) = c7cf283b6926bf0ec9d34f1520bc74c410e92f233070cc27796c6ca88154826c665483894114b57a1f58ffb2c479e0d2ef85aeb3c60ae5f5d29b7afc65c679d8
|
||||
Size (nvdlib-0.7.6.tar.gz) = 541676 bytes
|
Loading…
Reference in New Issue