Data Source: oci_waf_web_app_firewalls
This data source provides the list of Web App Firewalls in Oracle Cloud Infrastructure Waf service.
Gets a list of all WebAppFirewalls in a compartment.
Example Usage
data "oci_waf_web_app_firewalls" "test_web_app_firewalls" {
#Required
compartment_id = var.compartment_id
#Optional
display_name = var.web_app_firewall_display_name
id = var.web_app_firewall_id
state = var.web_app_firewall_state
web_app_firewall_policy_id = oci_waf_web_app_firewall_policy.test_web_app_firewall_policy.id
}
Argument Reference
The following arguments are supported:
compartment_id- (Required) The OCID of the compartment in which to list resources.display_name- (Optional) A filter to return only resources that match the entire display name given.id- (Optional) A filter to return only the WebAppFirewall with the given OCID.state- (Optional) A filter to return only resources that match the given lifecycleState.web_app_firewall_policy_id- (Optional) A filter to return only the WebAppFirewall with the given OCID of related WebAppFirewallPolicy.
Attributes Reference
The following attributes are exported:
web_app_firewall_collection- The list of web_app_firewall_collection.
WebAppFirewall Reference
The following attributes are exported:
backend_type- Type of the WebAppFirewall, as example LOAD_BALANCER.compartment_id- The OCID of the compartment.defined_tags- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:{"foo-namespace.bar-key": "value"}display_name- WebAppFirewall display name, can be renamed.freeform_tags- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:{"bar-key": "value"}id- The OCID of the WebAppFirewall.lifecycle_details- A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in FAILED state.load_balancer_id- LoadBalancer OCID to which the WebAppFirewallPolicy is attached to.state- The current state of the WebAppFirewall.system_tags- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:{"orcl-cloud.free-tier-retained": "true"}time_created- The time the WebAppFirewall was created. An RFC3339 formatted datetime string.time_updated- The time the WebAppFirewall was updated. An RFC3339 formatted datetime string.web_app_firewall_policy_id- The OCID of WebAppFirewallPolicy, which is attached to the resource.