def rule(event):
    if all(
        [
            event.deep_get("cs-method", default="") == "POST",
            "/SAAS/jersey/manager/api/migrate/tenant" in event.deep_get("cs-uri-query", default=""),
        ]
    ):
        return True
    return False
