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:
uv build
- 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
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
the_cves_cli-0.1.5.tar.gz
(3.6 kB
view details)
Built Distribution
File details
Details for the file the_cves_cli-0.1.5.tar.gz
.
File metadata
- Download URL: the_cves_cli-0.1.5.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.4.27
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd818b302a3518fba62dfdf8d19c0a294937b9eb9f90d249ad970bd601c40b1c |
|
MD5 | a6a5bc00edccc3681f83dd7e0e2111fa |
|
BLAKE2b-256 | beb43eeb33da0ab3cbf85b85788a06804a719a433ad7f641035a4ce699f8defa |
File details
Details for the file the_cves_cli-0.1.5-py3-none-any.whl
.
File metadata
- Download URL: the_cves_cli-0.1.5-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.4.27
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a19a0ffeef4e9594c5833d4cdbd75257b61e5d2633da500c535f34424597e855 |
|
MD5 | 181ca5d2a14c51549fa1e3cdfb9ac04b |
|
BLAKE2b-256 | c9f44cc12af0f5b15443f613afa494a8ea71f0a3c4185b4ac4688efd47ce8a27 |