def rule(event):
    if all(
        [
            any(
                [
                    " --buildcache " in event.deep_get("CommandLine", default=""),
                    " --bhdump " in event.deep_get("CommandLine", default=""),
                    " --certdump " in event.deep_get("CommandLine", default=""),
                    " --dnsdump " in event.deep_get("CommandLine", default=""),
                ]
            ),
            any(
                [
                    " -c " in event.deep_get("CommandLine", default=""),
                    " --cachefilename " in event.deep_get("CommandLine", default=""),
                    " -o " in event.deep_get("CommandLine", default=""),
                    " --outputdirectory" in event.deep_get("CommandLine", default=""),
                ]
            ),
        ]
    ):
        return True
    return False
