Skip to content

Commit a3ee462

Browse files
committed
SLK-99566 - Remove ECR Push Permissions from AWS CF Onboarding
removed the following permissions from all cloud formation stacks: - "ecr:PutImage" - "ecr:InitiateLayerUpload" - "ecr:UploadLayerPart" - "ecr:CompleteLayerUpload" all relevant places: - single deployment module * organization deploys stack from S3 which is defined in autoconnect project. Push permissions are not required by Aqua and are also not wanted by customers, and since no usage was found for them they are removed here.
1 parent 4ba04d2 commit a3ee462

File tree

1 file changed

+0
-4
lines changed
  • modules/single/modules/lambda

1 file changed

+0
-4
lines changed

modules/single/modules/lambda/main.tf

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -277,13 +277,9 @@ resource "aws_iam_role" "cspm_role" {
277277
"ecr:GetDownloadUrlForLayer",
278278
"ecr:BatchGetImage",
279279
"ecr:BatchCheckLayerAvailability",
280-
"ecr:PutImage",
281280
"ecr:ListImages",
282281
"ecr:DescribeImages",
283282
"ecr:GetRepositoryPolicy",
284-
"ecr:InitiateLayerUpload",
285-
"ecr:UploadLayerPart",
286-
"ecr:CompleteLayerUpload",
287283
"ecr:DescribeRepositories",
288284
"ecr:GetAuthorizationToken",
289285
"lambda:ListAliases",

0 commit comments

Comments
 (0)