KubeHunter Integration with DefectDojo
kube-hunter is an open-source Kubernetes penetration testing tool by Aqua Security that actively probes Kubernetes clusters to identify security weaknesses, misconfigurations, and vulnerabilities by simulating real-world attack vectors such as exposed APIs, insecure dashboards, compromised service accounts, and exploitable network policies from both internal and external perspectives. The tool supports passive and active hunting modes with customizable tests to detect open ports, weak access controls, privilege escalation paths, and potential attack surfaces, providing security teams with an attacker's perspective to proactively identify and remediate security gaps before they can be exploited in production environments.
Data Granularity: What Gets Imported
The following fields are captured from KubeHunter 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": "KubeHunter",
"engagement": "<engagement-id>",
"file": "results.json"
}