def rule(event):
    if all(
        [
            event.deep_get("Initiated", default="") == "true",
            any(
                [
                    event.deep_get("DestinationHostname", default="").endswith(
                        ".v2.argotunnel.com"
                    ),
                    event.deep_get("DestinationHostname", default="").endswith(
                        "protocol-v2.argotunnel.com"
                    ),
                    event.deep_get("DestinationHostname", default="").endswith("trycloudflare.com"),
                    event.deep_get("DestinationHostname", default="").endswith(
                        "update.argotunnel.com"
                    ),
                ]
            ),
        ]
    ):
        return True
    return False
