mirror of
https://github.com/ghndrx/prowler.git
synced 2026-02-13 16:44:59 +00:00
create check files
This commit is contained in:
7
include/awscli_detector
Normal file
7
include/awscli_detector
Normal file
@@ -0,0 +1,7 @@
|
||||
# AWS-CLI detector variable
|
||||
AWSCLI=$(which aws)
|
||||
if [ -z "${AWSCLI}" ]; then
|
||||
echo -e "\n$RED ERROR!$NORMAL AWS-CLI (aws command) not found. Make sure it is installed correctly and in your \$PATH\n"
|
||||
EXITCODE=1
|
||||
exit $EXITCODE
|
||||
fi
|
||||
Reference in New Issue
Block a user