Skip to content

af scan

Show the secret-scan findings for a change

Before a change lands, the forge scans its submitted commit for secrets. This lists each finding’s rule, file and line, and the SHA-256 of the secret found, never the secret itself, and how a secret found only once decoded was encoded. If you may not read every folder the change touches, it lists only what you may read, and says the view is partial.

Usage

af scan [OPTIONS] [CHANGE]

Arguments

  • [CHANGE]

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

Options

  • --json

    Print the scan as one JSON object, for a program to read

Global options

Every af command also takes the global options.

Examples

af scan

Type to search…

↑↓ navigate↵ selectEsc close