Commit graph

130 commits

Author SHA1 Message Date
gabryon99
24f054f009 add missing username for blog notifications (#5422)
The notifications backend it worked fine, but the frontend was missing the username variable to be in able to display the 'New' badge correctly
2021-05-31 10:25:54 +02:00
gabryon99
96afe6342e cleaning the javascript folder
All the *-utils.js files have been moved under `js/utils` folder. The makefile has been updated. The following scripts have been removed because they are not used anymore:
* `Chart.bundle.js`/`Chart.bundle.min.js`
* `address_chips.js` was a script used to implement in-house chips
* `main.js` file not used
2021-05-28 17:10:52 +02:00
Alfredo Cardigliano
72d6cc5e38 Add hyperlinks to alert numbers (implement #5334) 2021-05-28 15:56:33 +02:00
Alfredo Cardigliano
ba67279074 Fix formatters 2021-05-25 12:57:50 +02:00
Alfredo Cardigliano
a097c85052 Remove attacker2victim/victim2attacker columns. Add icons for attacker/victim. Add has_attacker/has_victim fitlers. (fix #5302) 2021-05-25 12:42:44 +02:00
Alfredo Cardigliano
36908af60f Fix dismiss buttons 2021-05-19 09:31:03 +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
Alfredo Cardigliano
c8731f5bfa Add filter support for host role (attacker/victim) 2021-05-14 19:37:56 +02:00
Alfredo Cardigliano
026571e6a7 Move all render code to datatable-utils. Cleanup attacker/victim rendering. 2021-05-14 19:01:39 +02:00
Alfredo Cardigliano
064c20db29 Implement support for alert filters using a dialog (WIP) 2021-05-13 19:02:28 +02:00
Simone Mainardi
b7f12727e2 Implements spillover description column for flow alerts 2021-05-12 18:43:12 +02:00
Alfredo Cardigliano
6c9b546383 Improve alert description for some families 2021-05-11 18:11:10 +02:00
Alfredo Cardigliano
41b72c1125 Cleanup alert description (move configset link as additional field). Add ellipsis to long descriptions, with tooltips. 2021-05-11 17:18:13 +02:00
Alfredo Cardigliano
fc85cc20ef Add alert name to the description. Add support for filtering on alert type (wip) 2021-05-11 12:33:51 +02:00
Simone Mainardi
74603b8fe6 Implements alerts summary page for engaged alerts 2021-05-10 12:20:27 +02:00
Matteo Biscosi
6171d8cd29 Fixes flow filters not working 2021-05-07 10:58:15 +02:00
Alfredo Cardigliano
9ab16ef788 Fix total alerts columns 2021-05-06 18:51:49 +02:00
Alfredo Cardigliano
1b58740579 Add colors to alertt dashboard. Cleanup duplicated css. 2021-05-06 18:47:29 +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
Alfredo Cardigliano
9c3c1fa3a9 Improve alert table look 2021-05-05 17:24:45 +02:00
Alfredo Cardigliano
cdcd1c800a Render severirty color (poc) 2021-05-05 15:41:31 +02:00
Alfredo Cardigliano
d8080ef14c Add score field to rest for all alert types. Set score color from severity. 2021-05-05 12:24:15 +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
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
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
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
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
59725e0355 add a test page containing datetimepicker range 2021-03-09 13:50:15 +01:00
gabryon99
dd9ed3958e unified action buttons for service map (#5050) 2021-03-04 11:53:32 +01:00
gabryon99
6efd1a65ff add range datatable filter 2021-01-25 16:17:34 +01:00
Matteo Biscosi
e1627733fe Reviewed top sites table graphic 2021-01-11 10:41:36 +01:00
gabryon99
07e747e538 improvements for pages layout (#4798) 2021-01-04 16:17:11 +01:00
gabryon99
f489710fa8 extended datatable utils 2020-12-23 18:26:27 +01:00
gabryon99
5d30509428 fixed misaligned button on scripts list 2020-12-03 11:25:06 +01:00
gabryon99
8aed231bf7 Reworked widget and datasources pages 2020-12-02 16:57:01 +01:00
gabryon99
f25722ce03 replaced old NotificationUtils calls with ToastUtils (#4780) 2020-11-26 14:31:39 +01:00
gabryon99
a5f74410f8 refactorized notifications into toasts (#4706) 2020-11-25 14:36:34 +01:00
gabryon99
a352941b8c set maximum threshold value to 10 second for https(s) measurement (#4759) 2020-11-23 16:23:14 +01:00
gabryon99
f2037d45f8 moved infrastructure dashboard to system interface view 2020-11-18 16:57:05 +01:00
gabryon99
f3d921a159 add external attribute for datatable buttons 2020-11-17 09:53:30 +01:00
gabryon99
24d1cb727a fixed missing error label 2020-11-05 19:07:40 +01:00
gabryon99
bf258ab15a rework for ui nofitications (#4630, #4615) 2020-10-26 19:13:50 +01:00
gabryon99
19ec0736bc improved flow exporters page (#4598) 2020-10-22 22:15:04 +02:00