def rule(event):
    if any(
        [
            event.deep_get("Image", default="").endswith("\\DumpStack.log"),
            " -o DumpStack.log" in event.deep_get("CommandLine", default=""),
        ]
    ):
        return True
    return False
