How do I allow a dynamic IP address from a provider or partner when using the anonymous IP list in AWS WAF?

0

Dear all,

I am facing issues with the partner sending requests to our resource that the anonymous IP list rule has blocked. As per checking, our partner is using dynamic IP so it's challenging to whitelist their IP. Do you have any advice to filter better than whitelist?

Thank you for your answer.

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

Hi, if possible, you may want your partner to add a custom header or a query string parameter (what come after the ? in URL) that you agree upon in the request as per https://docs.aws.amazon.com/waf/latest/developerguide/classic-web-acl-regex-conditions.html

Then, you filter on the presence of this header. This has some limitations as some hacker may fake the specific header of param that you add.

So, optimal solution is provided by the "Intelligent Threat API" but it's more demanding sincet his API needs to integrated in the application. See https://docs.aws.amazon.com/waf/latest/developerguide/waf-js-challenge-api.html

Your use case will dictate the amount of work that you want / can inject in your new WAF filtering

Best, Didier

profile pictureAWS
專家
已回答 2 年前
  • Thank Didier for your answer,

    Based on your command the custom is possible to set but it's related to the security lake if the hacker can fake the header param and Intelligent Threat API it's related to extra cost.

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

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

回答問題指南