def rule(event):
    if all(
        [
            any(
                [
                    event.deep_get("Image", default="").endswith("\\tracker.exe"),
                    event.deep_get("Description", default="") == "Tracker",
                ]
            ),
            any(
                [
                    " /d " in event.deep_get("CommandLine", default=""),
                    " /c " in event.deep_get("CommandLine", default=""),
                ]
            ),
            not any(
                [
                    " /ERRORREPORT:PROMPT " in event.deep_get("CommandLine", default=""),
                    any(
                        [
                            event.deep_get("ParentImage", default="").endswith(
                                "\\Msbuild\\Current\\Bin\\MSBuild.exe"
                            ),
                            event.deep_get("ParentImage", default="").endswith(
                                "\\Msbuild\\Current\\Bin\\amd64\\MSBuild.exe"
                            ),
                        ]
                    ),
                ]
            ),
        ]
    ):
        return True
    return False
