mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-07-24 21:11:53 +00:00
Added Shield actions GetSubscriptionState and DescribeProtection
This commit is contained in:
@@ -11,7 +11,9 @@
|
||||
"lambda:GetFunction",
|
||||
"glue:GetConnections",
|
||||
"glue:SearchTables",
|
||||
"s3:GetAccountPublicAccessBlock"
|
||||
"s3:GetAccountPublicAccessBlock",
|
||||
"shield:GetSubscriptionState",
|
||||
"shield:DescribeProtection"
|
||||
],
|
||||
"Resource": "*",
|
||||
"Effect": "Allow",
|
||||
|
||||
@@ -193,6 +193,8 @@ Resources:
|
||||
- support:Describe*
|
||||
- tag:GetTagKeys
|
||||
- lambda:GetFunction
|
||||
- shield:GetSubscriptionState
|
||||
- shield:DescribeProtection
|
||||
Effect: Allow
|
||||
Resource: !Sub 'arn:aws:glue:${AWS::Region}:${AWS::AccountId}:catalog'
|
||||
- PolicyName: CodeBuild
|
||||
|
||||
@@ -96,6 +96,8 @@ Resources:
|
||||
- states:ListActivities
|
||||
- support:Describe*
|
||||
- tag:GetTagKeys
|
||||
- shield:GetSubscriptionState
|
||||
- shield:DescribeProtection
|
||||
- PolicyName: Prowler-S3-Reports
|
||||
PolicyDocument:
|
||||
Version: 2012-10-17
|
||||
|
||||
@@ -97,6 +97,8 @@ Resources:
|
||||
- states:ListActivities
|
||||
- support:Describe*
|
||||
- tag:GetTagKeys
|
||||
- shield:GetSubscriptionState
|
||||
- shield:DescribeProtection
|
||||
- PolicyName: Prowler-S3-Reports
|
||||
PolicyDocument:
|
||||
Version: 2012-10-17
|
||||
|
||||
@@ -320,6 +320,8 @@ resource "aws_iam_policy" "prowler_kickstarter_iam_policy" {
|
||||
"support:Describe*",
|
||||
"tag:GetTagKeys",
|
||||
"lambda:GetFunction"
|
||||
"shield:GetSubscriptionState",
|
||||
"shield:DescribeProtection"
|
||||
]
|
||||
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