From 03ed1dfa541274ecb304db3f4d9dd78c7b5a5580 Mon Sep 17 00:00:00 2001 From: Thirumalesh Aaraveti Date: Tue, 26 Mar 2024 17:31:41 +0530 Subject: [PATCH] Added the ALERT_DRY_RUN to the podman container --- jenkins/tenant/aws/common/run_policies.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jenkins/tenant/aws/common/run_policies.py b/jenkins/tenant/aws/common/run_policies.py index 5bcc51dd..2459b58d 100644 --- a/jenkins/tenant/aws/common/run_policies.py +++ b/jenkins/tenant/aws/common/run_policies.py @@ -117,4 +117,4 @@ def run_policies(policies: list, dry_run: str = 'yes'): # Run the AggMail -run_cmd(f"""podman run --rm --name cloud-governance-haim --net="host" -e account="{account_name}" -e policy="send_aggregated_alerts" -e AWS_ACCESS_KEY_ID="{access_key}" -e AWS_SECRET_ACCESS_KEY="{secret_key}" -e LDAP_HOST_NAME="{LDAP_HOST_NAME}" -e log_level="INFO" -e es_host="{ES_HOST}" -e es_port="{ES_PORT}" -e ADMIN_MAIL_LIST="{ADMIN_MAIL_LIST}" {CLOUD_GOVERNANCE_IMAGE}""") +run_cmd(f"""podman run --rm --name cloud-governance-haim --net="host" -e account="{account_name}" -e policy="send_aggregated_alerts" -e AWS_ACCESS_KEY_ID="{access_key}" -e AWS_SECRET_ACCESS_KEY="{secret_key}" -e LDAP_HOST_NAME="{LDAP_HOST_NAME}" -e log_level="INFO" -e es_host="{ES_HOST}" -e es_port="{ES_PORT}" -e ADMIN_MAIL_LIST="{ADMIN_MAIL_LIST}" -e ALERT_DRY_RUN="{ALERT_DRY_RUN}" {CLOUD_GOVERNANCE_IMAGE}""")