mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Flow alerts code cleanup
This commit is contained in:
parent
538e10770f
commit
08a8a7e6a6
46 changed files with 203 additions and 252 deletions
|
|
@ -34,7 +34,9 @@ class CustomFlowLuaScriptAlert : public FlowAlert {
|
|||
return {flow_alert_custom_lua_script, alert_category_security};
|
||||
}
|
||||
static u_int8_t getDefaultScore() { return SCORE_LEVEL_ERROR; };
|
||||
|
||||
|
||||
inline std::string get_msg() { return msg; };
|
||||
|
||||
CustomFlowLuaScriptAlert(FlowCheck* c, Flow* f) : FlowAlert(c, f){ setAlertScore(SCORE_LEVEL_ERROR); };
|
||||
~CustomFlowLuaScriptAlert(){};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue