mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-10-28 14:24:26 +00:00
checks for glue - 7119, 7121, 7123,7124,7125
This commit is contained in:
1 parent
e0a8e0f318
commit
ebe2594456
2 files changed
+3
-3
No files matched your search
@@ -33,7 +33,7 @@ CHECK_ALTERNATE_check7124="extra7124"
|
||||
extra7124(){
|
||||
textInfo "Looking for ETL Jobs in all regions... "
|
||||
for regx in $REGIONS; do
|
||||
LIST_GLUE_SC=$($AWSCLI glue get-jobs $PROFILE_OPT --region $regx --query 'Jobs[*].SecurityConfiguration'--output text)
|
||||
LIST_GLUE_SC=$($AWSCLI glue get-jobs $PROFILE_OPT --region $regx --query 'Jobs[*].SecurityConfiguration' --output text)
|
||||
if [[ $LIST_GLUE_SC ]]; then
|
||||
for sc in $(echo '${LIST_GLUE_SC}'| jq -r '.[] | @base64');do
|
||||
textInfo "$ENDPOINT_SECURITY"
|
||||
@@ -45,7 +45,7 @@ extra7124(){
|
||||
fi
|
||||
done
|
||||
else
|
||||
textInfo "$regx: No ETL Development endpoints found" "$regx"
|
||||
textInfo "$regx: No ETL Jobs found" "$regx"
|
||||
fi
|
||||
done
|
||||
}
|
||||
@@ -43,7 +43,7 @@ extra7125(){
|
||||
fi
|
||||
done
|
||||
else
|
||||
textInfo "$regx: No Security Configuration found" "$regx"
|
||||
textInfo "$regx: No Private Addresses for endpoints found" "$regx"
|
||||
fi
|
||||
done
|
||||
}
|
||||
Reference in new issue
Block a user