mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Automated commit of clang-format CI changes.
This commit is contained in:
parent
2ecb162dfb
commit
d395deac4e
604 changed files with 47610 additions and 38436 deletions
|
|
@ -26,16 +26,23 @@
|
|||
|
||||
class FlowRiskURLPossibleSQLInjectionAlert : public FlowRiskAlert {
|
||||
public:
|
||||
static ndpi_risk_enum getClassRisk() { return NDPI_URL_POSSIBLE_SQL_INJECTION; }
|
||||
static FlowAlertType getClassType() { return FlowRiskAlerts::getFlowRiskAlertType(getClassRisk()); }
|
||||
static u_int8_t getDefaultScore() { return FlowRiskAlerts::getFlowRiskScore(getClassRisk()); }
|
||||
static ndpi_risk_enum getClassRisk() {
|
||||
return NDPI_URL_POSSIBLE_SQL_INJECTION;
|
||||
}
|
||||
static FlowAlertType getClassType() {
|
||||
return FlowRiskAlerts::getFlowRiskAlertType(getClassRisk());
|
||||
}
|
||||
static u_int8_t getDefaultScore() {
|
||||
return FlowRiskAlerts::getFlowRiskScore(getClassRisk());
|
||||
}
|
||||
|
||||
FlowRiskURLPossibleSQLInjectionAlert(FlowCheck *c, Flow *f) : FlowRiskAlert(c, f) { };
|
||||
~FlowRiskURLPossibleSQLInjectionAlert() { };
|
||||
FlowRiskURLPossibleSQLInjectionAlert(FlowCheck *c, Flow *f)
|
||||
: FlowRiskAlert(c, f){};
|
||||
~FlowRiskURLPossibleSQLInjectionAlert(){};
|
||||
|
||||
FlowAlertType getAlertType() const { return getClassType(); }
|
||||
ndpi_risk_enum getAlertRisk() const { return getClassRisk(); }
|
||||
u_int8_t getAlertScore() const { return getDefaultScore(); }
|
||||
ndpi_risk_enum getAlertRisk() const { return getClassRisk(); }
|
||||
u_int8_t getAlertScore() const { return getDefaultScore(); }
|
||||
};
|
||||
|
||||
#endif /* _FR_URL_POSSIBLE_SQL_INJECTION_ALERT_H_ */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue