upload_to_defectdojo
Upload a SARIF security report to a DefectDojo engagement for centralized vulnerability tracking, with configurable active and verified status.
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=...).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"sarif_path": "<sarif_path>",
"engagement_id": "<engagement_id>"
},
"name": "upload_to_defectdojo"
}
}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 |