def rule(event):
    if all(
        [
            event.deep_get("Image", default="").endswith("\\sqlcmd.exe"),
            "SELECT" in event.deep_get("CommandLine", default=""),
            "TOP" in event.deep_get("CommandLine", default=""),
            "[VeeamBackup].[dbo].[Credentials]" in event.deep_get("CommandLine", default=""),
        ]
    ):
        return True
    return False
