• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

stacklok / toolhive / 20102857274 / 1
59%
main: 59%

Build:
DEFAULT BRANCH: main
Ran 10 Dec 2025 02:56PM UTC
Files 398
Run time 13s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

10 Dec 2025 02:55PM UTC coverage: 49.538% (+0.03%) from 49.507%
20102857274.1

push

github

web-flow
Add audit middleware to vMCP server (#2981)

* Add audit middleware to vMCP server

Integrate the existing ToolHive audit middleware into the Virtual MCP
Server to enable audit logging of MCP operations for security,
compliance, and debugging purposes.

Changes:
  - Add AuditConfig field to vMCP server Config struct
  - Add audit middleware initialization in Start() method
  - Position audit middleware in chain: Auth → Audit → Discovery → Telemetry
  - Use "streamable-http" transport type for vMCP audit events
  - Add unit tests for audit configuration handling

The audit middleware is optional (enabled when AuditConfig is provided)
and uses the existing pkg/audit infrastructure with MCP-specific event
types (mcp_tool_call, mcp_initialize, etc.).

Partially-closes: #2980

* changes from review

---------

Co-authored-by: taskbot <taskbot@users.noreply.github.com>

26670 of 53837 relevant lines covered (49.54%)

58.7 hits per line

Source Files on job 20102857274.1
  • Tree
  • List 398
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 20102857274
  • 19767615 on github
  • Prev Job for on main (#20098459397.1)
  • Next Job for on main (#20103459930.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc