Core commands and flags used by teams to run scans locally and in CI/CD.
Re-render a saved findings JSON file to a different format without re-scanning.
fendix init detects the project's stack (Go, Python, Node.js, Ruby, Rust, Java/Kotlin, PHP) and any colocated OpenAPI/Swagger spec, then writes three files into the working directory: .github/workflows/fendix.yml (drop-in CI workflow), .fendix.yaml (commented policy starter — see schema reference), and .fendix-ignore (suppressions starter). Refuses to overwrite by default; pre-flight check is atomic across all three files.
fendix demo spins up bkimminich/juice-shop:v17.1.1 in Docker on localhost:3000, runs a stock fendix scan against it, and renders an HTML report. Container is always cleaned up on exit (success or failure). Useful for first-time evaluators who want to see a real scan without pointing fendix at production.
fendix scan \ --url https://api.example.com \ --spec ./openapi.yaml \ --code ./src \ --format html \ --fail-on HIGH
Runs both black-box and white-box analysis and correlates the results.
fendix scan \ --url https://api.example.com \ --enable-active \ --fail-on CRITICAL \ --save-baseline ./baseline.json
Enables SQLi, CMDi, and CRLF injection probes. Requires explicit authorization.
CLI behavior reflects backend contract and safety defaults.