DocsReference
Exit codes
What each command returns, for scripts and pipelines that act on the result.
Scan
| Code | Meaning |
|---|---|
0 | No findings |
1 | Argument, path or runtime error |
2 | Findings detected |
A dry-run scan in a pull-request build fails the build on 2. See Pull-request gate in CI.
remediate and unfreeze
These return non-error for normal actions and 1 for validation or path failures. For strict automation around remediate --mark, parse the output text in addition to the exit code.
Unknown options
Every command rejects unknown options with a suggestion and changes nothing.