Table of Contents

Interface IPersonalDataAnalyzerProbe

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

Establishes, before anything is scanned, that the personal-data analyzer this deployment configured answers.

public interface IPersonalDataAnalyzerProbe

Remarks

The personal-data scanner reaches an analyzer deployed beside the service, and the port above it fails closed: with the Pii switch on and that analyzer absent, every guarded read, write, and egress is refused. A deployment in that state is not degraded, it is stopped, so the question is asked once while the host is coming up rather than discovered one refused operation at a time.

It is a port of its own rather than a member of ISensitiveContentScanner because the two ask different questions of the same analyzer. A scan asks what a text carries and says nothing an operator can act on; this asks whether the analyzer is there at all, and its failure exists precisely to name the configuration key an operator has to fix. Neither one puts the analyzer's address in a message: this one carries it on the failure's own property instead.

Nothing registers an implementation unless the switch is on, so a deployment that never opted in never probes anything.

Methods

VerifyAvailableAsync(CancellationToken)

Verifies that the configured analyzer answers, and that it recognises at least one entity of every category this deployment switched on.