diff options
Diffstat (limited to 'crates/trc/src/lib.rs')
-rw-r--r-- | crates/trc/src/lib.rs | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/crates/trc/src/lib.rs b/crates/trc/src/lib.rs index d8551d33..c3e914ae 100644 --- a/crates/trc/src/lib.rs +++ b/crates/trc/src/lib.rs @@ -182,6 +182,7 @@ pub enum EventType { IncomingReport(IncomingReportEvent), OutgoingReport(OutgoingReportEvent), Telemetry(TelemetryEvent), + Security(SecurityEvent), } #[event_type] @@ -196,6 +197,14 @@ pub enum HttpEvent { } #[event_type] +pub enum SecurityEvent { + AuthenticationBan, + BruteForceBan, + LoiterBan, + IpBlocked, +} + +#[event_type] pub enum ClusterEvent { PeerAlive, PeerDiscovered, @@ -371,6 +380,7 @@ pub enum SmtpEvent { LhloExpected, MailFromUnauthenticated, MailFromUnauthorized, + MailFromNotAllowed, MailFromRewritten, MailFromMissing, MailFrom, @@ -639,7 +649,6 @@ pub enum NetworkEvent { Closed, ProxyError, SetOptError, - DropBlocked, } #[event_type] @@ -915,7 +924,6 @@ pub enum AuthEvent { Failed, MissingTotp, TooManyAttempts, - Banned, Error, } |