Uses of Interface
com.mcpdbwizard.pub.McpAuditSink
-
Uses of McpAuditSink in com.mcpdbwizard.pub
Classes in com.mcpdbwizard.pub that implement McpAuditSinkModifier and TypeClassDescriptionfinal classSends every record to several sinks, so a deployment can keep a local trail and stream.final classKeeps the audit trail on this machine for a bounded window, and deletes it when the window passes.classReferenceMcpAuditSinkthat publishes audit records to a Kafka topic.classWrites the audit trail to S3 as rolling JSONL objects.classSends audit records to Splunk's HTTP Event Collector.final classWrites every audit record to disk first, then delivers it to a delegate sink and deletes it only once the delegate confirms.classSends audit records to a syslog collector as RFC 5424 messages.Methods in com.mcpdbwizard.pub that return McpAuditSinkModifier and TypeMethodDescriptionstatic McpAuditSinkMcpAuditSinks.fromEnvironment()Build the configured sink, or a no-op when none is named.static McpAuditSinkMcpAuditSinks.fromEnvironment(String theSpoolSubdirectory) AsMcpAuditSinks.fromEnvironment(), but giving this process its own spool subdirectory.static McpAuditSinkMcpAuditSinks.fromEnvironment(String theSpoolSubdirectory, int theRetentionCeilingDays) AsMcpAuditSinks.fromEnvironment(String), capping the local trail's window.static McpAuditSinkMcpAuditSinks.noOp()A sink that discards everything, used when none is configured.static McpAuditSinkSpoolingAuditSink.wrap(McpAuditSink theDelegateValue) Build from the environment, wrapping the given delegate.static McpAuditSinkSpoolingAuditSink.wrap(McpAuditSink theDelegateValue, String theSubdirectoryValue) AsSpoolingAuditSink.wrap(McpAuditSink), but placing the spool in a named subdirectory.Methods in com.mcpdbwizard.pub that return types with arguments of type McpAuditSinkModifier and TypeMethodDescriptionFanOutAuditSink.sinks()The members, in the order they are told.Methods in com.mcpdbwizard.pub with parameters of type McpAuditSinkModifier and TypeMethodDescriptionvoidMcpMetrics.bindAuditSink(McpAuditSink theSinkValue) Report the audit sink, so a scrape carries the one number that says whether the trail can be relied on: how many records have been LOST.static McpAuditSinkSpoolingAuditSink.wrap(McpAuditSink theDelegateValue) Build from the environment, wrapping the given delegate.static McpAuditSinkSpoolingAuditSink.wrap(McpAuditSink theDelegateValue, String theSubdirectoryValue) AsSpoolingAuditSink.wrap(McpAuditSink), but placing the spool in a named subdirectory.Constructors in com.mcpdbwizard.pub with parameters of type McpAuditSinkModifierConstructorDescriptionFanOutAuditSink(McpAuditSink... theSinkValues) SpoolingAuditSink(McpAuditSink theDelegateValue, Path theDirectoryValue, long theMaxBytesValue, long theSegmentBytesValue, boolean theBlockFlagValue, boolean theFsyncFlagValue) SpoolingAuditSink(McpAuditSink theDelegateValue, Path theDirectoryValue, long theMaxBytesValue, long theSegmentBytesValue, boolean theBlockFlagValue, boolean theFsyncFlagValue, SpoolCipher theCipherValue) As above, with the cipher supplied rather than read from the environment.