Skip to content

Commit

Permalink
Fixes important alerts not displayed in the main page (#8754)
Browse files Browse the repository at this point in the history
  • Loading branch information
MatteoBiscosi committed Oct 14, 2024
1 parent 4e5a347 commit e9566f6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/flow_alerts/BlacklistedCountryAlert.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ class BlacklistedCountryAlert : public FlowAlert {
};
~BlacklistedCountryAlert(){};

bool autoAck() const { return false; };

FlowAlertType getAlertType() const { return getClassType(); }

bool isServer() { return is_server; }
Expand Down
2 changes: 2 additions & 0 deletions include/flow_alerts/FlowRiskTLSCertificateExpiredAlert.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ class FlowRiskTLSCertificateExpiredAlert : public FlowRiskAlert {
: FlowRiskAlert(c, f){ setAlertScore(getDefaultScore());};
~FlowRiskTLSCertificateExpiredAlert(){};

bool autoAck() const { return false; };

FlowAlertType getAlertType() const { return getClassType(); }
ndpi_risk_enum getAlertRisk() const { return getClassRisk(); }
};
Expand Down

0 comments on commit e9566f6

Please sign in to comment.