def rule(event):
    if (
        event.deep_get("riskEventType", default="")
        == "rolesAssignedOutsidePrivilegedIdentityManagementAlertConfiguration"
    ):
        return True
    return False
