Skip to content

af clear

Clear a change's secret-scan findings so it can land

Reads every finding of the change’s scan, checks that what it read is what the forge’s record names, signs a clearance of exactly those results, and prints them. Requires the approver role, and that you may read every path the change touches. You can clear a change that you or your agents wrote, unless the forge requires another person; each such clearance is an exception in compliance reports.

Usage

af clear [OPTIONS] --reason <REASON> <CHANGE>

Arguments

  • <CHANGE>

    Change ID, or its start as af log shows it, or @ for the workspace’s change

Options

  • --reason <REASON>

    Why the change may land: for example a false positive, a value used only in tests, or a secret that has since been rotated

Global options

Every af command also takes the global options.

Examples

af clear kxqpzvom --reason "a test card number, not a real one"

Type to search…

↑↓ navigate↵ selectEsc close