WAF使用Websockets保护API网关
我有一个用例,我应该使用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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
截至目前,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