A small tool to fetch informations about CVE from suse.com.
Project description
SUSE CVE Fetcher (unofficial; not developed by SUSE)
scf is a small tool to fetch informations about CVEs from suse.com.
⏬ Installation
Install via pypi
package:
pip install python-scf
Or directly via source:
pip install git+https://github.com/dadav/scf
📙 Documentation
👉 Please use https://scf.readthedocs.io/en/latest/
⭐️ Usage
You can use it via command line:
# list all cve
scf cve list
# export as json
scf cve list --json
# fetch details for a specific cve
scf cve details CVE-2022-0001
# start a little api server
scf server run
# prefetch some data (older years are excluded)
scf cache populate
# show some stats about the local cache
scf cache stats
Or in your python program:
from rich import print
from scf.suse import get_all_cve, get_cve_details
latest_cve = get_all_cve()[0]
details = get_cve_details(latest_cve)
print(f'[{latest_cve}] Score: {details.cvss.score}')
💓 Contributors
Made with contributors-img.
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
python-scf-0.1.1.tar.gz
(21.1 kB
view hashes)
Built Distribution
python_scf-0.1.1-py3-none-any.whl
(23.0 kB
view hashes)
Close
Hashes for python_scf-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3dcc9eb540f92954ba834aecfc981a94c15d486542f326ac7e8a9eeeaeb1d5c9 |
|
MD5 | c070eb3e1cc86e04fa372cec0abfdcdd |
|
BLAKE2b-256 | 14ebae38b97936d9d5ee4d76f165db3c87e0ca834d8ce9a09cde9144c255f54a |