Skip to main content

Defect Dojo

This consumer pushes findings to a DefectDojo vulnerability management instance. Read more about DefectDojo here.

How to use

Open-Source

  1. Add the Helm package to the pipeline settings:
---
# file: ./my-pipeline/kustomization.yaml
kind: Kustomization
components:
- pkg:helm/smithy-security-oss-components/consumer-defectdojo
  1. Configure the run parameters of the component in the pipeline run file:
# file: ./my-pipeline/pipelinerun.yaml
---
...
spec:
params:
- name: consumer-defectdojo-api-url
value: <Your DefectDojo URL>
- name: consumer-defectdojo-token
value: <Your DefectDojo API token>
- name: consumer-defectdojo-user
value: <Your DefectDojo user>
- name: consumer-defectdojo-product-id
value: <Your DefectDojo product id>
- name: consumer-defectdojo-description-template
value: <Issue descruiption template>

SaaS

  1. In the Smithy UI, open the page to create a new workflow.
  2. Find the DefectDojo component in the Consumers dropdown.
  3. Click on the DefectDojo flow icon to bring the form to the top
  4. Fill the form on the right

Options

You can configure this component with the following options. The options that have a default value are optional:

Option NameDescriptionDefaultType
[Required] consumer-defectdojo-api-urlDomain where your DefectDojo workspace is hostedString
[Required] consumer-defectdojo-userThe system user who can post issues on DefectDojoString
[Required] consumer-defectdojo-tokenAPI token for access to DefectDojoString
[Required] consumer-defectdojo-product-idDefectDojo product ID if you want to create an engagement. Set as "" if not neededString
consumer-defectdojo-description-templatea Go Template string describing how to show Raw or Enriched issues""String