Skip to content

Commit d53c0d8

Browse files
Update rules/integrations/aws/privilege_escalation_sts_temp_creds_via_assume_role.toml
Co-authored-by: Ruben Groenewoud <[email protected]>
1 parent 538d8f9 commit d53c0d8

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

rules/integrations/aws/privilege_escalation_sts_temp_creds_via_assume_role.toml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -93,13 +93,14 @@ event.dataset: "aws.cloudtrail"
9393
and event.provider: "sts.amazonaws.com"
9494
and event.action: "AssumeRole"
9595
and event.outcome: "success"
96-
and not (aws.cloudtrail.user_identity.invoked_by: (
97-
"config.amazonaws.com" or
98-
"securityhub.amazonaws.com" or
99-
"sso.amazonaws.com"
100-
)
101-
)
102-
and not (aws.cloudtrail.resources.arn: (*Amazon* or *AWS* or *Elastic* or *Wiz* or *DataDog*))
96+
and not (
97+
aws.cloudtrail.user_identity.invoked_by: (
98+
"config.amazonaws.com" or
99+
"securityhub.amazonaws.com" or
100+
"sso.amazonaws.com"
101+
) or
102+
aws.cloudtrail.resources.arn: (*Amazon* or *AWS* or *Elastic* or *Wiz* or *DataDog*)
103+
)
103104
'''
104105

105106

0 commit comments

Comments
 (0)