mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Add flow and host remediation.
This commit is contained in:
parent
183d89c216
commit
74ec6975b4
8 changed files with 531 additions and 3 deletions
|
|
@ -15,6 +15,13 @@ function flow_risk_utils.get_documentation_link(risk_id)
|
|||
return link
|
||||
end
|
||||
|
||||
function flow_risk_utils.get_remediation_documentation_link(risk_id)
|
||||
local url = string.format("https://www.ntop.org/guides/ntopng/remediations/flow_risks.html#risk-%.3u", risk_id)
|
||||
local link = string.format('<a href="%s" target="_blank"><i class="bi bi-lightbulb"></i></a>', url)
|
||||
|
||||
return link
|
||||
end
|
||||
|
||||
-- ##############################################
|
||||
|
||||
--@brief Returns a table with all available risk strings, keyed by risk id.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue