def rule(event):
    if all(
        [
            any(
                [
                    "drive.googleapis.com" in event.deep_get("DestinationHostname", default=""),
                    "oauth2.googleapis.com" in event.deep_get("DestinationHostname", default=""),
                    "sheets.googleapis.com" in event.deep_get("DestinationHostname", default=""),
                    "www.googleapis.com" in event.deep_get("DestinationHostname", default=""),
                ]
            ),
            not any(
                [
                    event.deep_get("Image", default="") == "",
                    event.deep_get("Image", default="") == "",
                ]
            ),
            not any(
                [
                    event.deep_get("Image", default="").endswith("\\brave.exe"),
                    any(
                        [
                            event.deep_get("Image", default="").endswith(
                                ":\\Program Files\\Google\\Chrome\\Application\\chrome.exe"
                            ),
                            event.deep_get("Image", default="").endswith(
                                ":\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe"
                            ),
                        ]
                    ),
                    all(
                        [
                            ":\\Program Files\\Google\\Drive File Stream\\"
                            in event.deep_get("Image", default=""),
                            event.deep_get("Image", default="").endswith("\\GoogleDriveFS.exe"),
                        ]
                    ),
                    any(
                        [
                            event.deep_get("Image", default="").endswith(
                                ":\\Program Files\\Mozilla Firefox\\firefox.exe"
                            ),
                            event.deep_get("Image", default="").endswith(
                                ":\\Program Files (x86)\\Mozilla Firefox\\firefox.exe"
                            ),
                        ]
                    ),
                    any(
                        [
                            event.deep_get("Image", default="").endswith(
                                ":\\Program Files (x86)\\Internet Explorer\\iexplore.exe"
                            ),
                            event.deep_get("Image", default="").endswith(
                                ":\\Program Files\\Internet Explorer\\iexplore.exe"
                            ),
                        ]
                    ),
                    event.deep_get("Image", default="").endswith("\\maxthon.exe"),
                    any(
                        [
                            ":\\Program Files (x86)\\Microsoft\\EdgeWebView\\Application\\"
                            in event.deep_get("Image", default=""),
                            any(
                                [
                                    event.deep_get("Image", default="").endswith(
                                        ":\\Program Files (x86)\\Microsoft\\Edge\\Application\\msedge.exe"
                                    ),
                                    event.deep_get("Image", default="").endswith(
                                        ":\\Program Files\\Microsoft\\Edge\\Application\\msedge.exe"
                                    ),
                                    event.deep_get("Image", default="").endswith(
                                        "\\WindowsApps\\MicrosoftEdge.exe"
                                    ),
                                ]
                            ),
                        ]
                    ),
                    all(
                        [
                            any(
                                [
                                    ":\\Program Files (x86)\\Microsoft\\EdgeCore\\"
                                    in event.deep_get("Image", default=""),
                                    ":\\Program Files\\Microsoft\\EdgeCore\\"
                                    in event.deep_get("Image", default=""),
                                ]
                            ),
                            any(
                                [
                                    event.deep_get("Image", default="").endswith("\\msedge.exe"),
                                    event.deep_get("Image", default="").endswith(
                                        "\\msedgewebview2.exe"
                                    ),
                                ]
                            ),
                        ]
                    ),
                    event.deep_get("Image", default="").endswith("\\opera.exe"),
                    event.deep_get("Image", default="").endswith("\\safari.exe"),
                    event.deep_get("Image", default="").endswith("\\seamonkey.exe"),
                    event.deep_get("Image", default="").endswith("\\vivaldi.exe"),
                    event.deep_get("Image", default="").endswith("\\whale.exe"),
                    event.deep_get("Image", default="").endswith("\\GoogleUpdate.exe"),
                    event.deep_get("Image", default="").endswith("\\outlook.exe"),
                ]
            ),
        ]
    ):
        return True
    return False
