Data Source: oci_waas_waas_policies

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

Gets a list of WAAS policies.

Example Usage

data "oci_waas_waas_policies" "test_waas_policies" {
    #Required
    compartment_id = var.compartment_id

    #Optional
    display_names = var.waas_policy_display_names
    ids = var.waas_policy_ids
    states = var.waas_policy_states
    time_created_greater_than_or_equal_to = var.waas_policy_time_created_greater_than_or_equal_to
    time_created_less_than = var.waas_policy_time_created_less_than
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

WaasPolicy Reference

The following attributes are exported:

  • failure_threshold - The number of failed requests before taking action. If unspecified, defaults to 10.
  • is_enabled - Enables or disables the JavaScript challenge Web Application Firewall feature.
  • is_nat_enabled - When enabled, the user is identified not only by the IP address but also by an unique additional hash, which prevents blocking visitors with shared IP addresses.
  • set_http_header - Adds an additional HTTP header to requests that fail the challenge before being passed to the origin. Only applicable when the action is set to DETECT.
  • origin - The key in the map of origins referencing the origin used for the Web Application Firewall. The origin must already be included in Origins. Required when creating the WafConfig resource, but not on update.
  • origin_groups - The map of origin groups and their keys used to associate origins to the wafConfig. Origin groups allow you to apply weights to groups of origins for load balancing purposes. Origins with higher weights will receive larger proportions of client requests. To add additional origins to your WAAS policy, update the origins field of a UpdateWaasPolicy request.
  • protection_settings - The settings to apply to protection rules.

  • whitelists - A list of IP addresses that bypass the Web Application Firewall.