SecretSleuth Talk to IronTech

DocsReference

Exit codes

What each command returns, for scripts and pipelines that act on the result.

Scan

CodeMeaning
0No findings
1Argument, path or runtime error
2Findings 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.