From 9b4f8a89168d3f02cce7542421ddb0d543bae4b9 Mon Sep 17 00:00:00 2001 From: Shawn Huckabay Date: Thu, 31 Oct 2024 12:48:14 -0500 Subject: [PATCH] POL-1408 AWS Account Credentials Meta Not Spawning Children (#2800) * update * fix * update * fix * update * fix * update * update * update * update --- automation/aws/aws_account_credentials/CHANGELOG.md | 4 ++++ .../aws/aws_account_credentials/aws_account_credentials.pt | 2 +- .../aws_account_credentials_meta_parent.pt | 4 ++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/automation/aws/aws_account_credentials/CHANGELOG.md b/automation/aws/aws_account_credentials/CHANGELOG.md index 74a3156afd..555b30f2ae 100644 --- a/automation/aws/aws_account_credentials/CHANGELOG.md +++ b/automation/aws/aws_account_credentials/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## v0.1.2 + +- Fixed issue in meta policy that would prevent child policies from being created + ## v0.1.1 - Minor code improvements to conform with current standards. Functionality unchanged. diff --git a/automation/aws/aws_account_credentials/aws_account_credentials.pt b/automation/aws/aws_account_credentials/aws_account_credentials.pt index 932dcdd500..0df7ffebb2 100644 --- a/automation/aws/aws_account_credentials/aws_account_credentials.pt +++ b/automation/aws/aws_account_credentials/aws_account_credentials.pt @@ -7,7 +7,7 @@ category "Cost" severity "low" default_frequency "daily" info( - version: "0.1.1", + version: "0.1.2", provider: "AWS", service: "IAM", policy_set: "Authentication", diff --git a/automation/aws/aws_account_credentials/aws_account_credentials_meta_parent.pt b/automation/aws/aws_account_credentials/aws_account_credentials_meta_parent.pt index 9f795512d2..a0fc6b4098 100644 --- a/automation/aws/aws_account_credentials/aws_account_credentials_meta_parent.pt +++ b/automation/aws/aws_account_credentials/aws_account_credentials_meta_parent.pt @@ -7,7 +7,7 @@ category "Meta" default_frequency "15 minutes" info( provider: "AWS", - version: "0.1.1", # This version of the Meta Parent Policy Template should match the version of the Child Policy Template as it appears in the Catalog for best reliability + version: "0.1.2", # This version of the Meta Parent Policy Template should match the version of the Child Policy Template as it appears in the Catalog for best reliability publish: "false", deprecated: "false" ) @@ -141,7 +141,7 @@ script "js_child_policy_options", type: "javascript" do // Filter Options that are not appropriate for Child Policy var options = _.map(ds_self_policy_information.options, function(option){ // param_combined_incident_email, param_dimension_filter_includes, param_dimension_filter_excludes, param_policy_schedule are exclusion to Meta Parent Policy Parameters - if (!_.contains(["param_combined_incident_email", "param_combined_incident_email_passed", "param_combined_incident_email_failed", "param_combined_incident_email_unknown", "param_dimension_filter_includes", "param_dimension_filter_excludes", "param_policy_schedule", "param_template_source"], option.name)) { + if (!_.contains(["param_combined_incident_email", "param_combined_incident_email_passed", "param_combined_incident_email_failed", "param_combined_incident_email_unknown", "param_combined_incident_email_child", "param_dimension_filter_includes", "param_dimension_filter_excludes", "param_policy_schedule", "param_template_source"], option.name)) { return { "name": option.name, "value": option.value }; } });