From ae0ef88f67a1a4d104056e63d91237c6fddd6e27 Mon Sep 17 00:00:00 2001 From: Jingjing Zhang Date: Wed, 13 Dec 2023 12:04:44 -0800 Subject: [PATCH] changetoStarMatch --- README.md | 2 +- main.tf | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 67ffe5b..8dd9fe1 100644 --- a/README.md +++ b/README.md @@ -102,7 +102,7 @@ The audit policy is comprised of the following permissions: | | sso:DescribeInstanceAccessControlAttributeConfiguration | | | | sso:GetInlinePolicyForPermissionSet | | | GLACIER | glacier:ListTagsForVault | * | -| APIGATEWAY | apigateway:GET | arn:aws:apigateway:*::/apikeys/* | | +| APIGATEWAY | apigateway:GET |* | | | WAFREGIONAL | waf-regional:ListRules | * | | | waf-regional:GetRule | | | | waf-regional:ListRuleGroups | | diff --git a/main.tf b/main.tf index 5fe1b35..823d9fb 100644 --- a/main.tf +++ b/main.tf @@ -94,7 +94,7 @@ data "aws_iam_policy_document" "lacework_audit_policy" { statement { sid = "APIGATEWAY" actions = ["apigateway:GET"] - resources = ["arn:aws:apigateway:*::/apikeys/*"] + resources = ["*"] } statement { @@ -102,7 +102,7 @@ data "aws_iam_policy_document" "lacework_audit_policy" { actions = ["glacier:ListTagsForVault"] resources = ["*"] } - + statement { sid = "WAFREGIONAL" actions = ["waf-regional:ListRules",