mirror of
https://github.com/ghndrx/prowler.git
synced 2026-02-10 14:55:00 +00:00
Fix Shodan typo in -h usage text @jfagoagas
Fix Shodan typo in -h usage text @jfagoagas
This commit is contained in:
@@ -35,7 +35,7 @@ extra759(){
|
|||||||
if [[ $LIST_OF_FUNCTIONS ]]; then
|
if [[ $LIST_OF_FUNCTIONS ]]; then
|
||||||
for lambdafunction in $LIST_OF_FUNCTIONS;do
|
for lambdafunction in $LIST_OF_FUNCTIONS;do
|
||||||
LAMBDA_FUNCTION_VARIABLES_FILE="$SECRETS_TEMP_FOLDER/extra759-$lambdafunction-$regx-variables.txt"
|
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
|
if [ -s $LAMBDA_FUNCTION_VARIABLES_FILE ];then
|
||||||
# Implementation using https://github.com/Yelp/detect-secrets
|
# Implementation using https://github.com/Yelp/detect-secrets
|
||||||
FINDINGS=$(secretsDetector file $LAMBDA_FUNCTION_VARIABLES_FILE)
|
FINDINGS=$(secretsDetector file $LAMBDA_FUNCTION_VARIABLES_FILE)
|
||||||
|
|||||||
2
prowler
2
prowler
@@ -102,7 +102,7 @@ USAGE:
|
|||||||
-I External ID to be used when assuming roles (not mandatory), requires -A and -R
|
-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
|
-w whitelist file. See whitelist_sample.txt for reference and format
|
||||||
(i.e.: whitelist_sample.txt)
|
(i.e.: whitelist_sample.txt)
|
||||||
-N <shodan_api_key> Shoadan API key used by check extra7102.
|
-N <shodan_api_key> Shodan API key used by check extra7102.
|
||||||
-o Custom output directory, if not specified will use default prowler/output, requires -M <mode>
|
-o Custom output directory, if not specified will use default prowler/output, requires -M <mode>
|
||||||
(i.e.: -M csv -o /tmp/reports/)
|
(i.e.: -M csv -o /tmp/reports/)
|
||||||
-B Custom output bucket, requires -M <mode> and it can work also with -o flag.
|
-B Custom output bucket, requires -M <mode> and it can work also with -o flag.
|
||||||
|
|||||||
Reference in New Issue
Block a user