def rule(event):
    if any(
        [
            "/console/images/%252E%252E%252Fconsole.portal"
            in event.deep_get("cs-uri-query", default=""),
            "/console/css/%2e" in event.deep_get("cs-uri-query", default=""),
        ]
    ):
        return True
    return False
