mirror of
https://github.com/ghndrx/prowler.git
synced 2026-02-10 14:55:00 +00:00
committed by
GitHub
parent
679414418e
commit
1d409d04f2
@@ -196,6 +196,7 @@ Resources:
|
||||
- s3:GetAccountPublicAccessBlock
|
||||
- shield:GetSubscriptionState
|
||||
- shield:DescribeProtection
|
||||
- elasticfilesystem:DescribeBackupPolicy
|
||||
Effect: Allow
|
||||
Resource: !Sub 'arn:aws:glue:${AWS::Region}:${AWS::AccountId}:catalog'
|
||||
- PolicyName: CodeBuild
|
||||
|
||||
@@ -98,6 +98,7 @@ Resources:
|
||||
- tag:GetTagKeys
|
||||
- shield:GetSubscriptionState
|
||||
- shield:DescribeProtection
|
||||
- elasticfilesystem:DescribeBackupPolicy
|
||||
- PolicyName: Prowler-S3-Reports
|
||||
PolicyDocument:
|
||||
Version: 2012-10-17
|
||||
|
||||
@@ -99,6 +99,7 @@ Resources:
|
||||
- tag:GetTagKeys
|
||||
- shield:GetSubscriptionState
|
||||
- shield:DescribeProtection
|
||||
- elasticfilesystem:DescribeBackupPolicy
|
||||
- PolicyName: Prowler-S3-Reports
|
||||
PolicyDocument:
|
||||
Version: 2012-10-17
|
||||
|
||||
@@ -322,7 +322,8 @@ resource "aws_iam_policy" "prowler_kickstarter_iam_policy" {
|
||||
"glue:SearchTables",
|
||||
"s3:GetAccountPublicAccessBlock",
|
||||
"shield:GetSubscriptionState",
|
||||
"shield:DescribeProtection"
|
||||
"shield:DescribeProtection",
|
||||
"elasticfilesystem:DescribeBackupPolicy"
|
||||
]
|
||||
Effect = "Allow"
|
||||
Resource = "arn:aws:glue:${data.aws_region.current.name}:${data.aws_caller_identity.current.account_id}:catalog"
|
||||
|
||||
Reference in New Issue
Block a user