-f, --format <FORMAT> | Output format: text, json, markdown, sarif, gitlab-sast, junit, csv, xml, yaml, html, cyclonedx. |
-o, --output <FILE> | Write the report to a file. The format is inferred from the extension unless --format is set. |
--json | Shorthand for --format json. |
--debug | Print per-file scan diagnostics (candidates, findings, totals) to stderr. |
--list-rules | Print every built-in rule (id, severity, title) and exit. |
--rules-json | Print the full rule catalog with compliance metadata as JSON and exit. This is the source the documentation site is generated from. |
--self-test | Validate every built-in rule against its own positive and negative examples and exit. |
--github-comment | Post a sticky summary comment and inline comments on the current GitHub pull request. See CI/CD integration. |
--gitlab-comment | Post a sticky summary comment and inline comments on the current GitLab merge request. See CI/CD integration. |
--version | Print the version. |