mirror of
https://github.com/ghndrx/prowler.git
synced 2026-02-13 00:05:04 +00:00
typo
(cherry picked from commit eb4f33642844a1e6150ea5c2862bc4f8fef4bb58)
This commit is contained in:
@@ -24,8 +24,6 @@ extra764(){
|
|||||||
|
|
||||||
# get bucket policy
|
# get bucket policy
|
||||||
$AWSCLI s3api get-bucket-policy $PROFILE_OPT --bucket $bucket --output text --query Policy > $TEMP_STP_POLICY_FILE 2>&1
|
$AWSCLI s3api get-bucket-policy $PROFILE_OPT --bucket $bucket --output text --query Policy > $TEMP_STP_POLICY_FILE 2>&1
|
||||||
cat $TEMP_STP_POLICY_FILE
|
|
||||||
cat $bucket
|
|
||||||
if [[ $(grep AccessDenied $TEMP_STP_POLICY_FILE) ]]; then
|
if [[ $(grep AccessDenied $TEMP_STP_POLICY_FILE) ]]; then
|
||||||
textFail "Access Denied Trying to Get Bucket Policy for $bucket"
|
textFail "Access Denied Trying to Get Bucket Policy for $bucket"
|
||||||
rm -f $TEMP_STP_POLICY_FILE
|
rm -f $TEMP_STP_POLICY_FILE
|
||||||
@@ -47,6 +45,7 @@ extra764(){
|
|||||||
textFail "Bucket $bucket allows requests over insecure transport"
|
textFail "Bucket $bucket allows requests over insecure transport"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
rm -fr $TEMP_STP_POLICY_FILE
|
rm -fr $TEMP_STP_POLICY_FILE
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user