diff --git a/README.md b/README.md index 342eadd..d10b05c 100644 --- a/README.md +++ b/README.md @@ -163,4 +163,8 @@ The audit policy is comprised of the following permissions: | | backup:DescribeProtectedResource | | | | backup:ListRecoveryPointsByResource | | | | backup:ListReportPlans | | -| | backup:ListRestoreJobs | | \ No newline at end of file +| | backup:ListRestoreJobs | | +| COGNITO-IDP | cognito-idp:GetSigningCertificate | | +| | cognito-idp:GetCSVHeader | | +| | cognito-idp:GetUserPoolMfaConfig | | +| | cognito-idp:GetUICustomization | | diff --git a/main.tf b/main.tf index df87f6b..455dac3 100644 --- a/main.tf +++ b/main.tf @@ -210,6 +210,16 @@ data "aws_iam_policy_document" "lacework_audit_policy" { ] resources = ["*"] } + + statement { + sid = "COGNITOIDP" + actions = ["cognito-idp:GetSigningCertificate", + "cognito-idp:GetCSVHeader", + "cognito-idp:GetUserPoolMfaConfig", + "cognito-idp:GetUICustomization", + ] + resources = ["*"] + } } resource "aws_iam_policy" "lacework_audit_policy" {