Skip to content

Commit

Permalink
fix(RAIN-93896): Add permisssions for three ApiGateway resources (#100)
Browse files Browse the repository at this point in the history
* addApiGatewayPermission

* fixSdkTypes

* domainnames
  • Loading branch information
jjzhangjjzhang authored Oct 8, 2024
1 parent 681ea7a commit cef9183
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,16 @@ data "aws_iam_policy_document" "lacework_audit_policy" {
statement {
sid = "APIGATEWAY"
actions = ["apigateway:GET"]
resources = ["arn:aws:apigateway:*::/apikeys", "arn:aws:apigateway:*::/apikeys/*"]
resources = ["arn:aws:apigateway:*::/apikeys",
"arn:aws:apigateway:*::/apikeys/*",
"arn:aws:apigateway:*::/domainnames/*",
"arn:aws:apigateway:*::/domainnames/*/basepathmappings",
"arn:aws:apigateway:*::/domainnames/*/basepathmappings/*",
"arn:aws:apigateway:*::/usageplans",
"arn:aws:apigateway:*::/usageplans/*",
"arn:aws:apigateway:*::/sdktypes",
"arn:aws:apigateway:*::/sdktypes/*"
]
}

statement {
Expand Down

0 comments on commit cef9183

Please sign in to comment.