Skip to content

Commit

Permalink
updated the adminActionNames check actions to remove ssm get document…
Browse files Browse the repository at this point in the history
…s and replace with ssm get parameters
  • Loading branch information
sethsec committed Sep 23, 2024
1 parent b31f367 commit e0dc71b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aws/iam-simulator.go
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ func (m *IamSimulatorModule) isPrincipalAnAdmin(principal *string) bool {
"iam:PutRolePolicy",
"iam:AttachRolePolicy",
"secretsmanager:GetSecretValue",
"ssm:GetDocument",
"ssm:GetParameters",
}
for {
SimulatePrincipalPolicy, err := m.IAMClient.SimulatePrincipalPolicy(
Expand Down

0 comments on commit e0dc71b

Please # to comment.