Dockle Integration with DefectDojo
Dockle is an open-source container image linter that performs automated security assessments of Docker and OCI-compliant container images by checking adherence to best practices defined in the CIS Docker Benchmark, identifying misconfigurations such as root users, missing health checks, exposed secrets, and incorrect Dockerfile instructions to help organizations build hardened, production-ready container images. The tool provides fast, zero-configuration security scanning with five severity levels and detailed remediation guidance, making it suitable for integration into CI/CD pipelines to enforce container security standards before deployment.
Data Granularity: What Gets Imported
The following fields are captured from Dockle 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": "Dockle",
"engagement": "<engagement-id>",
"file": "results.json"
}