mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Added the ability to set custom alert score
This commit is contained in:
parent
7078912d43
commit
ddd449ea90
75 changed files with 1586 additions and 1600 deletions
|
|
@ -37,12 +37,11 @@ class FlowRiskURLPossibleSQLInjectionAlert : public FlowRiskAlert {
|
|||
}
|
||||
|
||||
FlowRiskURLPossibleSQLInjectionAlert(FlowCheck *c, Flow *f)
|
||||
: FlowRiskAlert(c, f){};
|
||||
: FlowRiskAlert(c, f){ setAlertScore(getDefaultScore());};
|
||||
~FlowRiskURLPossibleSQLInjectionAlert(){};
|
||||
|
||||
FlowAlertType getAlertType() const { return getClassType(); }
|
||||
ndpi_risk_enum getAlertRisk() const { return getClassRisk(); }
|
||||
u_int8_t getAlertScore() const { return getDefaultScore(); }
|
||||
|
||||
bool autoAck() const { return false; };
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue