ntopng/httpdocs/tables_config/assets.json
2025-06-26 15:06:05 +02:00

127 lines
2.3 KiB
JSON

{
"id": "assets",
"data_url": "lua/pro/rest/v2/get/host/assets.lua",
"use_current_page": false,
"enable_search": true,
"paging": true,
"display_empty_rows": true,
"columns": [
{
"id": "actions",
"title_i18n": "actions",
"sortable": false,
"sticky": true,
"class": [
"text-nowrap",
"text-center"
],
"render_v_node_type": "button_list",
"button_def_array": [
{
"id": "details",
"icon": "fa-solid fa-magnifying-glass-plus",
"title_i18n": "asset_details_tooltip",
"class": [],
"event_id": "click_button_host_details"
},
{
"id": "historical_flows",
"icon": "fas fa-stream",
"title_i18n": "db_explorer.historical_data",
"class": [],
"event_id": "click_button_historical_flows"
},
{
"id": "delete",
"icon": "fas fa fa-trash",
"title_i18n": "delete",
"class": [],
"event_id": "click_button_delete"
}
]
},
{
"id": "ip_address",
"title_i18n": "ip_address",
"data_field": "ip_address",
"sortable": true,
"min-width": "180px",
"class": [
"text-nowrap"
]
},
{
"id": "name",
"title_i18n": "name",
"data_field": "host_name",
"sortable": true,
"min-width": "120px",
"class": [
"text-nowrap"
]
},
{
"id": "mac_address",
"title_i18n": "mac_address",
"data_field": "mac",
"min-width": "120px",
"sortable": true,
"class": [
"text-nowrap"
]
},
{
"id": "model",
"title_i18n": "model",
"data_field": "model",
"sortable": true,
"min-width": "120px",
"class": [
"text-nowrap"
]
},
{
"id": "os",
"title_i18n": "os",
"data_field": "os",
"sortable": true,
"min-width": "60px",
"class": [
"text-nowrap"
]
},
{
"id": "status",
"title_i18n": "status",
"data_field": "status",
"sortable": false,
"min-width": "70px",
"class": [
"text-nowrap",
"text-center"
]
},
{
"id": "first_seen",
"title_i18n": "first_seen",
"data_field": "first_seen",
"sortable": true,
"min-width": "120px",
"class": [
"text-nowrap",
"text-center"
]
},
{
"id": "last_seen",
"title_i18n": "last_seen",
"data_field": "last_seen",
"sortable": true,
"min-width": "120px",
"class": [
"text-nowrap",
"text-center"
]
}
]
}