def rule(event):
    if all(
        [
            "MSSQL" in event.deep_get("Provider_Name", default=""),
            event.deep_get("EventID", default="") == 33205,
            "object_name:sysadmin" in event.deep_get("Data", default=""),
            "statement:alter server role [sysadmin] add member "
            in event.deep_get("Data", default=""),
        ]
    ):
        return True
    return False
