def rule(event):
    if all(
        [
            any(
                [
                    "/tmui/" in event.deep_get("cs-uri-query", default=""),
                    "/hsqldb" in event.deep_get("cs-uri-query", default=""),
                ]
            ),
            any(
                [
                    "..;/" in event.deep_get("cs-uri-query", default=""),
                    ".jsp/.." in event.deep_get("cs-uri-query", default=""),
                ]
            ),
        ]
    ):
        return True
    return False
