All integrations

CodeQL Integration with DefectDojo

CodeQL is a semantic code analysis engine developed by GitHub that enables developers and security researchers to query source code as data to discover vulnerabilities, perform variant analysis, and automate security checks across codebases. CodeQL supports multiple programming languages and frameworks, allowing organizations to write custom queries to identify security flaws, eradicate vulnerability variants, and integrate automated static application security testing (SAST) into continuous integration and deployment workflows.

Data Granularity: What Gets Imported

The following fields are captured from CodeQL results and surfaced in DefectDojo findings:

FieldSourceNotes
TitleFinding name from the scanMatched to the tool's own naming
SeverityCritical / High / Medium / Low / InfoMapped from the tool's own severity scale
DescriptionFinding detail from the reportIncludes what the issue is and why it matters
MitigationRemediation guidanceWhere 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": "CodeQL",
  "engagement": "<engagement-id>",
  "file": "results.json"
}