Skip to Main Content

Cloud Platform

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Terraform WAF multiple keys in protection capabilities syntax?

David LoNov 25 2024

I’ve being digging around the documentation and any of sources on the web I can find, but cant seem to figure out how to have multiple keys. New to OCI and Terraform…

I am able to manual through the web gui and checkbox multiple protection capabilities keys.

Any suggestions or tips? Urls?

Thanks

Here is snip of the section in my tf file so far

request_protection {

rules {

type = "PROTECTION"

name = "WAF Protection Policies"

action_name = "return401Response"

protection_capabilities {

#key = "[942270', '9420000', '941140', '9410000', '9320000']"

key = 942270

version = 1

collaborative_action_threshold = 4

}

}

}

example I found with one key: terraform-provider-oci/examples/web_app_firewall/waf_full.tf at master · terraform-providers/terraform-provider-oci · GitHub

terraform doc: Terraform Registry

Comments
Post Details
Added on Nov 25 2024
0 comments
26 views