Keywords: Secrets Detection, SAST
brew install detect-secrets
pip3 install detect-secrets
#
pip3 install detect-secrets==1.0.3
detect-secrets -h
#
detect-secrets scan \
--list-all-plugins
# For 1.0.x
detect-secrets scan \
--all-files > \
./.secrets.baseline
# For 1.1.x
detect-secrets \
-C ./ \
scan \
--all-files > \
./.secrets.baseline