Skip to content

feat: MCP: 运营数据MCP权限访问控制优化,特定业务授权访问 --story=135844616 - #11374

Open
EASYGOING45 wants to merge 1 commit into
TencentBlueKing:masterfrom
EASYGOING45:feat/operation_mcp_permission_mode_optimization/#1010158081135844616
Open

feat: MCP: 运营数据MCP权限访问控制优化,特定业务授权访问 --story=135844616#11374
EASYGOING45 wants to merge 1 commit into
TencentBlueKing:masterfrom
EASYGOING45:feat/operation_mcp_permission_mode_optimization/#1010158081135844616

Conversation

@EASYGOING45

Copy link
Copy Markdown
Collaborator

No description provided.

运营数据为平台总量,但鉴权按调用方传入的 bk_biz_id 校验,导致用户只要在自有业务上
拥有 using_operation_mcp 权限即可解锁全平台运营数据。新增全局配置 OPERATION_MCP_AUTH_BIZ_ID,
配置(>0)后运营 MCP 忽略调用方传入的 bk_biz_id,统一在该固定运营业务上做 IAM 校验;
未配置时保持原行为并打醒目告警提示越权风险。

Co-authored-by: Cursor <cursoragent@cursor.com>
# Reviewed, transaction id: 82877
@EASYGOING45 EASYGOING45 added feat A new feature. Correlates with MINOR in SemVer project/monitor project monitor labels Jul 6, 2026
@EASYGOING45
EASYGOING45 requested a review from pegasusljn July 8, 2026 07:00
@EASYGOING45 EASYGOING45 added the project/aiops project aiops label Jul 8, 2026
@tencentblueking-adm

tencentblueking-adm commented Jul 16, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feat A new feature. Correlates with MINOR in SemVer project/aiops project aiops project/monitor project monitor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants