def rule(event):
    if all(
        [
            any(
                [
                    "/WebResource.axd" in event.deep_get("cs-uri-query", default=""),
                    "/ScriptResource.axd" in event.deep_get("cs-uri-query", default=""),
                    "/i18n.ashx" in event.deep_get("cs-uri-query", default=""),
                    "/Skipi18n" in event.deep_get("cs-uri-query", default=""),
                ]
            ),
            any(
                [
                    "/SolarWinds/" in event.deep_get("cs-uri-query", default=""),
                    "/api/" in event.deep_get("cs-uri-query", default=""),
                ]
            ),
            not any(
                [
                    "Orion/Skipi18n/Profiler/" in event.deep_get("cs-uri-query", default=""),
                    any(
                        [
                            "css.i18n.ashx" in event.deep_get("cs-uri-query", default=""),
                            "js.i18n.ashx" in event.deep_get("cs-uri-query", default=""),
                        ]
                    ),
                ]
            ),
        ]
    ):
        return True
    return False
