Skip to content

Commit

Permalink
Merge pull request #2388 from cisagov/AL-add-scanExecution-permissions
Browse files Browse the repository at this point in the history
Add lambda permissions for SQS and ECS
  • Loading branch information
cduhn17 authored Nov 22, 2023
2 parents f8e0c19 + 5a87acf commit 99f769f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion backend/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ provider:
Action:
- ecs:RunTask
- ecs:ListTasks
- ecs:DescribeTasks
- ecs:DescribeServices
- ecs:UpdateService
- iam:PassRole
Resource: '*'
- Effect: Allow
Expand All @@ -65,7 +68,9 @@ provider:
- Effect: Allow
Action:
- sqs:ReceiveMessage
- sqs:DeleteMessage
- sqs:SendMessage
- sqs:GetQueueAttributes
Resource: '*'
- Effect: Allow
Action:
Expand Down Expand Up @@ -108,7 +113,6 @@ resources:
MaximumMessageSize: 262144 # 256 KB
MessageRetentionPeriod: 604800 # 7 days


functions:
- ${file(./src/tasks/functions.yml)}
- ${file(./src/api/functions.yml)}
Expand Down

0 comments on commit 99f769f

Please sign in to comment.