Data Source: oci_waas_protection_rules

This data source provides the list of Protection Rules in Oracle Cloud Infrastructure Web Application Acceleration and Security service.

Gets the list of available protection rules for a WAAS policy. Use the GetWafConfig operation to view a list of currently configured protection rules for the Web Application Firewall, or use the ListRecommendations operation to get a list of recommended protection rules for the Web Application Firewall. The list is sorted by key, in ascending order.

Example Usage

data "oci_waas_protection_rules" "test_protection_rules" {
	#Required
	waas_policy_id = oci_waas_waas_policy.test_waas_policy.id

	#Optional
	action = var.protection_rule_action
	mod_security_rule_id = oci_events_rule.test_rule.id
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

ProtectionRule Reference

The following attributes are exported: