mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Add stub for cve score retriever. (#7858)
This commit is contained in:
parent
5e4bf02d5d
commit
e93d92c9b7
4 changed files with 49 additions and 3 deletions
17
scripts/lua/modules/vulnerability_scan/cve_utils.lua
Normal file
17
scripts/lua/modules/vulnerability_scan/cve_utils.lua
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
--
|
||||
-- (C) 2013-23 - ntop.org
|
||||
--
|
||||
-- **********************************************************
|
||||
|
||||
local dirs = ntop.getDirs()
|
||||
package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path
|
||||
package.path = dirs.installdir .. "/scripts/lua/pro/modules/?.lua;" .. package.path
|
||||
|
||||
local cve_utils = {}
|
||||
|
||||
function cve_utils.getCVEscore(cve_name)
|
||||
return '0'
|
||||
end
|
||||
|
||||
|
||||
return cve_utils
|
||||
Loading…
Add table
Add a link
Reference in a new issue