mirror of
https://github.com/ghndrx/prowler.git
synced 2026-02-10 14:55:00 +00:00
checks for glue - 7119, 7121, 7123,7124,7125
This commit is contained in:
@@ -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