def rule(event):
    if all(
        [
            event.deep_get("cs-method", default="") == "POST",
            "NO_BINARY_CHECK=1" in event.deep_get("cs-uri-query", default=""),
            "input.path" in event.deep_get("cs-uri-query", default=""),
            event.deep_get("cs-uri-query", default="").endswith(".xsl"),
            event.deep_get("sc-status", default="") in [200, 302],
        ]
    ):
        return True
    return False
