1[ 2 { 3 "enabled": 1, 4 "version_min": 209000, 5 "version_max": -1, 6 "title": "Should libmodsec pass action clear m_actions?", 7 "url": "https:\/\/github.com\/SpiderLabs\/ModSecurity\/issues\/1152", 8 "client": { 9 "ip": "200.249.12.31", 10 "port": 2313 11 }, 12 "server": { 13 "ip": "200.249.12.31", 14 "port": 80 15 }, 16 "request": { 17 "headers": { 18 "Host": "net.tutsplus.com", 19 "User-Agent": "", 20 "Accept": "text\/html,application\/xhtml+xml,application\/xml;q=0.9,*\/*;q=0.8", 21 "Accept-Language": "en-us,en;q=0.5", 22 "Accept-Encoding": "gzip,deflate", 23 "Accept-Charset": "ISO-8859-1,utf-8;q=0.7,*;q=0.7", 24 "Keep-Alive": "300", 25 "Connection": "keep-alive", 26 "Cookie": "PHPSESSID=r2t5uvjq435r4q7ib3vtdjq120", 27 "Pragma": "no-cache", 28 "Cache-Control": "no-cache" 29 }, 30 "uri": "\/test.pl?foo=bar", 31 "method": "GET", 32 "http_version": 1.1, 33 "body": "" 34 }, 35 "response": { 36 "headers": { 37 "Content-Type": "text\/xml; charset=utf-8\n\r", 38 "Content-Length": "length\n\r" 39 } 40 }, 41 "expected": { 42 "http_code": 403 43 }, 44 "rules": [ 45 "SecRuleEngine On", 46 "SecRule REQUEST_HEADERS:User-Agent \"^$\" \"id:'900017',phase:1,t:none,deny,nolog,msg:'foo = bar'\"" 47 ] 48 } 49] 50