CLI Wrapper for DefectDojo using APIv2
Project description
DefectDojo CLI
A CLI wrapper for DefectDojo
Fork
This has been forked from https://github.com/adiffpirate/defectdojo-cli.
Installation
Simply run:
python3 -m pip install defectdojo-cli2
Usage
defectdojo --help
Development
poetry env use /usr/local/bin/python3 # = your full path to the Python executable.
poetry install
poetry run python3 defectdojo_cli2
WIP: DefectDojo for CI
The goal of this cli is not only to be used as a cli tool for accessing DefectDojo API, but also to be able to run automated jobs in a CI environment, like importing scans to DefectDojo.
We will publish a docker container when all needed basics are in place, to run DefectDojo CLI for this.
To use Defectdojo CLI in a CI context, there is DEFECTDOJO prefixed environment variables you could set. This, so you don't need to provide the arguments.
DEFECTDOJO_URL
DEFECTDOJO_API_KEY
DEFECTDOJO_PRODUCT_ID
DEFECTDOJO_ENGAGEMENT_ID
DEFECTDOJO_TEST_TYPE
DEFECTDOJO_USER_NAME
DEFECTDOJO_PASSWORD
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
defectdojo_cli2-0.1.5.tar.gz
(16.0 kB
view hashes)
Built Distribution
Close
Hashes for defectdojo_cli2-0.1.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 870068e233b01f9ca2a36cabb66395ee3c8d3252d449d500d61772fdf1325a26 |
|
MD5 | e89d9a39a589c03d19add9e55971dcb5 |
|
BLAKE2b-256 | 1f1a2f62102a45ff36bad3f3803061d3b8e48f4054dbd08171cc0e2b2fe785b9 |