github.com/akamai/AkamaiOPEN-edgegrid-golang/v8@v8.1.0/pkg/appsec/testdata/TestRatePolicies/RatePolicies.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              "burstWindow": 1,
    24              "clientIdentifier": "ip",
    25              "createDate": "2020-10-29T04:00:22Z",
    26              "description": "AFW Test Extensions",
    27              "fileExtensions": {
    28                  "positiveMatch": false,
    29                  "values": [
    30                      "3g2",
    31                      "3gp",
    32                      "aif",
    33                      "aiff",
    34                      "au",
    35                      "avi",
    36                      "bin",
    37                      "bmp",
    38                      "cab"
    39                  ]
    40              },
    41              "id": 134644,
    42              "matchType": "path",
    43              "name": "Test_Paths 2",
    44              "path": {
    45                  "positiveMatch": true,
    46                  "values": [
    47                      "/login/",
    48                      "/path/"
    49                  ]
    50              },
    51              "pathMatchType": "Custom",
    52              "pathUriPositiveMatch": true,
    53              "queryParameters": [
    54                  {
    55                      "name": "productId",
    56                      "positiveMatch": true,
    57                      "valueInRange": false,
    58                      "values": [
    59                          "BUB_12",
    60                          "SUSH_11"
    61                      ]
    62                  }
    63              ],
    64              "requestType": "ClientRequest",
    65              "sameActionOnIpv6": true,
    66              "type": "WAF",
    67              "updateDate": "2020-10-29T04:00:22Z",
    68              "useXForwardForHeaders": true,
    69              "used": false,
    70              "condition": {
    71                  "atomicConditions": [
    72                      {
    73                          "positiveMatch": true,
    74                          "nameWildcard": true,
    75                          "valueWildcard": true,
    76                          "className": "RequestHeaderCondition",
    77                          "value": [
    78                              "json",
    79                              "xml"
    80                          ],
    81                          "name": [
    82                              "Accept",
    83                              "Accept-Datetime"
    84                          ],
    85                          "valueCase": true,
    86                          "nameCase": false
    87                      },
    88                      {
    89                          "positiveMatch": false,
    90                          "nameWildcard": true,
    91                          "className": "RequestHeaderCondition",
    92                          "value": [],
    93                          "name": [
    94                              "custom1",
    95                              "custom2"
    96                          ]
    97                      },
    98                      {
    99                          "positiveMatch": false,
   100                          "nameWildcard": false,
   101  
   102                          "value": [],
   103                          "name": [
   104                              "custom4",
   105                              "custom5"
   106                          ]
   107                      },
   108                      {
   109                          "className": "RequestHeaderCondition",
   110                          "name": [
   111                              "Accept",
   112                              "custom3"
   113                          ],
   114                          "nameWildcard": false,
   115                          "valueWildcard": true,
   116                          "positiveMatch": false,
   117                          "value": [
   118                              "json"
   119                          ]
   120                      },
   121                      {
   122                          "className": "TlsFingerprintCondition",
   123                          "positiveMatch": true,
   124                          "value": [
   125                              "11111aaaaaaa",
   126                              "22222bbbbbb"
   127                          ]
   128                      },
   129                      {
   130                          "className": "ClientReputationCondition",
   131                          "name": [
   132                              "WEBSCRP"
   133                          ],
   134                          "sharedIpHandling": "SHARED_ONLY",
   135                          "value": 7
   136                      }
   137                  ]
   138              }
   139          }
   140      ]
   141  }