WAF使用Websockets保护API网关

发布于 2025-01-23 22:03:46 字数 164 浏览 2 评论 0原文

我有一个用例,我应该使用Websocket将客户端连接到Apigateway。我已经看到可以在REST API的情况下使用WAF规则配置API网关,但是我看不到可以在AWS控制台中添加到WAF保护资源的资源列表下的Websockets API网关。这是否意味着无法使用WAF保护Websocket连接到API网关?

I have a use case where i am supposed to connect my client to apigateway using websockets. I have seen the API gateway can be configured with WAF rules in case of a REST api but i am not able to see the websockets API gateway under the list of resources that can be added to WAF protected resource in AWS console. Does it mean that websocket connections to API gateway cannot be protected using WAF ?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

情话已封尘 2025-01-30 22:03:46

截至目前,WAF不能与Amazon API网关中的WebSocket API一起使用。但是,通过配置授权器和节流,您可以保护您的API。

参考: https://docs.aws.aws.amazon。 com/apigateway/lestest/developerguide/websocket-api-protect.html

As of now, WAF cannot be used with a WebSocket API in Amazon API Gateway. However, by configuring authorizer and throttling, you can protect your API.

Reference: https://docs.aws.amazon.com/apigateway/latest/developerguide/websocket-api-protect.html

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文