From fa474876e9c455bf47e7028ae040a3f4c6581e9d Mon Sep 17 00:00:00 2001 From: Toni de la Fuente Date: Wed, 28 Mar 2018 12:51:13 -0400 Subject: [PATCH] changed extra742 to FAIL if not default value --- checks/check_extra724 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/checks/check_extra724 b/checks/check_extra724 index 8c625485..c2cb2c58 100644 --- a/checks/check_extra724 +++ b/checks/check_extra724 @@ -12,13 +12,14 @@ extra724(){ CT_ENABLED=$($AWSCLI acm describe-certificate $PROFILE_OPT --region $regx --certificate-arn $cert_arn --query Certificate.Options.CertificateTransparencyLoggingPreference --output text) CERT_DOMAIN_NAME=$(aws acm describe-certificate $PROFILE_OPT --region $regx --certificate-arn $cert_arn --query Certificate.DomainName --output text) if [[ $CT_ENABLED == "ENABLED" ]];then - textInfo "$regx: ACM Certificate $CERT_DOMAIN_NAME has Certificate Transparency logging enabled!" "$regx" + textPass "$regx: ACM Certificate $CERT_DOMAIN_NAME has Certificate Transparency logging enabled!" "$regx" else - textPass "$regx: ACM Certificate $CERT_DOMAIN_NAME has Certificate Transparency logging disabled!" "$regx" + textWarn "$regx: ACM Certificate $CERT_DOMAIN_NAME has Certificate Transparency logging disabled!" "$regx" fi done else textInfo "$regx: No ACM Certificates found" "$regx" fi done + textInfo " Read more about this here: https://aws.amazon.com/blogs/security/how-to-get-ready-for-certificate-transparency/" }