Automated commit of clang-format CI changes.

This commit is contained in:
lucaderi 2023-04-07 14:20:44 +00:00 committed by clang-format-bot
parent 2ecb162dfb
commit d395deac4e
604 changed files with 47610 additions and 38436 deletions

View file

@ -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_ */