1[
2  {
3    "enabled":1,
4    "version_min":300000,
5    "title":"Testing Variables (quoted) :: REQUEST_LINE - contains (1/2)",
6    "client":{
7      "ip":"200.249.12.31",
8      "port":123
9    },
10    "server":{
11      "ip":"200.249.12.31",
12      "port":80
13    },
14    "request":{
15      "headers":{
16        "Host":"localhost",
17        "User-Agent":"curl/7.38.0",
18        "Accept":"*/*"
19      },
20      "uri":"/?key=value&key=other_value",
21      "method":"GET"
22    },
23    "response":{
24      "headers":{
25        "Date":"Mon, 13 Jul 2015 20:02:41 GMT",
26        "Last-Modified":"Sun, 26 Oct 2014 22:33:37 GMT",
27        "Content-Type":"text/html"
28      },
29      "body":[
30        "no need."
31      ]
32    },
33    "expected":{
34      "debug_log":"t:lowercase:"
35    },
36    "rules":[
37      "SecRule \"REQUEST_LINE\" \"@contains index.php/admin/cms/wysiwyg/directive/\" \"id:1,t:lowercase,ctl:auditLogParts=+E\""
38    ]
39  },
40  {
41    "enabled":1,
42    "version_min":300000,
43    "title":"Testing Variables (quoted) :: REQUEST_LINE - regex (2/2)",
44    "client":{
45      "ip":"200.249.12.31",
46      "port":123
47    },
48    "server":{
49      "ip":"200.249.12.31",
50      "port":80
51    },
52    "request":{
53      "headers":{
54        "Host":"localhost",
55        "User-Agent":"curl/7.38.0",
56        "Accept":"*/*"
57      },
58      "uri":"/?key=value&key=other_value",
59      "method":"GET"
60    },
61    "response":{
62      "headers":{
63        "Date":"Mon, 13 Jul 2015 20:02:41 GMT",
64        "Last-Modified":"Sun, 26 Oct 2014 22:33:37 GMT",
65        "Content-Type":"text/html"
66      },
67      "body":[
68        "no need."
69      ]
70    },
71    "expected":{
72      "debug_log":"t:lowercase:"
73    },
74    "rules":[
75      "SecRule \"REQUEST_LINE\" \"index.php/admin/cms/wysiwyg/directive/\" \"id:1,t:lowercase,ctl:auditLogParts=+E\""
76    ]
77  }
78]
79
80