Improved extra734 checking enforce policy

This commit is contained in:
Toni de la Fuente
2018-11-06 00:17:00 -05:00
parent 29e142361b
commit 0dc2b9a081

View File

@@ -30,7 +30,7 @@ extra734(){
echo "$RESULT" | while read RBUCKET SSEALG; do
if [[ $SSEALG ]]; then
if [[ $CHECK_BUCKET_SSE_POLICY ]]; then
textPass "Bucket $RBUCKET has SSE enabled with algorithm $SSEALG and S3 policy enforce it"
textPass "Bucket $RBUCKET has SSE enabled with algorithm $SSEALG and S3 policy to enforce it"
else
# I'll leave it as Pass but to prevent uploads of unencrypted
# objects to Amazon S3 a policy to enforce it is required