Class ErasureOptions
- Namespace
- Excalibur.Compliance
- Assembly
- Excalibur.Compliance.Abstractions.dll
Configuration options for erasure processing.
public sealed class ErasureOptions
- Inheritance
-
ErasureOptions
- Inherited Members
Remarks
The default grace period is 72 hours to allow for:
- Cancellation of mistaken requests
- Legal hold integration
- Operational recovery
Properties
AllowImmediateErasure
Gets or sets whether to allow emergency immediate erasure (bypasses grace period). Requires elevated permissions. Default: false.
public bool AllowImmediateErasure { get; set; }
Property Value
DefaultGracePeriod
Gets or sets the default grace period before key deletion. Default: 72 hours.
public TimeSpan DefaultGracePeriod { get; set; }
Property Value
EnableAutoDiscovery
Gets or sets whether to automatically discover personal data. Default: true.
public bool EnableAutoDiscovery { get; set; }
Property Value
Execution
Gets or sets execution-related options (batch size, retry policy).
public ErasureExecutionOptions Execution { get; set; }
Property Value
KeyShredOnlyErasure
Gets or sets a value indicating whether GDPR erasure is accepted as complete on the basis of per-subject key destruction (crypto-shred) alone, without a data-inventory discovery source verifying store-level coverage.
public bool KeyShredOnlyErasure { get; set; }
Property Value
Remarks
A completion certificate is relied on as a compliance record, so it fails closed: when this is false (the default) and no data-inventory discovery source is registered, the erasure registration is rejected at startup, because a certificate must never be issued over coverage that was never verified. Set this to true to explicitly accept key-destruction-only erasure — the per-subject key is still shredded, and certificates report a coverage basis of key destruction rather than store-verified coverage. Default: false.
MaximumGracePeriod
Gets or sets the maximum grace period (cannot exceed GDPR deadline). Default: 30 days.
public TimeSpan MaximumGracePeriod { get; set; }
Property Value
MinimumGracePeriod
Gets or sets the minimum grace period (cannot be shorter). Default: 1 hour.
public TimeSpan MinimumGracePeriod { get; set; }
Property Value
NotifyOnCompletion
Gets or sets whether to notify data subject upon completion. Default: true.
public bool NotifyOnCompletion { get; set; }
Property Value
OperatesNoLegalHolds
Gets or sets a value indicating whether this deployment operates no legal holds, so erasure may run without a legal-hold service (default: false).
public bool OperatesNoLegalHolds { get; set; }
Property Value
Remarks
Erasure skips the legal-hold check when no legal-hold service is registered. That is correct for a deployment with no holds and irreversible for one that has them, so the absence must be declared rather than inferred: with this left false and no legal-hold service registered, startup fails instead of erasing past holds nobody checked. Setting it accepts that erasure requests will not be blocked by any hold.
RequireVerification
Gets or sets whether to require verification before issuing certificate. Default: true.
public bool RequireVerification { get; set; }
Property Value
Retention
Gets or sets retention-related options (certificate retention, signing keys).
public ErasureRetentionOptions Retention { get; set; }
Property Value
VerificationMethods
Gets or sets the verification methods to use. Default: AuditLog | KeyManagementSystem.
public VerificationMethod VerificationMethods { get; set; }