Skip to content

Commit 5cf669b

Browse files
committed
update object path of cookies and header
1 parent 053513e commit 5cf669b

1 file changed

Lines changed: 20 additions & 7 deletions

File tree

modules/cloudfront/default/0.1/facets.yaml

Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,16 @@ spec:
8383
- allExcept
8484
- all
8585
cookies:
86-
type: array
86+
type: object
8787
title: Cookies
8888
description: Contains a list of cookie names
89-
x-ui-placeholder: "Enter the cookie name"
89+
properties:
90+
items:
91+
type: array
92+
description: List of cookie names
93+
items:
94+
type: string
95+
x-ui-placeholder: "Enter the cookie name"
9096
headers_config:
9197
type: object
9298
title: Headers Config
@@ -100,10 +106,16 @@ spec:
100106
- none
101107
- whitelist
102108
headers:
103-
type: array
109+
type: object
104110
title: Headers
105-
description: List of HTTP header names
106-
x-ui-placeholder: "Enter the header name"
111+
description: List of HTTP header names
112+
properties:
113+
items:
114+
type: array
115+
description: List of HTTP header names
116+
items:
117+
type: string
118+
x-ui-placeholder: "Enter the header name."
107119
query_strings_config:
108120
type: object
109121
title: Query Strings Config
@@ -245,10 +257,11 @@ sample:
245257
cookies_config:
246258
cookie_behavior: "whitelist"
247259
cookies:
248-
items:
249-
- ""
260+
items: []
250261
headers_config:
251262
header_behavior: "none"
263+
headers:
264+
items: []
252265
query_strings_config:
253266
query_string_behavior: "none"
254267
enable_accept_encoding_brotli: false

0 commit comments

Comments
 (0)