upload_to_defectdojo
Upload a SARIF report to a DefectDojo engagement to import static analysis findings for tracking and management.
Instructions
Upload a SARIF report to a DefectDojo engagement.
Requires the DEFECTDOJO_URL and DEFECTDOJO_API_KEY environment variables.
Generate the SARIF file first with export_sarif(output_path=...).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sarif_path | Yes | Path to a SARIF file produced by `export_sarif`. | |
| engagement_id | Yes | Numeric ID of the target DefectDojo engagement. | |
| active | No | Mark imported findings as active. | |
| verified | No | Mark imported findings as verified. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |