Docs / Scanning

Scanning modes

Two presets — shallow and deep — with per-flag overrides. Both feed the same detection engine: 200+ compiled patterns, Shannon entropy, and contextual scoring composed into a 0–100 confidence.

Shallow vs. deep

 shallowdeep
MethodGitHub API, no cloneFull clone (GitPython/subprocess)
CoverageHEAD files · branch tips · CI/CD workflow filesComplete commit history, all branches
Concurrency10 repos in parallel5 repos in parallel, per-repo timeouts
Limits500 commits · 50 branches per repo (configurable)

Triggering scans

POST /scan/github/org     {"org": "acme-corp"}
POST /scan/github/repo    {"repo": "acme-corp/payments-api"}
POST /scan/github/repos   {"repos": ["acme-corp/a", "acme-corp/b"]}
# optional per-request: "token", "scan_type", per-flag overrides

Performance features

Source: radar_scanner/orchestration/ · scanning/ · .env.example (scanning section)

← DeploymentFindings & workflow →