Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
panther-bot committed Dec 17, 2024
1 parent f3d010c commit 63244c1
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions cloudformation/panther-deployment-role.yml
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,24 @@ Resources:
- codebuild:UpdateProject
- codebuild:StartBuild
Resource: !Sub arn:${AWS::Partition}:codebuild:${AWS::Region}:${AWS::AccountId}:project/panther*
- Sid: PantherRedshiftProvisioning
Effect: Allow
Action:
- redshift-data:ExecuteStatement # used to set up permissions inside databases
- redshift-serverless:CreateNamespace
- redshift-serverless:CreateWorkgroup
- redshift-serverless:GetCredentials
- redshift-serverless:UpdateNamespace
- redshift-serverless:UpdateWorkgroup
- redshift-serverless:TagResource
Resource:
- !Sub arn:${AWS::Partition}:redshift-serverless:${AWS::Region}:${AWS::AccountId}:namespace/*
- !Sub arn:${AWS::Partition}:redshift-serverless:${AWS::Region}:${AWS::AccountId}:workgroup/*
- Sid: PantherRedshiftProvisioningDescribeStatement
Effect: Allow
Action:
- redshift-data:DescribeStatement # used to set up permissions inside databases
Resource: '*' # this action requires *
- Sid: PantherStateMachine
Effect: Allow
Action:
Expand All @@ -225,6 +243,8 @@ Resources:
Resource:
- !Sub arn:${AWS::Partition}:events:${AWS::Region}:${AWS::AccountId}:rule/alert-search-rehydrate-api-rehydration-cron
- !Sub arn:${AWS::Partition}:events:${AWS::Region}:${AWS::AccountId}:rule/analysis-api-schedule-polling-cron
- !Sub arn:${AWS::Partition}:events:${AWS::Region}:${AWS::AccountId}:rule/compliance-aggregator-refresh-all-delete-cron
- !Sub arn:${AWS::Partition}:events:${AWS::Region}:${AWS::AccountId}:rule/compliance-aggregator-refresh-all-no-delete-cron
- !Sub arn:${AWS::Partition}:events:${AWS::Region}:${AWS::AccountId}:rule/detection-processor-poll-cron
- !Sub arn:${AWS::Partition}:events:${AWS::Region}:${AWS::AccountId}:rule/enrichment-api-prune-generations-cron
- !Sub arn:${AWS::Partition}:events:${AWS::Region}:${AWS::AccountId}:rule/enrichment-api-sync-all-profile-pullers-cron
Expand Down

0 comments on commit 63244c1

Please sign in to comment.