mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-11-02 01:15:31 +00:00
changed outputs to the new ones
This commit is contained in:
1 parent
1acc6e45d0
commit
07b166baa9
81 files changed
+267
-267
No files matched your search
+4
-4
@@ -9,13 +9,13 @@ check112(){
|
||||
ROOTKEY1=$(cat $TEMP_REPORT_FILE |grep root_account|awk -F',' '{ print $9 }')
|
||||
ROOTKEY2=$(cat $TEMP_REPORT_FILE |grep root_account|awk -F',' '{ print $14 }')
|
||||
if [ "$ROOTKEY1" == "false" ];then
|
||||
textOK "No access key 1 found for root"
|
||||
textPass "No access key 1 found for root"
|
||||
else
|
||||
textWarn "Found access key 1 for root "
|
||||
textFail "Found access key 1 for root "
|
||||
fi
|
||||
if [ "$ROOTKEY2" == "false" ];then
|
||||
textOK "No access key 2 found for root"
|
||||
textPass "No access key 2 found for root"
|
||||
else
|
||||
textWarn "Found access key 2 for root "
|
||||
textFail "Found access key 2 for root "
|
||||
fi
|
||||
}
|
||||
Reference in new issue
Block a user