UPD: Added actions to high_risk_actions set
This commit is contained in:
+5
-1
@@ -338,7 +338,11 @@ printTitle(3, f"Roles to be examined: {len(confirmed_roles)}")
|
|||||||
# predefined actions which should not be granted
|
# predefined actions which should not be granted
|
||||||
high_risk_actions = {
|
high_risk_actions = {
|
||||||
"*",
|
"*",
|
||||||
"iam:*"
|
"iam:*",
|
||||||
|
"iam:CreateUser",
|
||||||
|
"iam:AttachUserPolicy",
|
||||||
|
"iam:CreateRole",
|
||||||
|
"iam:AttachRolePolicy"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Check inline policies for each role
|
# Check inline policies for each role
|
||||||
|
|||||||
Reference in New Issue
Block a user