github.com/akamai/AkamaiOPEN-edgegrid-golang/v8@v8.1.0/pkg/appsec/testdata/TestCustomRules/CustomRule.json (about) 1 { 2 "conditions": [ 3 { 4 "type": "hostMatch", 5 "positiveMatch": true, 6 "value": [ 7 "www.g.com", 8 "www.f" 9 ] 10 }, 11 { 12 "type": "argsPostMatch", 13 "name": "asdfas", 14 "positiveMatch": true, 15 "value": [ 16 "asfsdfsa" 17 ] 18 }, 19 { 20 "type": "argsPostNamesMatch", 21 "positiveMatch": true, 22 "value": [ 23 "sfosadfasdf" 24 ] 25 }, 26 { 27 "type": "asNumberMatch", 28 "positiveMatch": false, 29 "value": [ 30 "2145697538" 31 ], 32 "useXForwardForHeaders": true 33 }, 34 { 35 "type": "geoMatch", 36 "positiveMatch": false, 37 "value": [ 38 "Argentina" 39 ], 40 "useXForwardForHeaders": true 41 }, 42 { 43 "type": "ipAddressMatch", 44 "positiveMatch": false, 45 "value": [ 46 "81.477.377.57" 47 ], 48 "useXForwardForHeaders": true 49 } 50 ], 51 "id": 60022381, 52 "name": "ak CR", 53 "operation": "AND", 54 "ruleActivated": false, 55 "structured": true, 56 "tag": [ 57 "tag" 58 ], 59 "version": 1 60 }