Commit graph

704 commits

Author SHA1 Message Date
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
bb3f8ed168 Implements efficient unexpected_new_device alert 2021-05-11 19:03:40 +02:00
Alfredo Cardigliano
adc665c847 Cleanup get proto name functions. Add master proto to flow alerts. 2021-05-06 10:31:16 +02:00
Simone Mainardi
b36f7cfe0c Minor elephant flow fix 2021-05-05 16:58:36 +02:00
Simone Mainardi
02934faf6e Optimizes flow callbacks (saves 24 bytes per flow) 2021-05-05 16:55:38 +02:00
Simone Mainardi
058ced16c5 Fixes for elephant flows description 2021-05-05 15:51:26 +02:00
Matteo Biscosi
0810ab0244 Removed duplicated function
Implements #5260
2021-05-03 18:31:30 +02:00
Matteo Biscosi
ed0033ab66 Removed html info from the alert msg downloaded
Implements #5260
2021-05-03 15:10:41 +02:00
Simone Mainardi
5b68083570 Fixes alert labels without VLANs 2021-04-27 18:09:36 +02:00
Alfredo Cardigliano
bca2040742 Add link to the past alerts fom the host 2021-04-27 14:54:38 +02:00
Simone Mainardi
04f7486f31 Implements support for VLANs in flow alerts drilldown 2021-04-27 14:39:42 +02:00
Simone Mainardi
4a9ed9d985 Fixes host link to the alerts page
Fixes #5240
2021-04-27 14:29:51 +02:00
Simone Mainardi
281dd3a8b4 Fixes host alert link in presence of VLANs 2021-04-27 14:25:57 +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
Matteo Biscosi
69724f8cdd Implements download link for nindex records 2021-04-08 09:37:35 +02:00
Alfredo Cardigliano
c5ca72c6ba Add alert_ngi_trust_event alerts 2021-04-07 13:07:38 +02:00
Matteo Biscosi
accef47f24 Fixed max length error in nindex table slice 2021-03-25 18:55:22 +01:00
Matteo Biscosi
c985fbf62b Implements new nindex table slice 2021-03-25 11:34:08 +01:00
Matteo Biscosi
b703f9d65d Updated new nindex raw flows table 2021-03-23 09:51:21 +01:00
Simone Mainardi
f61ffc045b Merge branch 'c-user-scripts' into dev 2021-03-22 10:36:13 +01:00
Simone Mainardi
aea9138bfb Implements flow callbacks and alerts in C++ 2021-03-22 09:51:36 +01:00
Matteo Biscosi
9c14f79a38 Fixes multiple filters showing up
Implements #4950
2021-03-16 17:35:12 +01:00
Matteo Biscosi
2df2ae82df Fixes require error 2021-03-08 18:59:16 +01:00
Matteo Biscosi
52276d25db Implements pool filter or selection on the flow page
Implements #4950
2021-03-08 18:51:00 +01:00
Matteo Biscosi
6c8258fa06 Implements pool filter or selection on the flow page
Implements #4950
2021-03-03 11:57:25 +01:00
Matteo Biscosi
fdfa2c6246 Implements [IPv6] suffix is not displayed
Implements #4336
2021-03-02 19:02:50 +01:00
Matteo Biscosi
debf0c412b Shortened mac address column in hosts list 2021-03-02 11:06:04 +01:00
Alfredo Cardigliano
d90fb8f8a5 Fix html tag stripping 2021-02-26 11:32:29 +01:00
Matteo Biscosi
f75331d2b5 Implements OS distribution
Implements #2874
2021-02-21 17:19:15 +01:00
Matteo Biscosi
7b80a28d94 Added vlan show, if needed, to hostinfo2lable function 2021-02-18 15:16:51 +01:00
Matteo Biscosi
0efb099981 Fixes add label to local networks
Fixes #4945
2021-02-04 09:48:13 +01:00
Matteo Biscosi
770abf38ac Implements #4945 add label to local networks 2021-02-02 13:26:46 +01:00
Matteo Biscosi
041a5de8b9 Implements #4941 Flow Alerts: Add L7 Column and Filter Menu 2021-01-29 09:45:01 +01:00
Matteo Biscosi
f7f27dd503 Implements #4933 possibility to filter out flows with DSCP 2021-01-28 11:03:56 +01:00
Matteo Biscosi
288463b5d0 Implements #4973 partial local broadcast domain calculation 2021-01-27 09:59:05 +01:00
gabryon99
1b2a37e852 aging filters for service map 2021-01-25 16:17:34 +01:00
Matteo Biscosi
3c6674e32d Fixed #2611 automatically delete alert older than 2021-01-18 18:12:53 +01:00
Simone Mainardi
9f8cfbe1c0 Fixes router mac address name shown to all IPs 2021-01-15 12:54:35 +01:00
Matteo Biscosi
205db16bb5 Fixed performaces regarding host name into maps 2021-01-12 16:41:15 +01:00
Simone Mainardi
f582504b32 Unifies functions to print info and version 2021-01-12 12:40:10 +01:00
Matteo Biscosi
4586833114 Fixed #4896 service map nodes have numerical label even though a symbolic name exists 2021-01-11 17:42:49 +01:00
Luca Deri
a1178a0791 Updated (C) 2021-01-02 12:08:23 +01:00
Luca Deri
eb92eb76de Added extra parameter to enable anchor generation only if timeseries exist. This check needs to be used when displaying reports of host timeseries 2021-01-02 11:58:37 +01:00
Alfredo Cardigliano
33415ad2dd Add support for traffic direction based on the MAC address (implement #4852) 2020-12-29 09:36:51 +01:00
Luca Deri
4e35b04b20 Added IEC utilities 2020-12-28 19:40:46 +01:00
Luca Deri
1c71571976 L7 HREFs generated when timeseries detail level not set to none 2020-12-26 10:46:25 +01:00
Luca Deri
ba12910095 HREF for nDPI timeseries are not produced when not in full detail mode 2020-12-26 10:33:25 +01:00
Luca Deri
5a455386cb Fixes #4750 2020-12-24 15:46:30 +01:00
Matteo Biscosi
72dbda8372 Fixed host resolved not showing into service table or map 2020-12-24 10:49:38 +01:00
gabryon99
00e12add95 removed service map and periodicity map from community 2020-12-23 18:26:28 +01:00