Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explanation of WAF? #40

Closed
jtatum opened this issue Jul 4, 2021 · 1 comment
Closed

Explanation of WAF? #40

jtatum opened this issue Jul 4, 2021 · 1 comment
Labels
question Further information is requested

Comments

@jtatum
Copy link

jtatum commented Jul 4, 2021

I consider myself relatively smart about AWS but I'm having trouble understanding what WAF will do for a static site. I see there are three rules enabled, the first blocking IPs by reputation which may help reduce costs. The second, bad inputs are meaningless to a static site, and the bot control rule set doesn't block anything, just tags traffic from bots in the panel. Maybe the docs could explain a little more about why you might want this option?

@petewilcock
Copy link
Contributor

Hi James - there are a few benefits of WAF but it's a judgement call on whether you want to enable them. I very nearly didn't include WAF, but due to the configuration requirements of CloudFront in Terraform, I didn't want to exclude it and make it difficult to add later.

  • Blocking bad inputs would be relevant if you didn't want these requests to appear on some downstream tracking, like Google Analytics, and pollute your data with junk that you'd have to work to filter out.
  • I haven't been opinionated about the blocking of bots, but the data on bot visits would be a good starting point for making this decision later.

Given WAF's relatively large cost vs. the aim of this being for minimal expenses, I haven't expended too much effort making it configurable, but agree this could be improved in future.

@petewilcock petewilcock added the question Further information is requested label Jul 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants