42Crunch

Categories

Dynamic Application Security Testing (DAST)

Import Options

API Import

UI Import

Universal Importer (Pro)

File Types

JSON

Integrations

42Crunch

42Crunch is an API security platform that provides automated security audit, protection, and testing capabilities specifically designed for REST and GraphQL APIs throughout the development lifecycle. The tool performs comprehensive OpenAPI specification analysis, API security testing, and runtime protection to identify vulnerabilities such as authentication flaws, injection attacks, and configuration issues before APIs reach production.

42Crunch Integration with DefectDojo

If your team runs 42Crunch Audit or Conformance Scan as part of your CI/CD pipeline, you're already generating structured, API-specific security findings. The question is what happens to them after the build completes. Piping those results into DefectDojo gives you something the raw 42Crunch report doesn't: a persistent, deduplicated record of API vulnerabilities across every service, every sprint, and every team — with the ability to track remediation status, assign findings to engineers, enforce SLAs, and report on API security posture over time.

42Crunch is purpose-built for API security. It covers both static analysis of OpenAPI/Swagger contract definitions (Audit) and dynamic conformance testing against live API endpoints (Conformance Scan). Neither tool has a general-purpose vuln management layer built in. DefectDojo provides exactly that layer.

Why 42Crunch Matters

API security is not a subset of general application security. Misconfigurations in an OpenAPI contract — weak authentication schemes, missing input validation, permissive response schemas — don't show up in SAST or SCA tools. They require a tool that reads the API contract itself and understands how the implementation is supposed to behave.

Without a vulnerability management platform, 42Crunch results stay siloed inside CI pipeline logs or the 42Crunch Platform UI. You lose trend visibility, remediation tracking, and any audit trail the moment a pipeline reruns.

Advantages of This Integration

How This Integration Works

42Crunch outputs findings in JSON and SARIF formats. DefectDojo supports import of 42Crunch Audit results natively via its 42Crunch Audit parser (scan type: 42Crunch Audit). Conformance Scan results can be imported using the generic SARIF parser or as JSON reports via the API.

Step 1 — Export findings from 42Crunch. In CI/CD, configure your 42Crunch GitHub Action, GitLab CI step, or Jenkins plugin to export results as JSON or SARIF. For Audit:

name:Run42CrunchAudit
uses:42Crunch/api-security-audit-action@v4
with:
  upload-to-code-scanning: false
  sarif-report: 42crunch-audit.sarif
  export-as-pdf: false
  log-level: info

For a JSON export of the audit report, use the --json-report flag via the 42Crunch CLI or configure the action to produce the JSON artifact. Step 2 — Import into DefectDojo. Use the DefectDojo import API or the web UI to create a new Test under the relevant Engagement for your API product.

curl -X POST https://<your-defectdojo>/api/v2/import-scan/ \
  -H "Authorization: Token <your-token>" \
  -F "scan_type=42Crunch Audit" \
  -F "file=@42crunch-audit.json" \
  -F "engagement=<engagement-id>" \
  -F "product_name=<your-api-product>"

For Conformance Scan results, use scan_type=SARIF if importing SARIF output, or pipe the JSON report through a pre-processing script that maps findings to DefectDojo's generic format. Step 3 — Automate as part of CI/CD. Add the DefectDojo import step as a post-step in your pipeline, after 42Crunch completes. This ensures every scan run produces a corresponding test record in DefectDojo with full finding detail and timestamps. Use the close_old_findings=true parameter to automatically mark findings as resolved when they no longer appear in subsequent scans.

Data Granularity: What Gets Imported

The following fields are captured from 42Crunch Audit JSON reports and surfaced in DefectDojo findings:

Field Source Notes
Title Issue name from 42Crunch check Includes the specific rule identifier (e.g., authentication-scheme-missing)
Severity Critical / High / Medium / Low / Info Mapped from 42Crunch's severity scale
Description Issue explanation from audit report Includes what the issue is and why it matters
Mitigation Remediation guidance 42Crunch provides per-issue fix guidance
OWASP Category OWASP API Security Top 10 mapping Both 2019 and 2023 categories available
File Path Location in the OpenAPI definition file JSON path within the spec (e.g., /paths/~1users/get/security)
API Audit Score Composite 0–100 score per API Importable as a test metadata field
Issue ID 42Crunch rule ID Usable as unique_id_from_tool for deduplication
Check Category Security / Data Validation / OpenAPI Format Maps to audit sub-score category
Exploit Scenario Contextual exploitation description Included in issue details for higher-severity findings
References Links to 42Crunch API Security Encyclopedia Per-finding documentation links

For Conformance Scan results, additional fields are available:

Field Source Notes
HTTP Method The API operation tested GET, POST, PUT, DELETE, etc.
API Path Endpoint path from OpenAPI definition e.g., /api/v1/orders/{id}
Test Type Happy path / negative test / fuzzing Indicates how the finding was triggered
Response Code Actual vs. expected HTTP status code Useful for schema conformance findings
OWASP API Top 10 Mapped vulnerability category e.g., API3:2023 Broken Object Property Level Authorization

Use Cases

Operational Tips

Normalize severity before import if needed. 42Crunch's severity scale (Critical, High, Medium, Low, Info) maps cleanly to DefectDojo's model. No pre-processing is required for Audit results using the native parser. For Conformance Scan JSON imports, verify that your import script maps severity strings consistently before pushing to DefectDojo.