Legitify Integration with DefectDojo
Legitify is an open-source source code management (SCM) security scanner developed by Legit Security that detects misconfigurations, security risks, and policy violations across GitHub and GitLab implementations by analyzing organizations, repositories, members, GitHub Actions, and runner groups against security best practices and compliance frameworks. The tool provides automated security assessment with detailed remediation guidance for issues such as weak two-factor authentication enforcement, inadequate code review requirements, overly permissive workflow permissions, exposed secrets, and insecure branch protection settings, enabling security teams and DevOps engineers to enforce secure configurations at scale through CLI integration, GitHub Actions, and OSSF Scorecard support.
Data Granularity: What Gets Imported
The following fields are captured from Legitify 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": "Legitify",
"engagement": "<engagement-id>",
"file": "results.json"
}