mirror of
https://github.com/cve-search/PyVulnerabilityLookup.git
synced 2025-01-18 18:46:19 +00:00
37 lines
986 B
Markdown
37 lines
986 B
Markdown
# Python client and module for Vulnerability-Lookup
|
|
|
|
[PyVulnerabilityLookup](https://github.com/cve-search/PyVulnerabilityLookup), a Python library to access
|
|
[Vulnerability-Lookup](https://github.com/cve-search/vulnerability-lookup) via its REST API.
|
|
|
|
PyVulnerabilityLookup allows you to fetch vulnerabilities, create comments, bundles, sightings, and more.
|
|
|
|
|
|
## Installation
|
|
|
|
```bash
|
|
pip install pyvulnerabilitylookup
|
|
```
|
|
|
|
## Usage
|
|
|
|
### Command line
|
|
|
|
You can use the `vulnerability_lookup` command:
|
|
|
|
```bash
|
|
$ vulnerability_lookup -h
|
|
usage: vulnerability_lookup [-h] --url URL (--redis_up | --vulnerability VULNERABILITY)
|
|
|
|
Query a thing.
|
|
|
|
options:
|
|
-h, --help show this help message and exit
|
|
--url URL URL of the instance.
|
|
--redis_up Check if redis is up.
|
|
--vulnerability VULNERABILITY
|
|
Get a vulnerability.
|
|
```
|
|
|
|
### Library
|
|
|
|
See [API Reference](https://pyvulnerabilitylookup.readthedocs.io/en/latest/api_reference.html)
|