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
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.4.tar.gz
(15.7 kB
view hashes)
Built Distribution
Close
Hashes for defectdojo_cli2-0.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec3525f195dcafc2d7fe4707eee2124570873bf0ab809db365beaf64da4f640e |
|
MD5 | 85710ec64a0a71d8f7c5353d8f352799 |
|
BLAKE2b-256 | d5c04576edf112d3073ae8862a8bc470317062ba116896a3aacd893a9bff5043 |