Commit graph

3973 commits

Author SHA1 Message Date
Simone Mainardi
454f5c07ba Fixes deletetion of user script configs leaving stale pools 2021-02-22 18:52:42 +01:00
Luca Deri
f1c87e533f Simplified housekeeping.lua 2021-02-22 18:03:25 +01:00
Simone Mainardi
4ce46da129 Fixes new templates breaking when rendering severity 2021-02-22 16:44:17 +01:00
Simone Mainardi
275482e203 Fixes flows dropdown filters not shown in the title
Fixes #5055
2021-02-22 14:57:34 +01:00
Simone Mainardi
40c785ce02 Automatically loads input_builder .template HTML files 2021-02-22 11:44:21 +01:00
Matteo Biscosi
5e7cafd8f7 Removed threshold not nil check
Error due to the fact that an old user script configuration was in use
2021-02-22 10:23:05 +01:00
Matteo Biscosi
69ebe4e1a6 Temporary fix for threshold value to nil 2021-02-21 17:51:30 +01:00
Matteo Biscosi
fe9e3a2ea8 Removed sort column from OS distribution 2021-02-21 17:23:49 +01:00
Matteo Biscosi
f75331d2b5 Implements OS distribution
Implements #2874
2021-02-21 17:19:15 +01:00
gabryon99
41ff6bcb3b add edit user script page (#5002) 2021-02-19 19:24:09 +01:00
Matteo Biscosi
02aa0af75b Added description to hosts badges 2021-02-19 16:51:48 +01:00
Simone Mainardi
3ee9e5d9ef Minor cleanup 2021-02-19 15:54:37 +01:00
Simone Mainardi
9433928dfc Handles templates (load/require) for individual plugins 2021-02-19 15:51:27 +01:00
Simone Mainardi
33d035b96c Improves use of classes for user script templates 2021-02-19 14:44:44 +01:00
Simone Mainardi
1dd93e7845 Initial work to add user script templates 2021-02-19 12:54:42 +01:00
Alfredo Cardigliano
7493b02a07 Print failure message on wrong login credentials (fix #5042) 2021-02-19 12:20:54 +01:00
Matteo Biscosi
09708de7f5 Reduced hosts badges width 2021-02-19 12:09:01 +01:00
Matteo Biscosi
92345e04d5 Removed unused code from exclusion list 2021-02-19 10:55:19 +01:00
Matteo Biscosi
7c194646fd Fixes info field not checked into exclusion list 2021-02-19 10:18:59 +01:00
Matteo Biscosi
8a016130e1 Removed if then else statements and replaced with general function 2021-02-18 19:45:35 +01:00
Matteo Biscosi
b997ebaf28 Fixes exclusion list error with converted parameters 2021-02-18 19:10:59 +01:00
Simone Mainardi
80ae202ad1 Initial work to implement user script templates 2021-02-18 18:59:45 +01:00
Matteo Biscosi
ee8ffaca7d Fixes filter button not disabled 2021-02-18 18:21:49 +01:00
Matteo Biscosi
04841af7b8 Implements delete for filtered alerts 2021-02-18 18:01:55 +01:00
Matteo Biscosi
7b80a28d94 Added vlan show, if needed, to hostinfo2lable function 2021-02-18 15:16:51 +01:00
Matteo Biscosi
eac59ae1d5 Fixes date/time len and disabled ex list for flow alerts
Fixed len of date/time column to 5% and disable exclusion list
for the alerts already disabled
2021-02-18 11:42:23 +01:00
Simone Mainardi
1524deae52 Fixes broken remote to remote flow alerts 2021-02-18 11:39:44 +01:00
Matteo Biscosi
6a5c5fe32b Added csrf to get when adding a new alert filter 2021-02-17 18:38:22 +01:00
Matteo Biscosi
6a32b6ca6d Changed exclude alert path 2021-02-17 18:25:21 +01:00
Matteo Biscosi
8b890a4411 Implemented filter alert params check done in Ajax 2021-02-17 18:14:33 +01:00
Simone Mainardi
59380ecd39 Implements matching of filters on alerts stored in SQLite 2021-02-17 17:31:00 +01:00
Simone Mainardi
0d39732d1c Implements telemetry for alter filters 2021-02-17 12:08:40 +01:00
Matteo Biscosi
714d479d41 Fixes user script disabled after adding a new alert to exclude 2021-02-17 11:46:45 +01:00
Matteo Biscosi
f0f8e51169
Fixes user script config not updating 2021-02-16 19:19:55 +01:00
Simone Mainardi
87249b44b0 Fixes user script filters not preserved after restart 2021-02-16 18:36:55 +01:00
Matteo Biscosi
1d86817246 Fixes user script exclusion list not working 2021-02-16 17:55:01 +01:00
Matteo Biscosi
161ca6afc5 Removed unused exclusion alert field 2021-02-16 17:04:40 +01:00
Matteo Biscosi
e99e5a923d
Fixed error in user_scripts.lua 2021-02-16 16:40:48 +01:00
Matteo Biscosi
51956c4167 Removed merge errors in user_scripts.lua 2021-02-16 16:31:05 +01:00
Simone Mainardi
209a9be5e6 Implements info-based flow alert exclusion filters 2021-02-16 16:22:06 +01:00
Matteo Biscosi
12cd9069d1 Implements l7 category and dns request added to exclusion alerts
Implements #4942
2021-02-16 16:05:16 +01:00
Simone Mainardi
f4dff6f2e7 Implements risk-based filtering of flow alerts 2021-02-16 15:25:20 +01:00
Matteo Biscosi
370ed8a475 Fixes alert exclude button not showing 2021-02-16 11:43:08 +01:00
Simone Mainardi
b70383ac49 Fixes alert filter links and js
Fixes #5040
2021-02-15 16:36:52 +01:00
Alfredo Cardigliano
e557a38ba4 Fix nil access 2021-02-15 14:43:59 +01:00
Matteo Biscosi
dffb8cedc5 Fixed exclusion list purged after startup 2021-02-15 12:37:23 +01:00
Matteo Biscosi
04e4ab425f Implements correctly manual category list update
Implements #4953
2021-02-15 11:44:23 +01:00
Matteo Biscosi
1c3c8d8cea Removed application print from flow table and shortened info's len
Info lenght reduced to 24 like in the other pages
2021-02-15 10:41:09 +01:00
Matteo Biscosi
298d13c183 Fixes not showing error in tuning -x/-X from error msg
Implements #5035
2021-02-12 17:49:53 +01:00
Simone Mainardi
7e1a3ef51f Implements CIDR-matching of flow exclusion list rules 2021-02-12 17:24:26 +01:00