Commit graph

944 commits

Author SHA1 Message Date
gabryon99
283379c708 improvements on dropdown menu filter 2021-05-15 10:11:13 +02:00
gabryon99
0ba8590bcf porting to bs5 2021-05-15 09:56:12 +02:00
gabryon99
59e52e560c initial migration to bs v5 2021-05-12 11:52:25 +02:00
Simone Mainardi
175cdbabdc Removes severity from user scripts (now unified with score)
Addresses #5281
2021-05-04 17:59:39 +02:00
gabryon99
ab0b442608 fixes on alert stats and nindex query 2021-05-03 17:42:54 +02:00
gabryon99
ab289aec69 fixes on alert stats layout 2021-05-03 17:42:54 +02:00
gabryon99
93d8fb6a24 fix colors for alerts chart 2021-05-03 12:09:11 +02:00
gabryon99
ae384d8a34 new alerts page layout (#5230) 2021-05-03 12:00:54 +02:00
gabryon99
ab3cadd6b5 removes italic fro tags link 2021-04-30 10:38:17 +02:00
gabryon99
e7bd4a2eaa italic hyperlinks (#5207) 2021-04-29 10:09:13 +02:00
gabryon99
34269c8b43 various fixes on alert page (#5230, #5231) 2021-04-28 12:22:37 +02:00
gabryon99
ede0ac3f51 catch uncaught promise (#5238) 2021-04-28 10:52:23 +02:00
Simone Mainardi
bd2259b1fa Prevents exclusion lists to show up for unsupported families
Addresses #5212
2021-04-27 16:09:21 +02:00
gabryon99
6e0cd755cc fixes for missing value format (#5222) 2021-04-27 11:31:58 +02:00
gabryon99
0ad135e59c fixes on widgets.js after branch merge 2021-04-27 11:18:31 +02:00
Simone Mainardi
2278926da4 Merge branch 'alerts-store' into dev 2021-04-26 19:59:30 +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
f4fc72decb add spinner loading to hosts map (#5183) 2021-04-21 15:44:02 +02:00
gabryon99
0e9856a480 add custom tooltip formatter
Added a custom tooltip formatter to display better informations about the hovered bubble. (#5182, #5193)
2021-04-21 14:53:38 +02:00
gabryon99
c23590832a migrated charts from chart.js to apexcharts 2021-04-13 14:07:19 +02:00
gabryon99
6ae469ff98 initial work for new dashboard 2021-04-12 09:10:20 +02:00
gabryon99
efbf5e599f auto width for the actions columns 2021-04-11 23:15:50 +02:00
gabryon99
4b794a8d6b add visible_columns paramater and removed columns from get request 2021-04-02 14:21:58 +02:00
gabryon99
9e01ba70ee added new tags 2021-03-26 18:14:18 +01:00
Simone Mainardi
cfbf301e28 Allows builtin recipients to be edited 2021-03-25 09:44:51 +01:00
Luca Deri
a82c4979b9 nIndex query fixes 2021-03-23 19:10:38 +01:00
gabryon99
6ead87d958 added chips inside range-picker 2021-03-23 11:19:15 +01:00
gabryon99
7fe316a568 add save/load functions for the table view 2021-03-19 13:34:31 +01:00
gabryon99
a948cbea0f add toggle columns dropdown for the new datatables 2021-03-18 12:24:01 +01:00
gabryon99
d164d53f97 add bar chart to test picker page 2021-03-17 14:07:58 +01:00
Matteo Biscosi
6580aa2ac4 Implements empty exporters page
Implements #5095
2021-03-15 10:04:02 +01:00
gabryon99
b61e86d696 add table picker template 2021-03-10 16:14:29 +01:00
gabryon99
59725e0355 add a test page containing datetimepicker range 2021-03-09 13:50:15 +01:00
gabryon99
c81c96416a fix for reference error (#5080) 2021-03-08 16:18:51 +01:00
gabryon99
11629cc2f8 add filter label and fix for http_prefix for safari browser (#5080) 2021-03-08 16:05:04 +01:00
gabryon99
e914848edb add select for bubble mode (#5080) 2021-03-08 12:13:55 +01:00
gabryon99
f7fd20e760 removed unused README 2021-03-08 11:28:03 +01:00
gabryon99
d079589c9a rework hosts map with widget (#5080) 2021-03-08 11:28:03 +01:00
Alfredo Cardigliano
1a7dde59d3 Update js. Fix doc. 2021-03-08 11:23:30 +01:00
Alfredo Cardigliano
e86fffcc58 Add message to restart ntopng after importing all conf. Improve max post data check. Remove unnecessary exported modules. 2021-03-08 11:14:44 +01:00
gabryon99
dd9ed3958e unified action buttons for service map (#5050) 2021-03-04 11:53:32 +01:00
Matteo Biscosi
9d8ecf8701 Implements when listing raw flows UI fails to scale correctly
Implements #5073
2021-03-03 16:00:44 +01:00
Alfredo Cardigliano
fa311e3ade Rework user script working sets (a single configset is supported now) 2021-03-01 15:37:45 +01:00
gabryon99
08f2e68f0b add raw exclusion list for user script page (#5002) 2021-02-23 21:16:08 +01:00
Simone Mainardi
696bcb33e5 Implements alert exclusions for hosts, interfaces, local networks 2021-02-23 15:36:14 +01:00
gabryon99
6f229ffd01 add threshold_cross template 2021-02-23 12:58:33 +01:00
gabryon99
50fb275dcb add basic functionality for reset inside edit_user_script page 2021-02-23 12:58:33 +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
gabryon99
52be488258 improved url construction for service/periodicity map 2021-02-17 18:17:14 +01:00
Matteo Biscosi
711bcb21d0 Added exclusion list to the flow risk script 2021-02-17 11:46:45 +01:00