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>
Metadata
Release files for the-cves-cli 0.1.10
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| the_cves_cli-0.1.10.tar.gz | 3.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| the_cves_cli-0.1.10-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.1 kB
Release files / the_cves_cli-0.1.10.tar.gz
| Download URL | the_cves_cli-0.1.10.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cd18ba11af27e8e284062e884082d304ec24d065edd45ae18434f70f8b707c54
|
|
BLAKE2b-256 checksum How to use checksums |
e18514732752bcf519ae2545ac3410dbc38237b660d0f68e58d43edf00e3a0e1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.4.30
|
Release files / the_cves_cli-0.1.10-py3-none-any.whl
| Download URL | the_cves_cli-0.1.10-py3-none-any.whl |
|---|---|
| Size | 5.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
95175a45da0bf9652f2769fa2d4c974ec82f8bb7302b8c3964fbdfa09b8c31eb
|
|
BLAKE2b-256 checksum How to use checksums |
512b238cbf8421897cce081105932c086496e41f256c08f002012d839c0a1c8b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.4.30
|