MCPcopy Create free account
hub / github.com/Mnexa-AI/e2a / scanReason

Function scanReason

internal/relay/screening.go:153–158  ·  view source on GitHub ↗
(agg piguard.Aggregate)

Source from the content-addressed store, hash-verified

151}
152
153func scanReason(agg piguard.Aggregate) string {
154 if len(agg.Categories) == 0 {
155 return "content scan flagged the message"
156 }
157 return "content scan: " + agg.Categories[0].Name
158}
159
160// writeProtectionEvents appends the audit rows best-effort. Deterministic ids +
161// ON CONFLICT DO NOTHING make an MTA-retried re-screen idempotent, so writing

Callers 1

screenInboundMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected