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

     1  {
     2  	"additionalMatchOptions": [
     3  		{
     4  			"positiveMatch": true,
     5  			"type": "IpAddressCondition",
     6  			"values": [
     7  				"198.129.76.39"
     8  			]
     9  		},
    10  		{
    11  			"positiveMatch": true,
    12  			"type": "RequestMethodCondition",
    13  			"values": [
    14  				"GET"
    15  			]
    16  		}
    17  	],
    18  	"allTraffic": false,
    19  	"averageThreshold": 5,
    20  	"burstThreshold": 10,
    21  	"burstWindow": 1,
    22  	"clientIdentifier": "ip",
    23  	"createDate": "2020-10-29T04:00:22Z",
    24  	"description": "AFW Test Extensions",
    25  	"fileExtensions": {
    26  		"positiveMatch": false,
    27  		"values": [
    28  			"3g2",
    29  			"3gp",
    30  			"aif",
    31  			"aiff",
    32  			"au",
    33  			"avi",
    34  			"bin",
    35  			"bmp",
    36  			"cab"
    37  		]
    38  	},
    39  	"id": 134644,
    40  	"matchType": "path",
    41  	"name": "Test_Paths 2",
    42  	"path": {
    43  		"positiveMatch": true,
    44  		"values": [
    45  			"/login/",
    46  			"/path/"
    47  		]
    48  	},
    49  	"pathMatchType": "Custom",
    50  	"pathUriPositiveMatch": true,
    51  	"queryParameters": [
    52  		{
    53  			"name": "productId",
    54  			"positiveMatch": true,
    55  			"valueInRange": false,
    56  			"values": [
    57  				"BUB_12",
    58  				"SUSH_11"
    59  			]
    60  		}
    61  	],
    62  	"requestType": "ClientRequest",
    63  	"sameActionOnIpv6": true,
    64  	"type": "WAF",
    65  	"updateDate": "2020-10-29T04:00:22Z",
    66  	"useXForwardForHeaders": true,
    67  	"used": false,
    68  	"condition": {
    69  		"atomicConditions": [
    70  			{
    71  				"positiveMatch": true,
    72  				"nameWildcard": true,
    73  				"valueWildcard": true,
    74  				"value": [
    75  					"json",
    76  					"xml"
    77  				],
    78  				"name": [
    79  					"Accept",
    80  					"Accept-Datetime"
    81  				],
    82  				"valueCase": true,
    83  				"nameCase": false
    84  			},
    85  			{
    86  				"positiveMatch": false,
    87  				"nameWildcard": true,
    88  				"className": "RequestHeaderCondition",
    89  				"value": [],
    90  				"name": [
    91  					"custom1",
    92  					"custom2"
    93  				]
    94  			},
    95  			{
    96  				"positiveMatch": false,
    97  				"nameWildcard": false,
    98  				"value": [],
    99  				"name": [
   100  					"custom4",
   101  					"custom5"
   102  				]
   103  			},
   104  			{
   105  				"className": "RequestHeaderCondition",
   106  				"name": [
   107  					"Accept",
   108  					"custom3"
   109  				],
   110  				"nameWildcard": false,
   111  				"valueWildcard": true,
   112  				"positiveMatch": false,
   113  				"value": [
   114  					"json"
   115  				]
   116  			},
   117  			{
   118  				"className": "TlsFingerprintCondition",
   119  				"positiveMatch": true,
   120  				"value": [
   121  					"11111aaaaaaa",
   122  					"22222bbbbbb"
   123  				]
   124  			},
   125  			{
   126  				"className": "ClientReputationCondition",
   127  				"name": [
   128  					"WEBSCRP"
   129  				],
   130  				"sharedIpHandling": "SHARED_ONLY",
   131  				"value": 7
   132  			}
   133  		]
   134  	}
   135  }