Class SensitiveContentCategoryDefinition
- Namespace
- MailFathom.Application.SensitiveContent.Detection
- Assembly
- MailFathom.Application.dll
One category a scanner can look for, the rules inside it, and whether it is on when nothing names it.
public sealed record SensitiveContentCategoryDefinition : IEquatable<SensitiveContentCategoryDefinition>
- Inheritance
-
SensitiveContentCategoryDefinition
- Implements
- Inherited Members
Remarks
The default set is the product's opinion rather than a starting point an operator has to assemble, which is why the answer lives with the scanner that declares the category rather than in a deployment's configuration. Naming categories in configuration replaces that opinion outright instead of adding to it.
Properties
- Category
Gets the category being declared.
- DetectedByDefault
Gets whether this category is looked for by a deployment that names no categories of its own.
- Rules
Gets every rule inside the category, which are the names a suppression may reach.
Methods
- Create(SensitiveContentCategory, bool, IReadOnlyList<SensitiveContentRule>)
Declares a category.