gpt4 book ai didi

amazon-web-services - AWS WAF : How to make custom response code with managed rules for block actions

转载 作者:行者123 更新时间:2023-12-05 05:55:36 28 4
gpt4 key购买 nike

AWS 添加了返回自定义状态代码的选项,而不是默认的 403。

来自这里:https://aws.amazon.com/blogs/security/customize-requests-and-responses-with-aws-waf/我为自己的规则添加了自定义状态,但似乎对于托管规则(例如网络安全云托管规则),无法更改操作和状态。

有人可以帮忙吗?

最佳答案

为此您必须使用标签:https://docs.aws.amazon.com/waf/latest/developerguide/waf-rule-labels.html

编写自定义规则以对标签进行操作,然后对您创建的自定义规则进行自定义响应。

Use custom responses to change the default block action for a managed rule group

关于amazon-web-services - AWS WAF : How to make custom response code with managed rules for block actions,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/69432915/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com