Commit graph

196 commits

Author SHA1 Message Date
Alfredo Cardigliano
3a67f53b10 Implement pool policy editor 2021-05-18 16:48:53 +02:00
Simone Mainardi
622ed1ce52 Preserves time selection when switching between alert tabs
Fixes #5336
2021-05-18 14:14:10 +02:00
Matteo Biscosi
33d06f57f2 Merge branch 'bootstrap5' into dev 2021-05-18 11:40:37 +02:00
Simone Mainardi
1dce9e5842 Migrates to Bootstrap 5
Adds bootstrap-5.0.0-beta3-dist

Adds bootstrap-5.0.0

Updates bootstrap-5.0.0-beta3-dist to bootstrap-5.0.0-dist

initial migration to bs v5

porting to bs5

improvements on dropdown menu filter

fixed host map dropdown

removed excessive padding

fix button toggle

re-add blog news

removed text decoration for links

fix button layout (#5348)

remove underscore from href (#5347)
2021-05-18 11:39:59 +02:00
Simone Mainardi
12dcd87eed Show interface alerts also for the system interface
Fixes #5349
2021-05-18 10:57:37 +02:00
Alfredo Cardigliano
c3dfe67eb5 Add l7 proto and roles to flow alert filters 2021-05-17 14:23:18 +02:00
Alfredo Cardigliano
a635f36778 Add ability to edit alert filters 2021-05-17 12:27:36 +02:00
Alfredo Cardigliano
c8731f5bfa Add filter support for host role (attacker/victim) 2021-05-14 19:37:56 +02:00
Alfredo Cardigliano
206f1bb608 Move 'add filter' button to the tags bar. Fix filter dialog for all families (#5292) 2021-05-14 15:53:30 +02:00
Alfredo Cardigliano
30e0bd8675 Add ability to filter by alert type (#5292) 2021-05-14 15:23:28 +02:00
Alfredo Cardigliano
064c20db29 Implement support for alert filters using a dialog (WIP) 2021-05-13 19:02:28 +02:00
Simone Mainardi
b60fa155e0 Adds engaged alerts badge to the buttons 2021-05-12 10:24:01 +02:00
Simone Mainardi
a743a1604d Unifies names across alerts, pools and user scripts
Fixes #5311
2021-05-12 10:07:26 +02:00
Matteo Biscosi
8d48bd0199 Hidden delete button for non admin users
Implements #5307
2021-05-11 17:51:54 +02:00
Matteo Biscosi
1722733b71 Fixes filters not working into flow alert page 2021-05-11 16:20:27 +02:00
Alfredo Cardigliano
f801f86dc6 Add alert type to alert description and ability to filter on alert type for all alert families. (fix #5312) 2021-05-11 14:40:24 +02:00
Matteo Biscosi
5b940f5c35 Fixes Alert Type filter and label not showing 2021-05-11 13:03:12 +02:00
Simone Mainardi
33495e0188 Fixes system interface selection mixed between Lua and C++ 2021-05-11 12:51:34 +02:00
Alfredo Cardigliano
d8177b2a63 Fix alignment of alert filtering controls (fix #5271) 2021-05-10 18:00:55 +02:00
Matteo Biscosi
65f270d3be Fixes srv/cli port label filter not showing 2021-05-10 16:29:47 +02:00
Matteo Biscosi
5cd3b694d2 Implements front ed cli/srv port filtering 2021-05-10 16:19:32 +02:00
Simone Mainardi
2cbbb8ff3c Hides unused filters under the summary page 2021-05-10 12:58:39 +02:00
Simone Mainardi
74603b8fe6 Implements alerts summary page for engaged alerts 2021-05-10 12:20:27 +02:00
Luca Deri
1a59a9cc80 Updated alarm widget 2021-05-07 11:38:24 +02:00
Simone Mainardi
7dea0f7f35 Implements alert badges on top of the alerts page 2021-05-07 11:16:05 +02:00
Simone Mainardi
e20c09f829 Fixes ordering of alert entities in navbar 2021-05-06 18:35:03 +02:00
Simone Mainardi
0a0a841b02 Adds hyperlinks to the alerts summary page 2021-05-06 18:28:04 +02:00
gabryon99
e3b3af0865 fix for begin epoch 2021-05-06 16:56:14 +02:00
Simone Mainardi
c0a3b4c288 Implements alert report global page
Implements #5291
2021-05-06 16:44:06 +02:00
gabryon99
16f25fe474 fixes for delete alerts modal 2021-05-06 09:26:46 +02:00
Matteo Biscosi
afe1b21c0f Fixed wrong time format displayed into delete alerts and changed to modal format 2021-05-05 18:44:42 +02:00
Simone Mainardi
ddc3c3de6b Implements ability to disable all alerts
Implements #5283
2021-05-05 13:07:19 +02:00
gabryon99
e455fbbeca fixed icons size 2021-05-04 12:20:25 +02:00
gabryon99
ab0b442608 fixes on alert stats and nindex query 2021-05-03 17:42:54 +02:00
gabryon99
72818b6276 fixed nEdge apply button (#5259) 2021-04-30 09:59:55 +02:00
Matteo Biscosi
de1c22bd1b Removed debug print 2021-04-29 11:10:35 +02:00
Simone Mainardi
86793a9c37 Fixes page selection in alert_stats 2021-04-28 18:13:20 +02:00
Simone Mainardi
5bd58b4109 Implements histogram for engaged alerts 2021-04-28 17:41:33 +02:00
gabryon99
fdaf96aedb fixed navbar icons (#5247) 2021-04-28 12:38:23 +02:00
gabryon99
77603aaf82 changed icon for alerts navbar page (#5247) 2021-04-28 12:25:56 +02:00
gabryon99
74a6906c4c lightly rework for page's navbar (#5247) 2021-04-28 12:22:37 +02:00
gabryon99
cae138ef98 fixed default timestamp (#5244) 2021-04-28 10:52:23 +02:00
Simone Mainardi
65685339d0 Adds additional URL fiels in host and flow alerts
Implements #5232
2021-04-27 15:45:19 +02:00
Simone Mainardi
c7082a4647 Implements new alerts database and drilldown
alert store skeleton

Alert database type changes

Implement alert store for host alerts. All alert store skeletons.

Fix class method access

Enable tracing

Implements simple queries for host alerts

Implement flow alert store

Fixes escaping of INSERT queries

Flow alerts database schema fixes

Adds escaping for alert JSON in flows and hosts

Implements queries .select() for alerts store

Adds limit and offset to perform paginated queries

Adds new REST getter for flow alerts

Name changes alert_severity to severity, alert_json to json

Fixes alert message not shown

Implement active monitoring alerts store

Implements sort of queries in the new dataabase

Changes alert_type to alert_id

Implement mac alerts store

Fixes flow alert messages

Implement system alerts store

Implement snmp alert store

Add missing items to the flow alerts

Add missing items to the host alerts

Add missing items to the mac alerts

Implements COUNT aplerts api

Add device_name to snmp alerts

add flow alerts templates

updated gitignore

fix for missing order field

add families defined in `alert_store_schema.sql`

Reworks and simplifies alert store subclasses

Implements REST API to fetch alert timeseries

Fixes date in flow REST api

Host alert json fix

Add get/host/alert/list.lua

Move alert/list.lua to alert/past/list.lua

Add alert/past/list.lua for all alert families

Add entity_id to system table to identify the alert type based on <alert_id, entity_id>

Add missing field

Implements facilities to query engaged alerts via REST

Handle both historical and past alerts in alert/list.lua

Fix count

Update params of select_historical

Implement method to add family-specific filters

Add alert/ts.lua for all alert families

Implements facilities and REST endpoints to delete alerts

Implements ordering of alert queries

Fix add_order_by group_by

Rest API tests update

Tests output update

Remove debug trace

Use alert_id instead of type. Add more flow alert info.

Update http lint

Format obsolete tlv version alerts. Add more host info.

Add row_id to list of alerts

Fix selection of engaged alerts

Add test for mac alerts (bcast domains)

Removes attempt to format alerts as flow alerts

Fixes interface selection for active monitoring

Update test output with rest changes

Add more fields to be ignores

Set alert count to 1 for the time being

add bar timeseries chart

add apexcharts

improvements on timeseries bar chart

registered chart callbakcs

working on alert page

fix for date format

Fixes acrive monitoring REST API

Fixes alignment of grouped alert data

Additional fix for alert histogram

remove useless if

formatting alerts page

fixes on flows alert stats table

rename local networks to device

format host pagie in alert_stats

add tag support for hosts and flow

implemented single delete action

add release modal

Fixes format of threshold cross interface alerts

Fixes wrong increase of dropped alerts

Implements exclusion list for invalid dns queries

Reworks exclusions lists for hosts and flows

Addresses #5212
Addresses #5113

Adds host alert keys in host callbacks definitions

Adds alert ids to flow callbacks

fix for not working button (#5215)

Fixes reported timeseries name

removed any additional button inside chart's toolbar (#5200)

Add tables for interfaces, networks, users to the schema. Skeleton alert_store classes

fixed broken range picker layout in firefox (#5199)

Alert insert fixes

Add more info to network alerts

Add rest endpoint for interface, network, user alerts

Fix endpoint selection in alerts_stats

Unifies columns between engaged and past alerts

Fixes Missing mandatory 'alert_granularity'

Minor fixes for missing alert_severity

Fixes arithmetic on a nil value (field 'last_seen')

Fixes get/system/alert/list.lua

use tstamp for column names (#5221)

Implements host alert formatter

Add alerts_store format_record_common

Use common format_record for am, system alerts

Use common format_record for all alerts

Fixes formatting of alerts of all types

Fixes nil in function 'hostinfo2label'

fixes on disable modal

add pages for network, user and interface endpoint (#5224)

Set alert_entity in all classes

Unifies influxdb alerts into system alerts

Addresses #5224

Unifies process alerts into system alerts

Addresses #5224

Cleanup unused periodicActivityEntity

Unifies category lists alerts into system alerts

Addresses #5224

Aligns new alert enums

Addresses #5224

Fixes alert page links

Fixes insertion of interface alerts

Implement filters for Host alerts

Fixes active monitoring alerts not triggering

Implement filters on flow alerts

Fixes for internal alerts timestamp and subtype

implements disable for the alerts

formatted alert disable label

Add address and device type to mac alert records

fix for delete alert toggle

Fix access to entity_val in alert_unexpected_new_device

add mac address and device type inside table

Fixes for new alert fields not handled

Fixes alert_definitions to handle new fields

Add ip/port to snmp alert records

Implements deletion of stored flow alerts

Add alert_name to all alert records via rest. Fix duration.

fixes for snmp tab

Implements delete of past host alerts

Add name to snmp alert records

fixes on system tab

Fix Date column

fixes link

Update menu

Fixes bad argument #3 to 'format' in snmp alerts

updated interface link

new alerts url for host (#5228)

Fixes sort of engaged alert

Minor cleanup

Fixes data returned for local network alerts

Fix duration for one shot. Note.

Fix duration override

Fixes interface selection for system alerts

Move host alert page

fixes for local network tab

Minor fix

Fix engaged host alerts

fixes on user tab

Fix alert_user_activity message
2021-04-26 19:41:34 +02:00
gabryon99
15e601e797 edit stub REST endpoint (#5151) 2021-04-07 15:29:41 +02:00
gabryon99
d20b1e4739 implemented stub for the new alerts page 2021-04-07 12:53:07 +02:00