def rule(event):
    if all(
        [
            "verb:sync" in event.deep_get("CommandLine", default=""),
            "-source:RunCommand" in event.deep_get("CommandLine", default=""),
            "-dest:runCommand" in event.deep_get("CommandLine", default=""),
            event.deep_get("Image", default="").endswith("\\msdeploy.exe"),
        ]
    ):
        return True
    return False
