mcpjungle/MCPJungle

`/metrics` endpoint should only be accessible by admin in production mode

開放

#92 建立於 2025年9月9日

 (2 則留言) (0 個反應) (0 位負責人)Go (146 個分叉)auto 404
good first issuesecurity

倉庫指標

星標
 (1,162 顆星)
PR 合併指標
 (平均合併 3天 23小時) (30 天內合併 1 個 PR)

描述

What it says in the title should be pretty simple - you just have to add the requireAdminAccess() middleware in the /metrics route, before the prometheus middleware

貢獻者指南