Skip to main content

PyPI - License Current version on PyPI Lint/Build codecov

Homedir

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.

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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

python_scf-0.4.1-py3-none-any.whl (25.1 kB view details)

Uploaded Python 3

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

Hashes for python-scf-0.4.1.tar.gz
Algorithm Hash digest
SHA256 d5f6f45c43568318747a18237bc8c5bae3c13a4ca9753114b7653852222c989a
MD5 a24da5cbf91cf15230e57c6e493f4d3b
BLAKE2b-256 4231f4deab50aea6eb2a5ae6ad77a63fc11f3e953e5694ea57c31047e2d807d1

See more details on using hashes here.

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

Hashes for python_scf-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6dd9246ad9e41b0631a37fe4e99b10394defffab1a358e001fa54a65938dca3c
MD5 2f2508cb1259cea65beeb79072f5886e
BLAKE2b-256 dcf7bd3c249d1fd895640129dde793540dddf295066de1676ce52e88388d6655

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.4.1 This release

2 files

0.4.0

2 files

0.3.0

2 files

0.2.2

2 files

0.2.1

2 files

0.2.0

2 files

0.1.6

2 files

0.1.5

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page