mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
Add back end autorefresh support. (#7733)
This commit is contained in:
parent
e019554856
commit
e752919067
4 changed files with 63 additions and 10 deletions
14
scripts/lua/rest/v2/get/host/vulnerability_scan_status.lua
Normal file
14
scripts/lua/rest/v2/get/host/vulnerability_scan_status.lua
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
--
|
||||
-- (C) 2013-23 - ntop.org
|
||||
--
|
||||
dirs = ntop.getDirs()
|
||||
package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path
|
||||
package.path = dirs.installdir .. "/scripts/lua/modules/host/?.lua;" .. package.path
|
||||
package.path = dirs.installdir .. "/scripts/lua/modules/vulnerability_scan/?.lua;" .. package.path
|
||||
|
||||
|
||||
require "lua_utils"
|
||||
local rest_utils = require "rest_utils"
|
||||
local vs_utils = require "vs_utils"
|
||||
|
||||
rest_utils.answer(rest_utils.consts.success.ok,{rsp = vs_utils.check_in_progress_status()})
|
||||
Loading…
Add table
Add a link
Reference in a new issue