We should optionally add the ability to enable audit log Middleware. This should play well along the OIDC and the authz middleware to enrich the log. In the past, I've implemented a set of audit events and middleware that we may optionally leverage: https://github.com/metal-toolbox/auditevent/blob/main/auditevent.go The information audit logs must contain is as follows: * Type of event: So we can classify the audit event. We can also classify by action taken. * Event timestamp: When did it happen? * Event source: Where did it come from? * Action outcome: did the action succeed, fail or error out? It would be ideal if we could also explain why. * Subject: What subject(s) was involved in the action? This would normally be the user taking the action on ToolHive. * Event target: where is the action being taken? This could be the REST resource. For more information, NIST's 800-53 AU controls have very good guidance on audit logs.
Activity
feat: implement audit log middleware for MCP servers
feat: implement audit log middleware for MCP servers
feat: implement audit log middleware for MCP servers
feat: implement audit log middleware for MCP servers