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 logshows it, or@; the workspace’s change if omitted
Options
-
--jsonPrint the scan as one JSON object, for a program to read
Global options
Every af command also takes the global options.
Examples
af scan