def rule(event):
    if all(
        [
            "MSSQL" in event.deep_get("Provider_Name", default=""),
            event.deep_get("EventID", default="") == 15457,
            "xp_cmdshell" in event.deep_get("Data", default=""),
        ]
    ):
        return True
    return False
