Class DataClassificationRule
- Namespace
- Excalibur.Data.ElasticSearch.Security
- Assembly
- Excalibur.Data.ElasticSearch.dll
Defines data classification and encryption rules.
public sealed class DataClassificationRule
- Inheritance
-
DataClassificationRule
- Inherited Members
Properties
Classification
Gets the data classification level.
public ElasticSearchDataClassification Classification { get; init; }
Property Value
- ElasticSearchDataClassification
The sensitivity level of the data.
Enabled
Gets a value indicating whether this rule is enabled.
public bool Enabled { get; init; }
Property Value
- bool
True if the rule should be applied, false to disable.
EncryptionAlgorithm
Gets the encryption algorithm for this data type.
public string? EncryptionAlgorithm { get; init; }
Property Value
- string
The specific encryption algorithm to use, or null to use the default.
FieldPattern
Gets the field pattern to match for encryption.
[Required]
public string FieldPattern { get; init; }
Property Value
- string
A regular expression pattern matching field names that should be encrypted.