From 265c62b7f0466c953cd80e38fd1dc20a346a11c7 Mon Sep 17 00:00:00 2001 From: Jordan Acosta Date: Thu, 17 Oct 2024 18:00:41 -0700 Subject: [PATCH] feat(pkg/sandboxes): remove unused accounts from trust policy --- pkg/sandboxes/permissions/trust.go | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/pkg/sandboxes/permissions/trust.go b/pkg/sandboxes/permissions/trust.go index 2d36eaa..427751a 100644 --- a/pkg/sandboxes/permissions/trust.go +++ b/pkg/sandboxes/permissions/trust.go @@ -21,22 +21,6 @@ type Policy struct { var TrustPolicy = Policy{ Version: "2012-10-17", Statement: []Statement{ - { - Sid: "", - Effect: "Allow", - Principal: &Principal{ - AWS: "arn:aws:iam::676549690856:root", - }, - Action: []string{"sts:AssumeRole"}, - }, - { - Sid: "", - Effect: "Allow", - Principal: &Principal{ - AWS: "arn:aws:iam::007754799877:root", - }, - Action: []string{"sts:AssumeRole"}, - }, { Sid: "", Effect: "Allow", @@ -45,14 +29,6 @@ var TrustPolicy = Policy{ }, Action: []string{"sts:AssumeRole"}, }, - { - Sid: "", - Effect: "Allow", - Principal: &Principal{ - AWS: "arn:aws:iam::766121324316:root", - }, - Action: []string{"sts:AssumeRole"}, - }, }, }