Skip to main content

CLI Wrapper for DefectDojo using APIv2

Project description

DefectDojo CLI

License

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


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)

Uploaded Source

Built Distribution

defectdojo_cli2-0.1.5-py3-none-any.whl (21.9 kB view hashes)

Uploaded Python 3

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