mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-22 02:38:59 +00:00
Tests update (label)
This commit is contained in:
parent
bdbc9a8d9f
commit
ea380dfce3
1 changed files with 1 additions and 1 deletions
|
|
@ -1,2 +1,2 @@
|
|||
{"success":true}
|
||||
{"rc":0,"rc_str":"OK","rc_str_hr":"Success","recordsFiltered":1,"recordsTotal":1,"rsp":{"records":[{"additional_alerts":{"descr":"DNS Packet Larger Than 512 bytes <a href=\"https://www.ntop.org/guides/nDPI/flow_risks.html#risk-037\" target=\"_blank\"><i class=\"fas fa-lg fa-question-circle\"></i></a> [Score: 100] [Query Type: 1] [Return Code: 0] [URL: <button id='copyHttpUrl' class='btn btn-light btn-sm border ms-1' style='cursor: pointer;'><i class='fas fa-copy'></i></button> <a class='ntopng-external-link' href='https://www.xt.com' target='_blank'><i class='fas fa-external-link-alt'></i> www.xt.com</a>] [Main Direction: Cli <i class='fas fa-arrow-right'></i> Srv], Malformed packet <a href=\"https://www.ntop.org/guides/nDPI/flow_risks.html#risk-017\" target=\"_blank\"><i class=\"fas fa-lg fa-question-circle\"></i></a> [Score: 100] [Query Type: 1] [Return Code: 0] [URL: <button id='copyHttpUrl' class='btn btn-light btn-sm border ms-1' style='cursor: pointer;'><i class='fas fa-copy'></i></button> <a class='ntopng-external-link' href='https://www.xt.com' target='_blank'><i class='fas fa-external-link-alt'></i> www.xt.com</a>] [Main Direction: Cli <i class='fas fa-arrow-right'></i> Srv], Remote to Remote [Score: 100] [Query Type: 1] [Return Code: 0] [URL: <button id='copyHttpUrl' class='btn btn-light btn-sm border ms-1' style='cursor: pointer;'><i class='fas fa-copy'></i></button> <a class='ntopng-external-link' href='https://www.xt.com' target='_blank'><i class='fas fa-external-link-alt'></i> www.xt.com</a>] [Main Direction: Cli <i class='fas fa-arrow-right'></i> Srv]"},"alert_id":{"label":"<i class=\"fas fa-fw fa-exclamation\"></i> Unexpected DNS server found","value":"33"},"alert_name":"<i class=\"fas fa-fw fa-exclamation\"></i> Unexpected DNS server found","cli_role":{"label":"Is Attacker","tag_label":"Is Attacker","value":"attacker"},"count":1,"description":{"descr":"Unexpected DNS server found: 127.0.0.1 [Score: 100] [Query Type: 1] [Return Code: 0] [URL: <button id='copyHttpUrl' class='btn btn-light btn-sm border ms-1' style='cursor: pointer;'><i class='fas fa-copy'></i></button> <a class='ntopng-external-link' href='https://www.xt.com' target='_blank'><i class='fas fa-external-link-alt'></i> www.xt.com</a>] [Main Direction: Cli <i class='fas fa-arrow-right'></i> Srv]"},"duration":55084395,"family":"flow","filter":{"bpf":"host 127.0.0.1 and host 127.0.0.1 and port 50435 and port 53","epoch_begin":1591551760,"epoch_end":1646636156},"flow":{"active_url":"/lua/flow_details.lua?flow_key=4261427416&flow_hash_id=0","cli_ip":{"country":"","label":"localhost","label_long":"localhost","name":"localhost","reference":"<a href='/lua/host_details.lua?host=127.0.0.1' data-bs-toggle='tooltip' title=''><i class='fas fa-laptop'></i></a>","value":"127.0.0.1"},"cli_port":"50435","srv_ip":{"country":"","label":"localhost","label_long":"localhost","name":"localhost","reference":"<a href='/lua/host_details.lua?host=127.0.0.1' data-bs-toggle='tooltip' title=''><i class='fas fa-laptop'></i></a>","value":"127.0.0.1"},"srv_port":"53"},"l7_proto":{"l4_label":"UDP","l7_label":"DNS","label":"UDP:DNS","value":"5"},"msg":{"configset_ref":" <a href=\"/lua/admin/edit_configset.lua?subdir=flow&check=unexpected_dns#all\"><i class=\"fas fa-cog\" title=\"Edit Configuration\"></i></a>","description":"Unexpected DNS server found: 127.0.0.1 [Score: 100] [Query Type: 1] [Return Code: 0] [URL: <button id='copyHttpUrl' class='btn btn-light btn-sm border ms-1' style='cursor: pointer;'><i class='fas fa-copy'></i></button> <a class='ntopng-external-link' href='https://www.xt.com' target='_blank'><i class='fas fa-external-link-alt'></i> www.xt.com</a>] [Main Direction: Cli <i class='fas fa-arrow-right'></i> Srv]","fullname":"Unexpected DNS server found","name":"Unexpected DNS server found","value":33},"proto":{"label":"UDP","value":"17"},"row_id":"1","score":{"color":"#ff3231","label":"170","value":170},"script_key":"unexpected_dns","severity":{"color":"#ff3231","label":"<i class='fas fa-fw fa-exclamation-triangle text-danger' style='color: #ff3231!important' title='Error'></i> ","value":5},"tstamp":{"highlight":"#ff3231","label":"18:42:40","value":1591551760},"vlan_id":"0"}],"stats":{"num_records_processed":"Processed 1 records [5,103 records/sec]","query":" SELECT 4 entity_id, (tstamp_end - tstamp) duration, *, hex(alerts_map) alerts_map FROM `flow_alerts` WHERE 1 = 1 ","query_duration_msec":0.19598007202148}}}
|
||||
{"rc":0,"rc_str":"OK","rc_str_hr":"Success","recordsFiltered":1,"recordsTotal":1,"rsp":{"records":[{"additional_alerts":{"descr":"DNS Packet Larger Than 512 bytes <a href=\"https://www.ntop.org/guides/nDPI/flow_risks.html#risk-037\" target=\"_blank\"><i class=\"fas fa-lg fa-question-circle\"></i></a> [Score: 100] [Query Type: 1] [Return Code: 0] [URL: <button id='copyHttpUrl' class='btn btn-light btn-sm border ms-1' style='cursor: pointer;'><i class='fas fa-copy'></i></button> <a class='ntopng-external-link' href='https://www.xt.com' target='_blank'><i class='fas fa-external-link-alt'></i> www.xt.com</a>] [Main Direction: Cli <i class='fas fa-arrow-right'></i> Srv], Malformed packet <a href=\"https://www.ntop.org/guides/nDPI/flow_risks.html#risk-017\" target=\"_blank\"><i class=\"fas fa-lg fa-question-circle\"></i></a> [Score: 100] [Query Type: 1] [Return Code: 0] [URL: <button id='copyHttpUrl' class='btn btn-light btn-sm border ms-1' style='cursor: pointer;'><i class='fas fa-copy'></i></button> <a class='ntopng-external-link' href='https://www.xt.com' target='_blank'><i class='fas fa-external-link-alt'></i> www.xt.com</a>] [Main Direction: Cli <i class='fas fa-arrow-right'></i> Srv], Remote to Remote [Score: 100] [Query Type: 1] [Return Code: 0] [URL: <button id='copyHttpUrl' class='btn btn-light btn-sm border ms-1' style='cursor: pointer;'><i class='fas fa-copy'></i></button> <a class='ntopng-external-link' href='https://www.xt.com' target='_blank'><i class='fas fa-external-link-alt'></i> www.xt.com</a>] [Main Direction: Cli <i class='fas fa-arrow-right'></i> Srv]"},"alert_id":{"label":"<i class=\"fas fa-fw fa-exclamation\"></i> Unexpected DNS server found","value":"33"},"alert_name":"<i class=\"fas fa-fw fa-exclamation\"></i> Unexpected DNS server found","cli_role":{"label":"Is Attacker","tag_label":"Is Attacker","value":"attacker"},"count":1,"description":{"descr":"Unexpected DNS server found: 127.0.0.1 [Score: 100] [Query Type: 1] [Return Code: 0] [URL: <button id='copyHttpUrl' class='btn btn-light btn-sm border ms-1' style='cursor: pointer;'><i class='fas fa-copy'></i></button> <a class='ntopng-external-link' href='https://www.xt.com' target='_blank'><i class='fas fa-external-link-alt'></i> www.xt.com</a>] [Main Direction: Cli <i class='fas fa-arrow-right'></i> Srv]"},"duration":55171215,"family":"flow","filter":{"bpf":"host 127.0.0.1 and host 127.0.0.1 and port 50435 and port 53","epoch_begin":1591551760,"epoch_end":1646722976},"flow":{"active_url":"/lua/flow_details.lua?flow_key=4261427416&flow_hash_id=0","cli_ip":{"country":"","label":"localhost","label_long":"localhost","name":"localhost","reference":"<a href='/lua/host_details.lua?host=127.0.0.1' data-bs-toggle='tooltip' title=''><i class='fas fa-laptop'></i></a>","value":"127.0.0.1"},"cli_port":"50435","srv_ip":{"country":"","label":"localhost","label_long":"localhost","name":"localhost","reference":"<a href='/lua/host_details.lua?host=127.0.0.1' data-bs-toggle='tooltip' title=''><i class='fas fa-laptop'></i></a>","value":"127.0.0.1"},"srv_port":"53"},"l7_proto":{"l4_label":"UDP","l7_label":"DNS","label":"UDP:DNS","value":"5"},"msg":{"configset_ref":" <a href=\"/lua/admin/edit_configset.lua?subdir=flow&check=unexpected_dns#all\"><i class=\"fas fa-cog\" title=\"Edit Configuration\"></i></a>","description":"Unexpected DNS server found: 127.0.0.1 [Score: 100] [Query Type: 1] [Return Code: 0] [URL: <button id='copyHttpUrl' class='btn btn-light btn-sm border ms-1' style='cursor: pointer;'><i class='fas fa-copy'></i></button> <a class='ntopng-external-link' href='https://www.xt.com' target='_blank'><i class='fas fa-external-link-alt'></i> www.xt.com</a>] [Main Direction: Cli <i class='fas fa-arrow-right'></i> Srv]","fullname":"Unexpected DNS server found","name":"Unexpected DNS server found","value":33},"proto":{"label":"UDP","value":"17"},"row_id":"1","score":{"color":"#ff3231","label":"170","value":170},"script_key":"unexpected_dns","severity":{"color":"#ff3231","label":"<i class='fas fa-fw fa-exclamation-triangle text-danger' style='color: #ff3231!important' title='Error'></i> ","value":5},"tstamp":{"highlight":"#ff3231","label":"07/06/2020 18:42:40","value":1591551760},"vlan_id":"0"}],"stats":{"num_records_processed":"Processed 1 records [4,804 records/sec]","query":" SELECT 4 entity_id, (tstamp_end - tstamp) duration, *, hex(alerts_map) alerts_map FROM `flow_alerts` WHERE 1 = 1 ","query_duration_msec":0.20813941955566}}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue