Skip to content

Commit 2345219

Browse files
obickussagarp337
authored andcommitted
Added - WAF request body inspection
1 parent 3011827 commit 2345219

File tree

2 files changed

+13
-136
lines changed

2 files changed

+13
-136
lines changed

examples/web_app_firewall/waf_full.tf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,11 +95,14 @@ resource "oci_waf_web_app_firewall_policy" "test_waf_web_app_firewall_policy" {
9595

9696
request_protection {
9797
#Optional
98+
body_inspection_size_limit_exceeded_action_name = "return401Response"
99+
body_inspection_size_limit_in_bytes = 8192
98100
rules {
99101
#Required
100102
type = "PROTECTION"
101103
name = "requestProtectionRule"
102104
action_name = "return401Response"
105+
is_body_inspection_enabled = true
103106
protection_capabilities {
104107
#Required
105108
key = "9300000"

0 commit comments

Comments
 (0)