1[
2  {
3    "enabled": 1,
4    "version_min": 300000,
5    "version_max": 0,
6    "title": "Debug log",
7    "client": {
8      "ip": "200.249.12.31",
9      "port": 2313
10    },
11    "server": {
12      "ip": "200.249.12.31",
13      "port": 80
14    },
15    "request": {
16      "headers": {
17        "Host": "net.tutsplus.com",
18        "User-Agent": "Mozilla\/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.5) Gecko\/20091102 Firefox\/3.5.5 (.NET CLR 3.5.30729)",
19        "Accept": "text\/html,application\/xhtml+xml,application\/xml;q=0.9,*\/*;q=0.8",
20        "Accept-Language": "en-us,en;q=0.5",
21        "Accept-Encoding": "gzip,deflate",
22        "Accept-Charset": "ISO-8859-1,utf-8;q=0.7,*;q=0.7",
23        "Keep-Alive": "300",
24        "Connection": "keep-alive",
25        "Cookie": "PHPSESSID=r2t5uvjq435r4q7ib3vtdjq120",
26        "Pragma": "no-cache",
27        "Cache-Control": "no-cache"
28      },
29      "uri": "\/test.pl?param1=test&para2=test2",
30      "method": "GET",
31      "http_version": 1.1,
32      "body": ""
33    },
34    "response": {
35      "headers": {
36        "Content-Type": "text\/xml; charset=utf-8\n\r",
37        "Content-Length": "length\n\r"
38      },
39      "body": [
40        "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n\r",
41        "<soap:Envelope xmlns:xsi=\"http:\/\/www.w3.org\/2001\/XMLSchema-instance\" xmlns:xsd=\"http:\/\/www.w3.org\/2001\/XMLSchema\" xmlns:soap=\"http:\/\/schemas.xmlsoap.org\/soap\/envelope\/\">\n\r",
42        "  <soap:Body>\n\r",
43        "  <EnlightenResponse xmlns=\"http:\/\/clearforest.com\/\">\n\r",
44        "  <EnlightenResult>string<\/EnlightenResult>\n\r",
45        "  <\/EnlightenResponse>\n\r",
46        "  <\/soap:Body>\n\r",
47        "<\/soap:Envelope>\n\r"
48      ]
49    },
50    "expected": {
51      "audit_log": "",
52      "debug_log": ".*",
53      "error_log": ""
54    },
55    "rules": [
56      "SecRuleEngine On",
57      "SecRule ARGS \"@contains test\" \"id:3,pass\"",
58      "SecRule ARGS \"@contains /test.txt\" \"id:4,allow\"",
59      "SecRule ARGS:teste \"@contains /test.txt\" \" id:1,allow,deny\"",
60      "SecRule ARGS \"@contains /test.txt\" \"allow, allow,id:2,deny\""
61
62    ]
63  }
64]
65