@@ -163,7 +163,35 @@ resource "oci_waas_waas_policy" "test_waas_policy" {
163163 is_https_forced = true
164164 is_origin_compression_enabled = true
165165 is_response_buffering_enabled = true
166+ is_sni_enabled = true
167+ websocket_path_prefixes = [" /url1" ]
166168 tls_protocols = [" TLS_V1_1" ]
169+
170+ health_checks = {
171+ is_enabled = true
172+ is_response_text_check_enabled = true
173+ expected_response_code_group = [" 2XX" ]
174+ expected_response_text = " testResponseText"
175+
176+ headers = {
177+ " Host" = " oracle.com"
178+ " User-Agent" = " Oracle-TerraformProvider"
179+ }
180+
181+ method = " GET"
182+ path = " /testpath"
183+ timeout_in_seconds = 10
184+ unhealthy_threshold = 5
185+ interval_in_seconds = 10
186+ healthy_threshold = 2
187+ }
188+
189+ load_balancing_method = {
190+ method = " STICKY_COOKIE"
191+ name = " name2"
192+ domain = " example.com"
193+ expiration_time_in_seconds = 10
194+ }
167195 }
168196
169197 timeouts {
@@ -195,6 +223,19 @@ resource "oci_waas_waas_policy" "test_waas_policy" {
195223 bypass_challenges = [" JS_CHALLENGE" ]
196224 redirect_response_code = " FOUND"
197225 redirect_url = " http://192.168.0.3"
226+ captcha_footer = " captchaFooter"
227+ captcha_header = " captchaHeader"
228+ captcha_submit_label = " captchaSubmitLabel"
229+ captcha_title = " captchaTitle"
230+
231+ response_header_manipulation = {
232+ # Required
233+ action = " EXTEND_HTTP_RESPONSE_HEADER"
234+ header = " header"
235+
236+ # Optional
237+ value = " value"
238+ }
198239 }
199240
200241 address_rate_limiting {
@@ -243,6 +284,11 @@ resource "oci_waas_waas_policy" "test_waas_policy" {
243284 # Optional
244285 action = " DETECT"
245286 id = " ${ oci_waas_custom_protection_rule . test_custom_protection_rule . id } "
287+
288+ exclusions = {
289+ exclusions = [" example.com" ]
290+ target = " REQUEST_COOKIES"
291+ }
246292 }
247293
248294 device_fingerprint_challenge {
@@ -312,6 +358,17 @@ resource "oci_waas_waas_policy" "test_waas_policy" {
312358 # Optional
313359 action = " DETECT"
314360 action_expiration_in_seconds = 10
361+ are_redirects_challenged = true
362+ is_nat_enabled = true
363+
364+ criteria = {
365+ # Required
366+ condition = " URL_IS"
367+ value = " /public"
368+
369+ # Optional
370+ is_case_sensitive = true
371+ }
315372
316373 challenge_settings {
317374 # Optional
@@ -351,8 +408,11 @@ resource "oci_waas_waas_policy" "test_waas_policy" {
351408
352409 whitelists {
353410 # Required
354- addresses = [" 192.168.127.127" , " 192.168.127.128" ]
355- name = " whitelist_name"
411+ name = " whitelist_name"
412+
413+ # Optional
414+ addresses = [" 192.168.127.127" , " 192.168.127.128" ]
415+ address_lists = [" ${ oci_waas_address_list . test_address_list . id } `}" ]
356416 }
357417 }
358418}
0 commit comments