From ebe2594456ce90bc9413b5102bc7676d48e7f7c9 Mon Sep 17 00:00:00 2001 From: dlpzx Date: Mon, 9 Nov 2020 19:17:00 +0100 Subject: [PATCH] checks for glue - 7119, 7121, 7123,7124,7125 --- checks/check_extra7124 | 4 ++-- checks/check_extra7125 | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/checks/check_extra7124 b/checks/check_extra7124 index cdc814ba..66073203 100644 --- a/checks/check_extra7124 +++ b/checks/check_extra7124 @@ -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 } \ No newline at end of file diff --git a/checks/check_extra7125 b/checks/check_extra7125 index c5097c9c..fe50aac9 100644 --- a/checks/check_extra7125 +++ b/checks/check_extra7125 @@ -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 } \ No newline at end of file