Skip to content
Snippets Groups Projects

WIP: Resolve "detect-secrets does not detect secrets in subdirectories"

1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -23,7 +23,7 @@ while [ -n "$1" ]; do
done
if [ ${OPT} = "scan" ]; then
OUTPUT=`/usr/local/bin/detect-secrets scan --base64-limit ${ENTROPY}`
OUTPUT=`/usr/local/bin/detect-secrets scan --base64-limit ${ENTROPY} ./*`
echo ${OUTPUT} | jq
RESULT=`echo ${OUTPUT} | jq '.results | length == 0'`
if [ "${RESULT}" = "true" ]; then
Loading