diff --git a/tools/@aws-cdk/cfn-guard-custom-rules-tool/action.yml b/tools/@aws-cdk/cfn-guard-custom-rules-tool/action.yml index cd896594095de..b5408a70747f7 100644 --- a/tools/@aws-cdk/cfn-guard-custom-rules-tool/action.yml +++ b/tools/@aws-cdk/cfn-guard-custom-rules-tool/action.yml @@ -6,9 +6,12 @@ inputs: data_directory: description: "Path to CloudFormation templates" required: true + rule_set_path: + description: "Path to a single .guard file locally" + required: false rule_set_url: description: "URL to a single .guard file on GitHub" - required: true + required: false show_summary: description: "cfn-guard summary output. Options are all, pass, fail, skip or none" required: false diff --git a/tools/@aws-cdk/cfn-guard-custom-rules-tool/test/templates/CMCMK-Stack.template.json b/tools/@aws-cdk/cfn-guard-custom-rules-tool/test/templates/CMCMK-Stack.template.json index debd913dba322..41093f22e2f09 100644 --- a/tools/@aws-cdk/cfn-guard-custom-rules-tool/test/templates/CMCMK-Stack.template.json +++ b/tools/@aws-cdk/cfn-guard-custom-rules-tool/test/templates/CMCMK-Stack.template.json @@ -9,7 +9,7 @@ "Action": "sts:AssumeRole", "Effect": "Allow", "Principal": { - "Service": "lambda.amazonaws.com" + "Service": "lambda.amazonaws.com" } } ], diff --git a/tools/@aws-cdk/cfn-guard-custom-rules-tool/test/templates/StagingStack-default-resourcesmax-ACCOUNT-REGION.template.json b/tools/@aws-cdk/cfn-guard-custom-rules-tool/test/templates/StagingStack-default-resourcesmax-ACCOUNT-REGION.template.json index 057870eec4d5d..feced0a084881 100644 --- a/tools/@aws-cdk/cfn-guard-custom-rules-tool/test/templates/StagingStack-default-resourcesmax-ACCOUNT-REGION.template.json +++ b/tools/@aws-cdk/cfn-guard-custom-rules-tool/test/templates/StagingStack-default-resourcesmax-ACCOUNT-REGION.template.json @@ -16,7 +16,7 @@ [ "arn:", { - "Ref": "AWS::Partition" + "Ref": "AWS::Partition" }, ":iam::", { diff --git a/tools/@aws-cdk/cfn-guard-custom-rules-tool/test/templates/codepipelinenestedstackPipelineCrossRegionStack37C990C7.nested.template.json b/tools/@aws-cdk/cfn-guard-custom-rules-tool/test/templates/codepipelinenestedstackPipelineCrossRegionStack37C990C7.nested.template.json index 3d81160451042..f0474e10776d7 100644 --- a/tools/@aws-cdk/cfn-guard-custom-rules-tool/test/templates/codepipelinenestedstackPipelineCrossRegionStack37C990C7.nested.template.json +++ b/tools/@aws-cdk/cfn-guard-custom-rules-tool/test/templates/codepipelinenestedstackPipelineCrossRegionStack37C990C7.nested.template.json @@ -9,7 +9,7 @@ "Action": "sts:AssumeRole", "Effect": "Allow", "Principal": { - "Service": "codepipeline.amazonaws.com" + "Service": "codepipeline.amazonaws.com" } } ],