How to set custom Block response for managed rule sets in AWS WAF?

0

I need to set custom response header and response body for WAF WEB ACL that uses managed rule sets. How to override action to customized block instead of count?

已提問 2 年前檢視次數 275 次
1 個回答
0

You can customize web requests and responses in the following ways:

  • With allow, count, and CAPTCHA actions, you can insert custom headers into the web request. 
    
  • With block actions, you can define a complete custom response, with response code, headers, and body. 
    

https://docs.aws.amazon.com/waf/latest/developerguide/customizing-the-incoming-request.htmlis the link with more details and examples.

profile pictureAWS
已回答 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南