2 Answers
- Newest
- Most votes
- Most comments
0
I managed to get it working, the problem was related to the detail-type in the eventBridge Rule as in this case we are not talking about a direct API Call but about an AWS Service Event.
The Correct EventBridge Rule
{
"source": ["aws.sso"],
"detail-type": ["AWS Service Event via CloudTrail"],
"detail": {
"eventSource": ["sso.amazonaws.com"],
"eventName": ["Federate"],
"serviceEventDetails": {
"role_name": ["AWSAdministratorAccess"]
}
}
}
answered a year ago
0
I do not see 'detail' & 'detail-type' objects defined in the sample event which you shared. Can you just try with this ?
{
"eventSource": ["sso.amazonaws.com"],
"eventName": ["Federate"]
}
answered a year ago
Relevant content
- Accepted Answerasked 7 months ago
- Accepted Answerasked 5 months ago
- Accepted Answerasked 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 7 months ago
I tried as suggested but unfortunately it didn't work