Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Suggestion] Kong 集成雷池拦截请求时,希望返回内容新增 request.id ,可追踪请求,有利于排查 #1160

Open
Zard-LRL opened this issue Feb 26, 2025 · 0 comments

Comments

@Zard-LRL
Copy link

What would you like to be added or improved?

源文档:KONG集成雷池

插件生效时返回的内容如下

{"code": 403, "success":false, "message": "blocked by Chaitin SafeLine Web Application Firewall", "event_id": "8b41a021ea9541c89bb88f3773b4da24"}

需求: 希望可以在内容中追加 request.id , 这在 Kong 网关日志中追踪请求链路时特别有帮助,尤其是在排查误封情况时

Why is it needed?

现在阶段 safeline 插件返回内容只提供了event_id,当被误封需要进行排查时总是很麻烦

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant