Table of Contents

Interface ISensitiveContentEgressTelemetry

Namespace
MailFathom.Application.SensitiveContent.Egress
Assembly
MailFathom.Application.dll

Reports what guarding one egress point found and what it cost, without reporting any of it.

public interface ISensitiveContentEgressTelemetry

Remarks

The three questions an operator has about a switched-on scanner are whether it is finding anything, whether it is refusing anything, and what it is adding to a response. All three are answered per egress point, because a scanner that is quick on a subject and slow on a retrieved extract is one fact rather than two deployments.

Nothing recorded through this port is mail or derived from it. A category name, a rule name, a detector identity, and an egress point are MailFathom's own closed sets; a count, a character count, and a duration are numbers. The detected value, the text it sat in, and the position it sat at are none of an instrument's business — recording them would put the credential in the telemetry written to prove it never left.

Methods

RecordGuarded(SensitiveContentEgressPoint, RedactedText, TimeSpan)

Records one text that passed a guard, whatever the guard had to remove from it.

RecordRefused(SensitiveContentEgressPoint, SensitiveContentScannerKind)

Records one egress refused because the scanner guarding it could not answer.