Skip to content

Commit

Permalink
Remove permission that already exist in v48 security audit policy (#126)
Browse files Browse the repository at this point in the history
  • Loading branch information
LMAX-iwnf authored Jan 16, 2025
1 parent a40e918 commit 109ff6c
Showing 1 changed file with 4 additions and 15 deletions.
19 changes: 4 additions & 15 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,7 @@ data "aws_iam_policy_document" "lacework_audit_policy" {

statement {
sid = "EFS"
actions = ["elasticfilesystem:DescribeFileSystemPolicy",
"elasticfilesystem:DescribeLifecycleConfiguration",
"elasticfilesystem:DescribeAccessPoints",
"elasticfilesystem:DescribeAccountPreferences",
"elasticfilesystem:DescribeBackupPolicy",
"elasticfilesystem:ListTagsForResource",
"elasticfilesystem:DescribeReplicationConfigurations"]
actions = ["elasticfilesystem:ListTagsForResource"]
resources = ["*"]
}

Expand All @@ -78,12 +72,8 @@ data "aws_iam_policy_document" "lacework_audit_policy" {
statement {
sid = "IDENTITYSTORE"
actions = ["identitystore:DescribeGroup",
"identitystore:DescribeGroupMembership",
"identitystore:DescribeUser",
"identitystore:ListGroupMemberships",
"identitystore:ListGroupMembershipsForMember",
"identitystore:ListGroups",
"identitystore:ListUsers"]
"identitystore:DescribeGroupMembership",
"identitystore:DescribeUser"]
resources = ["*"]
}

Expand Down Expand Up @@ -129,8 +119,7 @@ data "aws_iam_policy_document" "lacework_audit_policy" {
sid = "GLUE"
actions = ["glue:ListWorkflows",
"glue:BatchGetWorkflows",
"glue:GetWorkflow",
"glue:GetTags"]
"glue:GetWorkflow"]
resources = ["*"]
}

Expand Down

0 comments on commit 109ff6c

Please sign in to comment.