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/stable/
⭐️ 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
# watch for new CVE
scf cve watch
# 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.4.1.tar.gz
(23.2 kB
view details)
Built Distribution
File details
Details for the file python-scf-0.4.1.tar.gz
.
File metadata
- Download URL: python-scf-0.4.1.tar.gz
- Upload date:
- Size: 23.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d5f6f45c43568318747a18237bc8c5bae3c13a4ca9753114b7653852222c989a |
|
MD5 | a24da5cbf91cf15230e57c6e493f4d3b |
|
BLAKE2b-256 | 4231f4deab50aea6eb2a5ae6ad77a63fc11f3e953e5694ea57c31047e2d807d1 |
File details
Details for the file python_scf-0.4.1-py3-none-any.whl
.
File metadata
- Download URL: python_scf-0.4.1-py3-none-any.whl
- Upload date:
- Size: 25.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6dd9246ad9e41b0631a37fe4e99b10394defffab1a358e001fa54a65938dca3c |
|
MD5 | 2f2508cb1259cea65beeb79072f5886e |
|
BLAKE2b-256 | dcf7bd3c249d1fd895640129dde793540dddf295066de1676ce52e88388d6655 |