Threat Composer Integration with DefectDojo
AWS Threat Composer is an open-source threat modeling tool developed by AWS Labs that helps security teams and architects reduce time-to-value when threat modeling by providing a structured framework to create threat statements aligned to threat grammar, generate human-readable and machine-readable threat models, and identify areas for quality and coverage improvement through an integrated Insights Dashboard. The tool integrates directly into Visual Studio Code through the AWS Toolkit extension and supports natural non-linear workflows with prescriptive threat statement structures, full threat statement examples, and reference threat models, enabling development teams to identify security issues early in the design phase and efficiently deliver secure workloads throughout the software development lifecycle.
Data Granularity: What Gets Imported
The following fields are captured from Threat Composer results and surfaced in DefectDojo findings:
| Field | Source | Notes |
|---|---|---|
| Title | Finding name from the scan | Matched to the tool's own naming |
| Severity | Critical / High / Medium / Low / Info | Mapped from the tool's own severity scale |
| Description | Finding detail from the report | Includes what the issue is and why it matters |
| Mitigation | Remediation guidance | Where the tool provides it |
Importing Into DefectDojo
Use the DefectDojo import API to create a new Test under the relevant Engagement for your product. The request body:
{
"scan_type": "Threat Composer",
"engagement": "<engagement-id>",
"file": "results.json"
}