diff --git a/detect-secrets/entrypoint.sh b/detect-secrets/entrypoint.sh index 0bbe5c0a73f1818f27daf14df44645754d3f4a2f..184a84f261208ef83130aaf275b3723d9103ed75 100644 --- a/detect-secrets/entrypoint.sh +++ b/detect-secrets/entrypoint.sh @@ -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