Fix Delete on all alerts page (add missing rest endpoint)

This commit is contained in:
Alfredo Cardigliano 2021-06-11 14:46:04 +02:00
parent b48c1e73e1
commit 5a0d0c37ae
2 changed files with 43 additions and 1 deletions

View file

@ -14,7 +14,7 @@ local flow_alert_store = require "flow_alert_store".new()
--
-- Read alerts data
-- Example: curl -u admin:admin -H "Content-Type: application/json" -d '{"ifid": "1"}' http://localhost:3000/lua/rest/v1/delete/host/alerts.lua
-- Example: curl -u admin:admin -H "Content-Type: application/json" -d '{"ifid": "1"}' http://localhost:3000/lua/rest/v1/delete/flow/alerts.lua
--
-- NOTE: in case of invalid login, no error is returned but redirected to login
--