[Bug]: Connector Activity docs promise Denied outcomes that are never recorded
Maintainer thường phản hồi trong vòng 1 ngày
Đánh giá
- Độ khó
- 1/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 88/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- javascript
- Lĩnh vực
- documentation
Hướng nghiên cứu
Đọc mục “Review activity” trong docs/connector-gateway/connectors.mdx và bước 3 trong docs/connector-gateway/support-connector-access.mdx. Cập nhật cả hai để giải thích rằng hiện tại Activity chỉ hiển thị các lệnh gọi được cho phép, và các lệnh gọi bị thiếu có thể do sự cố phía client hoặc do chính sách từ chối; hướng dẫn quản trị viên xem Connector Gateway audit log để phân biệt hai trường hợp. Hoàn tất khi cả hai mục không còn cam kết rằng các kết quả Denied được ghi lại và đưa ra hướng dẫn khắc phục sự cố nhất quán.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Page or section
docs/connector-gateway/connectors.mdx, "Review activity"docs/connector-gateway/support-connector-access.mdx, "Check a user's access", step 3
What's wrong?
Both pages say a connector's Activity tab lists each call's Outcome as Allowed or Denied. The troubleshooting step then reads: "A denied call points to the policy; no call at all points to the client configuration or connection."
Denied calls are never recorded in Activity. The usage emitter doesn't attribute a denied call to its connector, so the per-connector read can't return it (stacklok/stacklok-enterprise-platform#3901). On the demo cluster, blocking a tool for a group and calling it twice produced failed calls in the client and nothing in Activity. The audit log records the same refusals as application_error, not denied (stacklok/stacklok-enterprise-platform#5758).
So today, an admin following step 3 for a user blocked by policy sees no call at all. The docs then tell them to look at the client configuration, which is the wrong conclusion.
Suggested fix
Until the platform issues are fixed:
- In "Review activity", say that the tab currently shows allowed calls only, and that refusals by connector policy or a group tool restriction don't appear there.
- In "Check a user's access", rewrite step 3 so that "no calls" covers both client problems and policy refusals, and point admins to the Connector Gateway audit log to tell them apart.
When #3901 and #5758 land, restore the Denied wording and say which audit outcome a policy refusal produces.
Additional context
Found while walking through demo flows on the demo cluster, October 27, 2026.
Fully or partially written by an AI agent.
- Ngôn ngữ chính
- JavaScript
- Star
- 4
- Fork
- 4
- Merge trung bình
- 18 giờ 24 phút
- Pull request đã merge (30 ngày)
- 88
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của stacklok/docs-website
-
documentation enhancement needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
stacklok/docs-website#1285 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation enhancement needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
stacklok/docs-website#1258 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation enhancement needs-triage
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
stacklok/docs-website#1241 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug documentation needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
stacklok/docs-website#1149 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
stacklok/docs-website#564 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của stacklok/docs-website
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
bigcalendar/react-big-calendar#2823 ·
-
feature t-tooling
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
Maintainer thường phản hồi trong vòng 1 ngày
-
neutral:fix
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation enhancement
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
OWASP/cve-lite-cli#1480 ·
Maintainer thường phản hồi trong vòng 2 ngày