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?

demandé il y a 2 ans276 vues
1 réponse
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
répondu il y a 2 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions