<PackageReference Include="Serilog.Exceptions" Version="8.1.0" />

Serilog.Exceptions.Filters.IExceptionPropertyFilter

public interface IExceptionPropertyFilter
Interface used for filtering exception properties. Filtering process is global, each property of every exception will go through a configured exception property filter.
bool ShouldPropertyBeFiltered(Exception exception, string propertyName, object value)

Called after the property was discovered and destructured but just before it is added to results.