Alfredo Cardigliano
a4969a4316
Fix user scripts configuration import ( #5083 )
2021-03-04 15:28:50 +01:00
Simone Mainardi
80ed4e5b07
Fixes alert filters not being picked up after changes
2021-03-01 18:49:08 +01:00
Simone Mainardi
716d907ff1
Configset initialization fixes
2021-03-01 18:19:38 +01:00
Alfredo Cardigliano
fa311e3ade
Rework user script working sets (a single configset is supported now)
2021-03-01 15:37:45 +01:00
Simone Mainardi
76006d6250
Fixes IP reassignment code that is now per-interface
...
Implements #5038
2021-02-26 11:21:04 +01:00
Simone Mainardi
e82f318742
Adds exclusion filter for SNMP device alerts
2021-02-23 15:48:21 +01:00
Simone Mainardi
af90ee08c9
Removes a debug flag
2021-02-23 15:38:20 +01:00
Simone Mainardi
696bcb33e5
Implements alert exclusions for hosts, interfaces, local networks
2021-02-23 15:36:14 +01:00
Simone Mainardi
454f5c07ba
Fixes deletetion of user script configs leaving stale pools
2021-02-22 18:52:42 +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
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
7b80a28d94
Added vlan show, if needed, to hostinfo2lable function
2021-02-18 15:16:51 +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
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
Simone Mainardi
7e1a3ef51f
Implements CIDR-matching of flow exclusion list rules
2021-02-12 17:24:26 +01:00
Simone Mainardi
6d651f0661
mplements layer-4 protocol as filter for flow user scripts
2021-02-12 16:25:45 +01:00
Simone Mainardi
c0ee292530
Implements l7_proto as filter for flow user scripts
2021-02-12 16:08:27 +01:00
Simone Mainardi
8e271e29a4
Reworks user script exclusion lists matching functions
2021-02-12 15:43:48 +01:00
Simone Mainardi
84ac0f4dfc
Implements filtering of flow user scripts
2021-02-12 12:56:06 +01:00
Matteo Biscosi
edc1e16b7e
Removed message when trying to exclude two identical alerts
2021-02-12 11:44:36 +01:00
Matteo Biscosi
c77c689f94
Removed spaces by js when adding a new alert filter
2021-02-12 11:29:59 +01:00
Matteo Biscosi
59818f5540
Changed filters table path and Fixes reset script values
2021-02-12 10:59:16 +01:00
Simone Mainardi
211d678bd5
Implements user script filters getter
2021-02-12 09:53:10 +01:00
Simone Mainardi
fefc3c39b0
Reworks user script filters lint and functions
2021-02-11 17:59:35 +01:00
Matteo Biscosi
138f712591
Fixed exclusion list not updated
2021-02-11 17:41:46 +01:00
Matteo Biscosi
d6d0780507
Implements add the ability to suppress specific alerts
...
Implements #4942
2021-02-11 17:13:07 +01:00
Matteo Biscosi
769658268f
Implements add the ability to suppress specific alerts
...
Implements #4942
Partially implemented alerts exclusion list
Added User Script exclusion list to settings
Implements add the ability to suppress specific alerts
Implements #4942
2021-02-10 15:35:54 +01:00
Simone Mainardi
146b8fc1b0
Adds skeleton for alerts exclusion lists
...
Addresses #4942
2021-02-05 09:41:50 +01:00
Matteo Biscosi
76765da78b
Implements #4984 core Internet resources misuse script
2021-01-29 18:15:06 +01:00