Data Source: oci_waas_waas_policy

This data source provides details about a specific Waas Policy resource in Oracle Cloud Infrastructure Web Application Acceleration and Security service.

Gets the details of a WAAS policy.

Example Usage

data "oci_waas_waas_policy" "test_waas_policy" {
    #Required
    waas_policy_id = oci_waas_waas_policy.test_waas_policy.id
}

Argument Reference

The following arguments are supported:

Attributes 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.