Commit graph

698 commits

Author SHA1 Message Date
emanuele-f
0a1a6c0a2b Remove alert rearming logic 2017-04-20 12:08:13 +02:00
emanuele-f
40828f2b66 Improve alert edges description and fix configuration fields width 2017-04-04 11:52:28 +02:00
emanuele-f
a0a767abbc Add host activity duration alert 2017-03-27 18:46:58 +02:00
Luca Deri
d358712f59 Optimized purging
Minor lua code cleanup
2017-03-13 22:47:30 +01:00
Josh Soref
78e78c018c Fixes spellings and typos
Thank goes to
Josh Soref <jsoref@users.noreply.github.com>
2017-03-06 17:54:48 +01:00
emanuele-f
88d2a3796c Fix parameter 2017-02-22 01:18:07 +01:00
emanuele-f
4a5f0cf8a3 Fix wrong quote in alerts 2017-02-17 12:11:49 +01:00
emanuele-f
5995ab536a Unify alert configuration code and place settings under alert icon 2017-02-13 21:17:59 +01:00
Emanuele Faranda
afdfac1c9c Lua scripts parameters validation (#970)
* partial work

* Migrate 'mode' parameters

* Migrate alerts types

* Fix some interface ids

* Partial work

* Partial work

* End of work for _GET parameters

* Work in progress

* Add support for special parameters

* Preferences validation

* Fixes and improvements

* Enforce interger validation
2017-02-08 12:25:35 +01:00
emanuele-f
05d4956fbd Adds missing quotes to href attributes 2017-02-02 15:52:09 +01:00
Simone Mainardi
3322cfe576 Prevents housekeeping alerts extra redis reads 2017-01-24 10:46:57 +01:00
Simone Mainardi
e8cffe9227 Implements periodic alerts rotation
Oldest alerts are periodically overwritten by newest ones
when a certain (user-configurable) threshold has been exceeded.
Rotation is performed periodically in a housekeeping.lua
2017-01-17 15:15:23 +01:00
emanuele-f
397d525d85 Use POST requests when required 2017-01-14 20:31:01 +01:00
Luca
30e1a75f98 (C) update 2017-01-10 15:03:16 -08:00
Simone Mainardi
f349ca344e Reworks alerts menu 2016-12-28 19:54:05 +01:00
Simone Mainardi
eca2c41049 Reworks alert counters (WIP)
Alert counters are now kept in sync only for engaged alerts.
Each host will show the current number of engaged alerts.
This alleviates the complexity of constantly keep the numbers
synchronized with the database.

Todo: see how to handle counters for flow alerts and past alerts.
2016-12-24 16:21:50 +01:00
Luca Deri
3443b76b06 Refined alert generation
Added refresh button in alert page
2016-12-17 12:33:34 +01:00
Luca Deri
7f8065d90b Fixed missing csrf field in alerts pages that caused flow deletion to fail
Improved flock checks heuristics to limit cgeneration of false positives
Added TCP flow alert generation in case of OOO/retransmission... > 10% of packets
2016-12-17 10:42:06 +01:00
emanuele-f
98e7f9e31f Change default retrigger time 2016-12-16 10:57:42 +01:00
emanuele-f
06872bd949 Fix tab being hidden after deleting all the alerts when a filter is set 2016-12-15 10:50:29 +01:00
Simone Mainardi
c4cd6200f9 Minor fixes for the alerts browser 2016-12-14 11:54:50 +01:00
emanuele-f
db01d1b211 Parameters pass simplification 2016-12-14 11:54:50 +01:00
emanuele-f
ecca16e402 Fix other tabs being filtered 2016-12-14 11:54:50 +01:00
emanuele-f
0f448fffc7 Flow alerts explorer integration and LUA alerts query unification 2016-12-14 11:54:50 +01:00
Luca
25185ce028 While the network interface has at least one engaged interface alert, expired flows are now triggering a flow alert 2016-12-13 01:19:50 +01:00
emanuele-f
ade100f190 Alert fixes 2016-12-09 11:45:28 +01:00
Simone Mainardi
282a289ef2 Fixes for alerts count consistency 2016-12-08 21:25:11 +01:00
Simone Mainardi
a6d914d7ad Implements flow alerts cap and fixes several issues with counters 2016-12-07 18:45:50 +01:00
Simone Mainardi
8bdc909d69 Refresh alert counters upon delete 2016-12-06 19:34:57 +01:00
Simone Mainardi
193d560168 Cosmetic changes to the alerts buttons 2016-12-06 15:34:51 +01:00
Emanuele Faranda
ce7f2fa69b Delete alerts period dropdown and to-delete count (#846) 2016-12-06 15:20:55 +01:00
Simone Mainardi
b8a5650501 Generalizes alerts raw sql query function 2016-12-05 16:29:17 +01:00
Luca Deri
71a0993022 Minor cosmetic changes
Reworked CSRF error message
2016-12-04 11:00:23 +01:00
emanuele-f
5d8723ba0c Unify alerts settings code 2016-12-03 00:56:39 +01:00
Simone Mainardi
aa74fb75d0 Localization for alerts lists 2016-12-02 19:57:33 +01:00
emanuele-f
05578243dd Do not redirect after alerts actions 2016-12-02 18:59:46 +01:00
emanuele-f
b3c0f42b74 Show alerts for inactive hosts 2016-12-02 17:36:11 +01:00
Simone Mainardi
1132ce3937 Adds duration column for engaged alerts list 2016-12-02 16:27:16 +01:00
emanuele-f
5a45f1e8da Delete past alerts and past flows alerts differently 2016-12-02 16:23:04 +01:00
emanuele-f
f0fcd0a2c3 re_arm alerts globally 2016-12-02 15:56:24 +01:00
Simone Mainardi
293497f908 Makes smaller delete buttons 2016-12-02 13:56:49 +01:00
Simone Mainardi
b7d79db6d5 Fixes for alerts visualization 2016-12-02 12:38:42 +01:00
emanuele-f
acb1d25bb5 Alerts delete by type, older than, by host 2016-12-02 11:28:03 +01:00
Simone Mainardi
5dd9c496e4 Improves flow alerts explorer links 2016-12-01 17:17:49 +01:00
Simone Mainardi
3613d052f2 Adds i18n for alerts 2016-11-30 20:13:26 +01:00
Simone Mainardi
d5f4889375 Adds a link to the historical alerts explorer 2016-11-25 20:10:16 +01:00
Simone Mainardi
4fa2950f8a Fix alert counters for filtered alerts 2016-11-25 11:05:20 +01:00
Simone Mainardi
715255412b Adds an All button to the alert filters 2016-11-24 19:06:24 +01:00
Simone Mainardi
a110518fab Implements alert filters 2016-11-24 18:59:30 +01:00
Simone Mainardi
3a1c14cf9a Implements alert filtering features 2016-11-23 18:26:38 +01:00