All integrations

CredScan Integration with DefectDojo

CredScan (Credential Scanner) is a static analysis tool developed by Microsoft that scans source code, configuration files, and build outputs to detect credential leaks including hardcoded passwords, SQL connection strings, API keys, certificates with private keys, storage access keys, and other sensitive information that could pose security risks. The tool is available as part of the Microsoft Security Code Analysis extension for Azure DevOps and as a Code Analyzer in Visual Studio, providing automated detection with customizable rule sets and suppression capabilities to prevent accidental exposure of secrets in code repositories.

Data Granularity: What Gets Imported

The following fields are captured from CredScan 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": "CredScan",
  "engagement": "<engagement-id>",
  "file": "results.json"
}