github.com/akamai/AkamaiOPEN-edgegrid-golang/v8@v8.1.0/pkg/appsec/testdata/TestRatePolicies/RatePoliciesHosts.json (about)

     1  {
     2      "ratePolicies": [
     3          {
     4              "additionalMatchOptions": [
     5                  {
     6                      "positiveMatch": true,
     7                      "type": "IpAddressCondition",
     8                      "values": [
     9                          "198.129.76.39"
    10                      ]
    11                  },
    12                  {
    13                      "positiveMatch": true,
    14                      "type": "RequestMethodCondition",
    15                      "values": [
    16                          "GET"
    17                      ]
    18                  }
    19              ],
    20              "allTraffic": false,
    21              "averageThreshold": 5,
    22              "burstThreshold": 10,
    23              "clientIdentifier": "ip",
    24              "createDate": "2020-10-29T04:00:22Z",
    25              "description": "AFW Test Extensions",
    26              "fileExtensions": {
    27                  "positiveMatch": false,
    28                  "values": [
    29                      "3g2",
    30                      "3gp",
    31                      "aif",
    32                      "aiff",
    33                      "au",
    34                      "avi",
    35                      "bin",
    36                      "bmp",
    37                      "cab"
    38                  ]
    39              },
    40              "id": 134644,
    41              "matchType": "path",
    42              "name": "Test_Paths 2",
    43              "path": {
    44                  "positiveMatch": true,
    45                  "values": [
    46                      "/login/",
    47                      "/path/"
    48                  ]
    49              },
    50              "pathMatchType": "Custom",
    51              "pathUriPositiveMatch": true,
    52              "queryParameters": [
    53                  {
    54                      "name": "productId",
    55                      "positiveMatch": true,
    56                      "valueInRange": false,
    57                      "values": [
    58                          "BUB_12",
    59                          "SUSH_11"
    60                      ]
    61                  }
    62              ],
    63              "requestType": "ClientRequest",
    64              "sameActionOnIpv6": true,
    65              "type": "WAF",
    66              "updateDate": "2020-10-29T04:00:22Z",
    67              "useXForwardForHeaders": true,
    68              "used": false,
    69              "hosts": {
    70                "positveMatch": false,
    71                "values": [
    72                  "www.example.com"
    73                ]
    74              }
    75          }
    76      ]
    77  }