Implement scan detection alerts for remote hosts

Closes #2068
This commit is contained in:
emanuele-f 2018-12-14 12:28:08 +01:00
parent 906993b006
commit af02c76c8b
12 changed files with 273 additions and 268 deletions

View file

@ -99,6 +99,11 @@ function callback_utils.getLocalHostsIterator(...)
return getBatchedIterator(interface.getBatchedLocalHostsInfo, "hosts", { ... })
end
-- A batched iterator over the remote hosts
function callback_utils.getRemoteHostsIterator(...)
return getBatchedIterator(interface.getBatchedRemoteHostsInfo, "hosts", { ... })
end
-- A batched iterator over the hosts (both local and remote)
function callback_utils.getHostsIterator(...)
return getBatchedIterator(interface.getBatchedHostsInfo, "hosts", { ... })