Table of Contents

Class SensitiveContentEgressRefusal

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

What one screened egress was stopped by, in the terms a caller may be told.

public sealed record SensitiveContentEgressRefusal : IEquatable<SensitiveContentEgressRefusal>
Inheritance
SensitiveContentEgressRefusal
Implements
Inherited Members

Remarks

It is the whole of what leaves SensitiveContentEgressScreen. A finding does not: it carries a rule name, a position, and a confidence, and a consumer holding one is a consumer that could write the position of a credential into a refusal message, a log line, or an audit record. What crosses out instead is the scanner and the category, which are MailFathom's own closed sets and are already what the instruments beside the screen record.

Both values are absent on a ceiling refusal, because nothing was found: the text simply ran past what one scan analyzes. That is why they are nullable rather than defaulted to the first scanner — a refusal reporting Secrets for a message no scanner had an opinion about would be read as a credential having been detected.

Properties

Category

Gets the kind of material found, or null where nothing was found.

Reason

Gets why the egress was stopped.

Scanner

Gets the scanner that found the material, or null where nothing was found.

Methods

AttachmentNotRead()

Reports a file the act would have carried out that nothing here could read, so nothing established what it holds.

ContentFound(SensitiveContentScannerKind, SensitiveContentCategory)

Reports a text carrying material of a category this egress point is screened for.

NotFullyScanned()

Reports a text whose remainder was never analyzed, so nothing established what it carries.