diff --git a/checks/check_extra759 b/checks/check_extra759 index 15f73fcd..9bbf52ed 100644 --- a/checks/check_extra759 +++ b/checks/check_extra759 @@ -35,7 +35,7 @@ extra759(){ if [[ $LIST_OF_FUNCTIONS ]]; then for lambdafunction in $LIST_OF_FUNCTIONS;do LAMBDA_FUNCTION_VARIABLES_FILE="$SECRETS_TEMP_FOLDER/extra759-$lambdafunction-$regx-variables.txt" - LAMBDA_FUNCTION_VARIABLES=$($AWSCLI lambda $PROFILE_OPT --region $regx get-function-configuration --function-name $lambdafunction --query 'Environment.Variables' --output text > $LAMBDA_FUNCTION_VARIABLES_FILE) + LAMBDA_FUNCTION_VARIABLES=$($AWSCLI lambda $PROFILE_OPT --region $regx get-function-configuration --function-name $lambdafunction --query 'Environment.Variables' --output json > $LAMBDA_FUNCTION_VARIABLES_FILE) if [ -s $LAMBDA_FUNCTION_VARIABLES_FILE ];then # Implementation using https://github.com/Yelp/detect-secrets FINDINGS=$(secretsDetector file $LAMBDA_FUNCTION_VARIABLES_FILE) diff --git a/prowler b/prowler index 1bf40acd..b0d0d0ef 100755 --- a/prowler +++ b/prowler @@ -102,7 +102,7 @@ USAGE: -I External ID to be used when assuming roles (not mandatory), requires -A and -R -w whitelist file. See whitelist_sample.txt for reference and format (i.e.: whitelist_sample.txt) - -N Shoadan API key used by check extra7102. + -N Shodan API key used by check extra7102. -o Custom output directory, if not specified will use default prowler/output, requires -M (i.e.: -M csv -o /tmp/reports/) -B Custom output bucket, requires -M and it can work also with -o flag.