Skip to content

Commit 109ff6c

Browse files
authored
Remove permission that already exist in v48 security audit policy (#126)
1 parent a40e918 commit 109ff6c

File tree

1 file changed

+4
-15
lines changed

1 file changed

+4
-15
lines changed

main.tf

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,7 @@ data "aws_iam_policy_document" "lacework_audit_policy" {
5050

5151
statement {
5252
sid = "EFS"
53-
actions = ["elasticfilesystem:DescribeFileSystemPolicy",
54-
"elasticfilesystem:DescribeLifecycleConfiguration",
55-
"elasticfilesystem:DescribeAccessPoints",
56-
"elasticfilesystem:DescribeAccountPreferences",
57-
"elasticfilesystem:DescribeBackupPolicy",
58-
"elasticfilesystem:ListTagsForResource",
59-
"elasticfilesystem:DescribeReplicationConfigurations"]
53+
actions = ["elasticfilesystem:ListTagsForResource"]
6054
resources = ["*"]
6155
}
6256

@@ -78,12 +72,8 @@ data "aws_iam_policy_document" "lacework_audit_policy" {
7872
statement {
7973
sid = "IDENTITYSTORE"
8074
actions = ["identitystore:DescribeGroup",
81-
"identitystore:DescribeGroupMembership",
82-
"identitystore:DescribeUser",
83-
"identitystore:ListGroupMemberships",
84-
"identitystore:ListGroupMembershipsForMember",
85-
"identitystore:ListGroups",
86-
"identitystore:ListUsers"]
75+
"identitystore:DescribeGroupMembership",
76+
"identitystore:DescribeUser"]
8777
resources = ["*"]
8878
}
8979

@@ -129,8 +119,7 @@ data "aws_iam_policy_document" "lacework_audit_policy" {
129119
sid = "GLUE"
130120
actions = ["glue:ListWorkflows",
131121
"glue:BatchGetWorkflows",
132-
"glue:GetWorkflow",
133-
"glue:GetTags"]
122+
"glue:GetWorkflow"]
134123
resources = ["*"]
135124
}
136125

0 commit comments

Comments
 (0)