doc: add documentation for Lua SCFlowHasAlerts

pull/2516/head
Mats Klepsland 8 years ago committed by Victor Julien
parent a2659ed7ec
commit edbb035160

@ -178,6 +178,22 @@ Example:
end
end
SCFlowHasAlerts
~~~~~~~~~~~~~~~
Returns true if flow has alerts.
Example:
::
function log(args)
has_alerts = SCFlowHasAlerts()
if has_alerts then
-- do something
end
end
SCFlowStats
~~~~~~~~~~~

Loading…
Cancel
Save