| Version: v2023-01-05 | Includes use: Yes | 
|---|
Criterion name: User Network Data
Matches details of the network over which the request was made, determined by looking up the IP address in a database.
Default criterion
These samples reflect the criterion's default settings. You can use these as is in your configurations or make adjustments based on the criterion's available options.
data "akamai_property_rules_builder" "user_network" {
  rules_v2023_01_05 {
    name     = "User Network Data"
    comments = "Matches details of the network over which the request was made."
    criterion {
      user_network {
        network_values = []
        field = "NETWORK"
        check_ips = "BOTH"
        use_only_first_xforwarded_for_ip = false
        match_operator = "IS_ONE_OF"
      }
    }
  }
}
"criterion": [
  {
    "name": "userNetwork",
    "options": {
      "networkValues": [],
      "field": "NETWORK",
      "checkIps": "BOTH",
      "useOnlyFirstXForwardedForIp": false,
      "matchOperator": "IS_ONE_OF"
    }
  }
]
Options
| Option | Description | 
|---|---|
| field | The type of information to match. Value is one of:
           
 | 
| match_operator | Matches the specified set of values when set to  IS_ONE_OF, otherwiseIS_NOT_ONE_OFreverses the match. Value is one of:
 | 
| network_values | Any set of specific networks. Possible values are:
           
 
 | 
| bandwidth_values | Bandwidth range in bits per second. Possible values are:
           
 | 
| check_ips | Specifies which IP addresses determine the user's network. Value is one of:
           
 | 
| use_only_first_x_forwarded_for_ip | When connecting via a proxy server as determined by the  X-Forwarded-Forheader, enabling this option matches the end client specified in the header. Disabling it matches the connecting client's IP address. | 
