91aa78035615be15d75b3673c9bf6edd641832f0
[ossec-hids.git] / debian / ossec-hids / usr / share / doc / ossec-hids / contrib / ossec-testing / tests / nginx.ini
1 ; YYYY/MM/DD HH:MM:SS [LEVEL] PID:TID yadda yadda
2 [Nginx messages grouped.]
3 log 1 pass = 2014/12/30 06:07:37 [yadda] 80:2 yadda yadda
4
5 rule = 31300
6 alert = 0
7 decoder = nginx-errorlog
8
9 [Nginx error message.]
10 log 1 pass = 2014/12/30 06:07:37 [error] 80:2 yadda yadda
11
12 rule = 31301
13 alert = 3
14 decoder = nginx-errorlog
15
16 [Nginx warning message.]
17 log 1 pass = 2014/12/30 06:07:37 [warn] 80:2 yadda yadda
18
19 rule = 31302
20 alert = 3
21 decoder = nginx-errorlog
22
23 [Nginx critical message.]
24 log 1 pass = 2014/12/30 06:07:37 [crit] 80:2 
25
26 rule = 31303
27 alert = 5
28 decoder = nginx-errorlog
29
30 [Server returned 404 (reported in the access.log).]
31 log 1 pass = 2015/01/08 11:31:23 [error] 80:2 blah blah failed (2: No such file or directory)
32 log 2 pass = 2015/01/08 11:31:23 [error] 80:2 blah blah is not found (2: No such file or directory)
33
34 rule = 31310
35 alert = 0
36 decoder = nginx-errorlog
37
38 [Incomplete client request.]
39 log 1 pass = 2015/01/08 11:31:23 [error] 80:2 blah blah accept() failed (53: Software caused connection abort)
40
41 rule = 31311
42 alert = 0
43 decoder = nginx-errorlog
44
45 [Initial 401 authentication request.]
46 log 1 pass = 2015/01/08 11:31:23 [error] 80:2 no user/password was provided for basic authentication
47
48 rule = 31312
49 alert = 0
50 decoder = nginx-errorlog
51
52 [Web authentication failed.]
53 log 1 pass = 2015/01/08 11:31:23 [error] 80:2 yadda password mismatch, client yadda
54 log 2 pass = 2015/01/08 11:31:23 [error] 80:2 yadda was not found in yadda
55
56 rule = 31315
57 alert = 5
58 decoder = nginx-errorlog
59
60 # Can't yet test frequency   <rule id="31316" level="10" frequency="6" timeframe="240">
61 ;[Multiple web authentication failures.]
62 ;
63 ;rule = 31316
64 ;alert = 10
65 ;decoder = nginx-errorlog
66
67 [Common cache error when files were removed.]
68 log 1 pass = 2015/01/08 11:31:23 [crit] 80:2 yadda yadda failed (2: No such file or directory
69
70 rule = 31317
71 alert = 0
72 decoder = nginx-errorlog
73
74 [Invalid URI, file name too long.]
75 log 1 pass = 2015/01/08 11:31:23 [error] 80:2 yadda yadda failed (36: File name too long)
76
77 rule = 31320
78 alert = 10
79 decoder = nginx-errorlog