From 609a079d4f32d82f1bad70caa5561c466ad8ec1a Mon Sep 17 00:00:00 2001 From: Toni de la Fuente Date: Tue, 13 Sep 2016 16:14:35 -0400 Subject: [PATCH] Updated README --- README.md | 12 ++++++------ prowler.sh => prowler | 3 +-- 2 files changed, 7 insertions(+), 8 deletions(-) rename prowler.sh => prowler (99%) diff --git a/README.md b/README.md index 13827e2f..1b73eebc 100644 --- a/README.md +++ b/README.md @@ -44,33 +44,33 @@ arn:aws:iam::aws:policy/SecurityAudit 1 - Run the prowler.sh command without options: ``` -./prowler.sh +./prowler ``` 2 - For custom AWS-CLI profile and region use: ``` -./prowler.sh -p custom-profile -r us-east-1 +./prowler -p custom-profile -r us-east-1 ``` 3 - For a single check use option -c: ``` -./prowler.sh -c check310 +./prowler -c check310 ``` or for custom profile and region ``` -./prowler.sh -p custom-profile -r us-east-1 -c check11 +./prowler -p custom-profile -r us-east-1 -c check11 ``` Valid check numbers are like in the AWS CIS Benchmark guide, while 1.1 is check11 or 3.10 is check310 4 - For help use: ``` -./prowler.sh -h +./prowler -h USAGE: - prowler.sh -p -r [ -v ] [ -h ] + prowler -p -r [ -v ] [ -h ] Options: -p specify your AWS profile to use (i.e.: default) -r specify a desired AWS region to use (i.e.: us-east-1) diff --git a/prowler.sh b/prowler similarity index 99% rename from prowler.sh rename to prowler index 5002a5a3..05b811ea 100755 --- a/prowler.sh +++ b/prowler @@ -260,7 +260,6 @@ check13(){ done) # list of users that have used password USERS_PASSWORD_USED=$($AWSCLI iam list-users --query "Users[?PasswordLastUsed].UserName" --output text --profile $PROFILE --region $REGION) - echo -e "\n$TITLE13 " # look for users with a password last used more or equal to 90 days echo -e " User list: " @@ -270,7 +269,7 @@ check13(){ if [ $HOWOLDER -gt "90" ];then echo " $RED $i $NORMAL" else - echo " $OK OK $NORMAL" + echo " $OK OK, no users found with unused credentials for 90 days or greater $NORMAL" fi done }