def rule(event):
    if all(
        [
            event.deep_get("cs-method", default="") == "GET",
            any(
                [
                    "/ecp/" in event.deep_get("cs-uri-query", default=""),
                    "/owa/" in event.deep_get("cs-uri-query", default=""),
                ]
            ),
            "__VIEWSTATE=" in event.deep_get("cs-uri-query", default=""),
        ]
    ):
        return True
    return False
