Class AuditOptions
Options for configuring auditing.
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: IRM.AspNetCore.Identity
Assembly: IRM.AspNetCore.Identity.dll
Syntax
public class AuditOptions
Properties
EnableAuditCleanup
Gets or sets a value indicating whether audit entries older than MaxAge will be automatically cleaned up from the database.
Declaration
public bool EnableAuditCleanup { get; set; }
Property Value
Boolean
|
Remarks
Cleaning of audit logs is required to be compliant with GDPR.
MaxAge
Gets or sets the max age of audits to keep. Set this to a value to automatically clean up audit posts older than the defined value. The default value is 365 days (or a year).
Declaration
public TimeSpan MaxAge { get; set; }
Property Value
TimeSpan
|
Remarks
Cleaning of audit logs is required to be compliant with GDPR.