New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

python-scf

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

python-scf

A small tool to fetch informations about CVE from suse.com.

Source
pipPyPI
Version
0.4.1
Maintainers
1

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.

Keywords

suse

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts