Table of Contents

Class SensitiveContentPosture

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

What one mail account's mail is scanned for, what a finding in it does, and what a derived row of it records.

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

Remarks

One deployment holds several of these, because a scanner switched on for one mailbox's correspondence is a cost with no return over another's — a work account carrying contracts and an archive nobody writes to are scanned differently under one user. What varies between them is only what is scanned for and what a finding stops: the analyzer's address, the analyzed ceiling, the per-scan budget, and the process-wide concurrency are the deployment's, and every posture reads mail through detectors registered once and permits budgeted once.

The three parts belong together because they are computed from one answer and would otherwise be resolved three times per text: the redaction that runs the scanners, the policy that decides which of their findings refuse an outgoing message, and the stamp a derived row records so a posture changed later is answerable rather than silently partial.

ScanningNothing is an ordinary state rather than a missing one. An account whose deployment switched both scanners off and whose own record switched neither on reads mail through a posture that constructs no detector, takes no permit, and stamps nothing, which is what keeps an opt-in nobody took free on every path.

Properties

IsActive

Gets whether anything is scanned for at all under this posture.

Redactor

Gets the redaction this account's mail is read through, or null where nothing scans it.

Scanners

Gets which scanners run over this account's mail, which is empty where nothing does.

ScanningNothing

Gets the posture of an account whose mail nothing is scanned for.

Screening

Gets which findings stop a message sent from this account rather than being read for a placeholder.

ScreensAnything

Gets whether a finding under this posture can stop a message sent from this account.

Stamp

Gets the configuration a derived row of this account's mail records, present exactly when Redactor is.

Methods

Runs(SensitiveContentScannerKind)

Reports whether one scanner runs over this account's mail.

Scanning(IReadOnlyList<SensitiveContentScannerKind>, SensitiveContentRedactor, SensitiveContentScreeningPolicy, SensitiveContentDerivationStamp)

Composes the posture of an account with at least one scanner switched on for its mail.