Skip to main content

The CVEs CLI

Project description

Installation instructions

Prerequisities

  • Python 3.12 or higher
  • UV CLI

Once the cli is published to PyPi, install it using pip:

pip install the_cves_cli

Otherwise meanwhile one needs to clone the repo, build and install from local:

  1. uv build
  2. Install it from local uv pip install /Users/user/the-cves/dist/the_cves_cli-0.1.1-py3-none-any.whl

Running the CLI

the-cves-cli --help

Env variables required

THE_CVES_CLI_HOST=<host of the cves backend>
THE_CVES_CLI_USERNAME=<user name of the app>
THE_CVES_CLI_API_KEY=<the cves app token>
THE_CVES_CLI_CONFLUENCE_DOMAIN=<confluence domain>
THE_CVES_CLI_CONFLUENCE_TOKEN=<confluence token>
THE_CVES_CLI_CONFLUENCE_USER=<confluence user>

example for cli commands: running a new CVE report (from the repo root path):

PYTHONPATH=$(pwd) python the_cves_cli/the_cves_cli/main.py run_report <product-id> <release-id> <confluence-space-key> --image-id=<image-id-value> --cve=<cve-value>

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

the_cves_cli-0.1.1.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

the_cves_cli-0.1.1-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file the_cves_cli-0.1.1.tar.gz.

File metadata

  • Download URL: the_cves_cli-0.1.1.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.15

File hashes

Hashes for the_cves_cli-0.1.1.tar.gz
Algorithm Hash digest
SHA256 0b6301c4b30fc86029bf7874fbf1c24c0b88fd237a1e7756e4cc84dead8bfb80
MD5 80c5c4781f6cd5515779eaf4179719c3
BLAKE2b-256 545e60ba0ad73e403dd4f9242a9ec0bc429b07603a58cc100c7c3a42e76290f9

See more details on using hashes here.

File details

Details for the file the_cves_cli-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: the_cves_cli-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.15

File hashes

Hashes for the_cves_cli-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2813f41e79d82813800c433c723784e6e49de15033eb18ba0be0b0ca37808c88
MD5 66b68c0df37fcfcab8ba0226989d0fed
BLAKE2b-256 fd7d9ac7f99beaaf1330f999597b5065af89031d18ce7724a26fb7f17ce0f4e2

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page