Class DefaultEventSanitizer

java.lang.Object
org.apache.polaris.service.events.DefaultEventSanitizer
All Implemented Interfaces:
EventSanitizer

@ApplicationScoped public class DefaultEventSanitizer extends Object implements EventSanitizer
Default implementation of EventSanitizer. Drops attributes whose keys are on the denylist and derives safe attributes (e.g., CATALOG_NAME extracted from a denied CATALOG object) from the originals. The built-in denylist covers attributes that carry credentials or internal secrets and may be extended via polaris.event-listener.denylisted-attributes.

Operators who need a different denial or derivation policy should replace this bean.