def rule(event):
    if any(
        [
            all(
                [
                    event.deep_get("Image", default="").endswith("/service"),
                    "iptables" in event.deep_get("CommandLine", default=""),
                    "stop" in event.deep_get("CommandLine", default=""),
                ]
            ),
            all(
                [
                    event.deep_get("Image", default="").endswith("/service"),
                    "ip6tables" in event.deep_get("CommandLine", default=""),
                    "stop" in event.deep_get("CommandLine", default=""),
                ]
            ),
            all(
                [
                    event.deep_get("Image", default="").endswith("/chkconfig"),
                    "iptables" in event.deep_get("CommandLine", default=""),
                    "stop" in event.deep_get("CommandLine", default=""),
                ]
            ),
            all(
                [
                    event.deep_get("Image", default="").endswith("/chkconfig"),
                    "ip6tables" in event.deep_get("CommandLine", default=""),
                    "stop" in event.deep_get("CommandLine", default=""),
                ]
            ),
            all(
                [
                    event.deep_get("Image", default="").endswith("/systemctl"),
                    "firewalld" in event.deep_get("CommandLine", default=""),
                    "stop" in event.deep_get("CommandLine", default=""),
                ]
            ),
            all(
                [
                    event.deep_get("Image", default="").endswith("/systemctl"),
                    "firewalld" in event.deep_get("CommandLine", default=""),
                    "disable" in event.deep_get("CommandLine", default=""),
                ]
            ),
            all(
                [
                    event.deep_get("Image", default="").endswith("/service"),
                    "cbdaemon" in event.deep_get("CommandLine", default=""),
                    "stop" in event.deep_get("CommandLine", default=""),
                ]
            ),
            all(
                [
                    event.deep_get("Image", default="").endswith("/chkconfig"),
                    "cbdaemon" in event.deep_get("CommandLine", default=""),
                    "off" in event.deep_get("CommandLine", default=""),
                ]
            ),
            all(
                [
                    event.deep_get("Image", default="").endswith("/systemctl"),
                    "cbdaemon" in event.deep_get("CommandLine", default=""),
                    "stop" in event.deep_get("CommandLine", default=""),
                ]
            ),
            all(
                [
                    event.deep_get("Image", default="").endswith("/systemctl"),
                    "cbdaemon" in event.deep_get("CommandLine", default=""),
                    "disable" in event.deep_get("CommandLine", default=""),
                ]
            ),
            all(
                [
                    event.deep_get("Image", default="").endswith("/setenforce"),
                    "0" in event.deep_get("CommandLine", default=""),
                ]
            ),
            all(
                [
                    event.deep_get("Image", default="").endswith("/systemctl"),
                    "stop" in event.deep_get("CommandLine", default=""),
                    "falcon-sensor" in event.deep_get("CommandLine", default=""),
                ]
            ),
            all(
                [
                    event.deep_get("Image", default="").endswith("/systemctl"),
                    "disable" in event.deep_get("CommandLine", default=""),
                    "falcon-sensor" in event.deep_get("CommandLine", default=""),
                ]
            ),
        ]
    ):
        return True
    return False
