[Task] Document network isolation requirement for /websocket endpoint
Description
The /websocket endpoint is intentionally listed in the Shiro anonymous whitelist to serve as the data synchronization channel between ShenYu Admin and Gateway nodes. However, there is no explicit documentation or configuration guidance warning operators that this endpoint must not be exposed to untrusted networks. Proposed Change:
Add comments in application.yml near the /websocket whitelist entry explicitly stating that the Admin port must only be reachable from trusted internal networks. Add a deployment security section to the official documentation covering network isolation requirements for the Admin plane.
Acceptance Criteria:
application.yml contains a comment warning that /websocket is unauthenticated by design and must be protected by network-level access controls. Official documentation includes a deployment checklist item for Admin port network isolation.
Task List
No response
👋 Hello @Aias00
A new issue has been opened by @Aias00:
- Title: [Task] Document network isolation requirement for /websocket endpoint
- Link: https://github.com/apache/shenyu/issues/6396
Please review when you have time. Thank you! 🙏
I'd like to work on this. I plan to add the warning next to the /websocket anonymous whitelist entry and update the deployment documentation with an Admin-plane network isolation checklist item.
I opened the implementation PRs:\n\n- Configuration warning: #6419\n- Deployment documentation: apache/shenyu-website#1125