Skip to content

Commit

Permalink
Restrict log access (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
archana1296 authored Jun 26, 2024
1 parent c13e0d2 commit 35c4a06
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions iam_policies/SCVProvisioningPolicy.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,18 @@
"Effect": "Allow",
"Action": [
"ds:*",
"logs:*",
"logs:DescribeLogGroups",
"lambda:GetEventSourceMapping",
"kms:CreateKey"
],
"Resource": "*"
},
{
"Sid": "LogsAccess",
"Effect": "Allow",
"Action": "logs:*",
"Resource": "arn:aws:logs:*:<AWS_ACCOUNT_ID>:log-group:*scvbyoaaccesscloudwatchloggroup*"
},
{
"Sid": "EventsAccess",
"Effect": "Allow",
Expand Down Expand Up @@ -218,4 +224,4 @@
]
}
]
}
}

0 comments on commit 35c4a06

Please sign in to comment.