Expand description
Abuse signal aggregation and enforcement.
The AbuseTracker correlates rate-limit hits, policy violations, and
anomalous patterns across actors, origins, and channels. It produces
graduated enforcement actions (allow / slowdown / quarantine) and
persists an audit trail to the abuse_events table.
Lives in AppState as Arc<RwLock<AbuseTracker>> so both API and
channel entry points share the same abuse view.
Structs§
- Abuse
Config - Configurable thresholds for abuse scoring.
- Abuse
Tracker - Correlates abuse signals across actors and produces enforcement actions.
Enums§
- Abuse
Action - Action the system should take for a given request.
- Signal
Type - Categories of abuse signals fed into the tracker.