mirror of
https://github.com/ghndrx/prowler.git
synced 2026-02-13 00:05:04 +00:00
chore(iam): add IAM privilege escalation cases (#2921)
This commit is contained in:
@@ -20,6 +20,8 @@ from prowler.providers.aws.services.iam.iam_client import iam_client
|
||||
class iam_policy_allows_privilege_escalation(Check):
|
||||
def execute(self) -> Check_Report_AWS:
|
||||
privilege_escalation_policies_combination = {
|
||||
"OverPermissiveIAM": {"iam:*"},
|
||||
"IAMPut": {"iam:Put*"},
|
||||
"CreatePolicyVersion": {"iam:CreatePolicyVersion"},
|
||||
"SetDefaultPolicyVersion": {"iam:SetDefaultPolicyVersion"},
|
||||
"iam:PassRole": {"iam:PassRole"},
|
||||
|
||||
Reference in New Issue
Block a user