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

stacklok / toolhive / 26912592654 / 1
66%
main: 66%

Build:
DEFAULT BRANCH: main
Ran 03 Jun 2026 09:03PM UTC
Files 747
Run time 42s
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

03 Jun 2026 08:57PM UTC coverage: 65.848% (+0.006%) from 65.842%
26912592654.1

push

github

web-flow
Thread VirtualMCPServer name into Cedar authz middleware (#5448)

Cedar authorization policies compiled by the operator reference the
actual VirtualMCPServer name as the resource entity (e.g. MCP::"my-vmcp").
The factory hard-coded the string "vmcp" when calling
authz.CreateMiddlewareFromConfig, so the resource entity never matched
and Cedar's default-deny fired on every request — 403 for all principals
regardless of policy.

Fix by adding a serverName parameter to NewIncomingAuthMiddleware and
newCedarAuthzMiddleware, and passing vmcpCfg.Name at the serve.go call
site. Adds a regression test that scopes a Cedar permit policy to a
specific resource name and asserts it is honoured.

Fixes #5428

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>

66398 of 100835 relevant lines covered (65.85%)

63.51 hits per line

Source Files on job 26912592654.1
  • Tree
  • List 747
  • Changed 7
  • Source Changed 2
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 26912592654
  • 4d3b392c on github
  • Prev Job for on main (#26908925086.1)
  • Next Job for on main (#26915584011.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