def rule(event):
    if any(
        [
            any(
                [
                    event.deep_get("Image", default="").endswith("/firewall-cmd"),
                    event.deep_get("Image", default="").endswith("/ufw"),
                    event.deep_get("Image", default="").endswith("/iptables"),
                    event.deep_get("Image", default="").endswith("/netstat"),
                    event.deep_get("Image", default="").endswith("/ss"),
                    event.deep_get("Image", default="").endswith("/ip"),
                    event.deep_get("Image", default="").endswith("/ifconfig"),
                    event.deep_get("Image", default="").endswith("/systemd-resolve"),
                    event.deep_get("Image", default="").endswith("/route"),
                ]
            ),
            "/etc/resolv.conf" in event.deep_get("CommandLine", default=""),
        ]
    ):
        return True
    return False
