Flow alerts code cleanup

This commit is contained in:
Alfredo Cardigliano 2024-12-06 10:52:35 +01:00
parent 538e10770f
commit 08a8a7e6a6
46 changed files with 203 additions and 252 deletions

View file

@ -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(){};