From cd34ee3a4d23691d087962e863282874681166a6 Mon Sep 17 00:00:00 2001 From: ArturRibeiro-CX Date: Sat, 23 Nov 2024 14:07:59 +0000 Subject: [PATCH] update paramOne.in to paramOne["in"] --- .../openAPI/general/parameters_name_in_not_unique/query.rego | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/queries/openAPI/general/parameters_name_in_not_unique/query.rego b/assets/queries/openAPI/general/parameters_name_in_not_unique/query.rego index f02de3ff49f..e6ca3259488 100644 --- a/assets/queries/openAPI/general/parameters_name_in_not_unique/query.rego +++ b/assets/queries/openAPI/general/parameters_name_in_not_unique/query.rego @@ -15,7 +15,7 @@ CxPolicy[result] { paramTwo := parameters[keyTwo] keyOne != keyTwo paramOne.name == paramTwo.name - paramOne.in == paramTwo.in + paramOne["in"] == paramTwo["in"] partialSk := openapi_lib.concat_default_value(openapi_lib.concat_path(path), "parameters") sk := openapi_lib.get_complete_search_key(keyOne, partialSk, "name")