namespace ZB.MOM.WW.Audit;

/// <summary>Identity redactor — returns the event unchanged. The default when no policy is configured.</summary>
public sealed class NullAuditRedactor : IAuditRedactor
{
    /// <summary>Shared singleton instance.</summary>
    public static readonly NullAuditRedactor Instance = new();
    private NullAuditRedactor() { }

    /// <inheritdoc />
    public AuditEvent Apply(AuditEvent rawEvent) => rawEvent;
}
