Scan for secrets in your uncommitted code
git-changes
.
The git-changes
scans for uncommitted changes in a Git repository, and is especially designed for use on developer machines, aligning with the ‘shift left’ security approach.
When git-changes
is run on a Git repository, Infisical parses the output from a git diff
command.
To scan changes in commits that have been staged via git add
, you can add the --staged
flag to the sub command. This flag is particularly useful when using Infisical CLI as a pre-commit tool.
--staged
false
--log-opts
--baseline-path
-b
Descriptionpath to baseline with issues that can be ignored--config
-c
Descriptionconfig file pathorder of precedence:--exit-code
--max-target-megabytes
--no-color
--redact
--report-format
--report-path
--source
--verbose