ntopng/scripts/lua/modules/alert_entities.lua
Luca Ferretti c2c33011b0
Implemented mitre_table_info inside database (#8554)
* added netbox documentation

* Update asset_inventory.rst

* added ndpi-protocols ipv6 rules

* updated ipv6 check for custom rule

* fix typo

* implemented mitre_table_info inside database
2024-07-24 15:50:07 +02:00

66 lines
1.8 KiB
Lua

--
-- (C) 2020-24 - ntop.org
--
-- ##############################################
-- Keep in sync with ntop_typedefs.h:AlertEntity and alert_store_schema.sql
local alert_entities = {
interface = {
entity_id = 0,
i18n_label = "alert_entities.interface",
alert_store_name = "interface",
}, host = {
entity_id = 1,
i18n_label = "alert_entities.host",
alert_store_name = "host",
}, network = {
entity_id = 2,
i18n_label = "alert_entities.network",
alert_store_name = "network",
}, snmp_device = {
entity_id = 3,
i18n_label = "alert_entities.snmp_device",
alert_store_name = "snmp_device",
}, flow = {
entity_id = 4,
i18n_label = "alert_entities.flow",
alert_store_name = "flow",
alert_key_fields = {"cli_ip","srv_ip","srv_port","proto"}
}, mac = {
entity_id = 5,
i18n_label = "alert_entities.mac",
alert_store_name = "mac",
--}, host_pool = {
-- entity_id = 6,
-- i18n_label = "alert_entities.host_pool",
-- alert_store_name = "system",
}, user = {
entity_id = 7,
i18n_label = "alert_entities.user",
alert_store_name = "user",
}, am_host = {
entity_id = 8,
i18n_label = "alert_entities.am_host",
alert_store_name = "am",
}, system = {
entity_id = 9,
i18n_label = "alert_entities.system",
alert_store_name = "system",
}, domain = {
entity_id = 12,
i18n_label = "alert_entities.domain",
}, mitre = {
entity_id = 13,
i18n_label = "alert_entities.mitre",
alert_store_name = "mitre",
}, other = {
entity_id = 15,
i18n_label = "alert_entities.other",
alert_store_name = "system",
}
}
-- ##############################################
return alert_entities