mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-28 23:19:33 +00:00
Fix mitre rendering in host alerts custom queries
This commit is contained in:
parent
287c3e1806
commit
7e284e971b
1 changed files with 28 additions and 0 deletions
|
|
@ -392,6 +392,34 @@ local all_datatable_columns_def_by_tag = {
|
|||
['cli_country'] = build_datatable_column_def_country('cli_country', "db_search.tags.cli_country"),
|
||||
['srv_country'] = build_datatable_column_def_country('srv_country', "db_search.tags.srv_country"),
|
||||
['community_id'] = build_datatable_column_def_community_id('community_id', "db_search.tags.community_id"),
|
||||
['mitre_id'] = {
|
||||
title_i18n = "db_search.tags.mitre_id",
|
||||
data_field = "mitre_data",
|
||||
sortable = true,
|
||||
class = { "no-wrap" },
|
||||
render_type = "formatMitreId",
|
||||
},
|
||||
['mitre_tactic'] = {
|
||||
title_i18n = "db_search.tags.mitre_tactic",
|
||||
data_field = "mitre_data",
|
||||
sortable = true,
|
||||
class = { "no-wrap" },
|
||||
render_type = "formatMitreTactic",
|
||||
},
|
||||
['mitre_technique'] = {
|
||||
title_i18n = "db_search.tags.mitre_technique",
|
||||
data_field = "mitre_data",
|
||||
sortable = true,
|
||||
class = { "no-wrap" },
|
||||
render_type = "formatMitreTechnique",
|
||||
},
|
||||
['mitre_subtechnique'] = {
|
||||
title_i18n = "db_search.tags.mitre_subtechnique",
|
||||
data_field = "mitre_data",
|
||||
sortable = true,
|
||||
class = { "no-wrap" },
|
||||
render_type = "formatMitreSubTechnique",
|
||||
},
|
||||
}
|
||||
|
||||
-- #####################################
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue