Commit graph

3296 commits

Author SHA1 Message Date
gabryon99
ae384d8a34 new alerts page layout (#5230) 2021-05-03 12:00:54 +02:00
Alfredo Cardigliano
ad40836af9 Move link to active/historical flows to the acitons (fix #5258) 2021-05-03 10:52:37 +02:00
Matteo Biscosi
ba4dda96b6 Implements alerts column size in uneven
Implements #5242
2021-05-03 10:11:50 +02:00
Matteo Biscosi
26a9245512 Implements nIndex Drilldown - Failing at finding records
Implements #5251
2021-04-30 15:40:12 +02:00
Matteo Biscosi
a37a74865f Added new columns to flow alerts and fixed variable width
Implements #5256 #5231 #5242
2021-04-30 15:32:53 +02:00
Matteo Biscosi
4b699226c9 Fixes alert download button broken and changed to txt
Implements #5260
2021-04-30 12:38:52 +02:00
gabryon99
ab3cadd6b5 removes italic fro tags link 2021-04-30 10:38:17 +02:00
gabryon99
f99e7d4830 gui improvments 2021-04-30 10:38:17 +02:00
Matteo Biscosi
c09cc88f15 Fixes wrongly params given
Implements #5257
2021-04-30 10:15:38 +02:00
Matteo Biscosi
11f09f944a Fixes broken IP selection in Disable Alerts dialog 2021-04-30 10:14:38 +02:00
gabryon99
bb4e3f7d64 removed misplaced end 2021-04-30 10:01:29 +02:00
gabryon99
72818b6276 fixed nEdge apply button (#5259) 2021-04-30 09:59:55 +02:00
gabryon99
9d2abd076f hidden download records button 2021-04-30 09:59:50 +02:00
Simone Mainardi
690b603199 Fixes invalid <form> tag in modal_confirm_dialog.html 2021-04-30 09:51:09 +02:00
Matteo Biscosi
5b6e2c0b3c Implements alerts action column size is uneven
Implements #5242
2021-04-29 12:34:09 +02:00
Matteo Biscosi
6ec0acacbc Implemented alerts download record button 2021-04-29 11:06:45 +02:00
gabryon99
e7bd4a2eaa italic hyperlinks (#5207) 2021-04-29 10:09:13 +02:00
Matteo Biscosi
b382215b8a Implements #5234 missing hyperlinks 2021-04-28 18:26:10 +02:00
Simone Mainardi
5bd58b4109 Implements histogram for engaged alerts 2021-04-28 17:41:33 +02:00
Matteo Biscosi
aa5daceb7a Added hyperlink and reviewed alert icons and severity style 2021-04-28 16:35:04 +02:00
gabryon99
1bb37f4aa9 improvement on style for navbar 2021-04-28 13:11:41 +02:00
gabryon99
9c4c84fba6 improvements on range picker selection 2021-04-28 13:08:09 +02:00
gabryon99
a16348c7c5 fix on get params 2021-04-28 12:53:35 +02:00
gabryon99
34269c8b43 various fixes on alert page (#5230, #5231) 2021-04-28 12:22:37 +02:00
gabryon99
74a6906c4c lightly rework for page's navbar (#5247) 2021-04-28 12:22:37 +02:00
Alfredo Cardigliano
b2a6ff60f9 Enable updates logging 2021-04-28 09:28:03 +00:00
gabryon99
cae138ef98 fixed default timestamp (#5244) 2021-04-28 10:52:23 +02:00
gabryon99
ede0ac3f51 catch uncaught promise (#5238) 2021-04-28 10:52:23 +02:00
Alfredo Cardigliano
d2bce17c7a Update all repo to avoid dependency issues 2021-04-28 10:42:38 +02:00
Simone Mainardi
6a232acb72 Fixes engaged tables enabled for unsupported alerts 2021-04-27 18:38:43 +02:00
Simone Mainardi
23dd9a0a24 Fixes exclusion buttons shown on unsupported alerts
Addresses #5212
2021-04-27 18:32:54 +02:00
gabryon99
8b7235f0db fixed download records button on nindex query 2021-04-27 17:16:25 +02:00
gabryon99
d857e3236f fixes on range picker maxDate 2021-04-27 17:04:32 +02:00
gabryon99
a89665cb6b fix for range picker 2021-04-27 16:57:48 +02:00
Simone Mainardi
bd2259b1fa Prevents exclusion lists to show up for unsupported families
Addresses #5212
2021-04-27 16:09:21 +02:00
Simone Mainardi
65685339d0 Adds additional URL fiels in host and flow alerts
Implements #5232
2021-04-27 15:45:19 +02:00
gabryon99
2f7145e659 fixed tooltip on dark mode 2021-04-27 11:36:51 +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
b5e3f70a8d fixed tag operator 2021-04-21 15:28:16 +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
Matteo Biscosi
3ea8d98fb3 Fixes host map reload button is not consistent
Implements #5184
2021-04-21 10:47:31 +02:00
gabryon99
3be3b5dc7b fixes on nindex query page 2021-04-20 12:44:41 +02:00
Alfredo Cardigliano
6da5e79787 Improve OS detection in updates script (OracleLinux) 2021-04-20 12:16:32 +02:00
gabryon99
322149bd48 add reload button and bubble_mode to the url (#5181) 2021-04-17 10:08:28 +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