Skip to content

Latest commit

 

History

History
70 lines (49 loc) · 1.96 KB

README.md

File metadata and controls

70 lines (49 loc) · 1.96 KB

Complete AWS WAF (Web Application Firewall) Automation with Terraform (Regional / Global)

License: MIT Twitter: fidelissauro

waf

This is an automation purposes to manage v1 WAF rules using terraform. By default all resources are deployed on Regional Mode. But you can enable Global Mode to replicate WAF rules for a cloudfront context.

variable "global_mode" {
  default = true
}

Features (Roadmap)

  • Feature Flag ❌
  • Global Mode Rules Replication from Regional Rules (For Cloudfront) ❌
  • Bad IP's ✅
  • SQL Injection protection ✅
  • XSS protection ✅
  • DDoS protection (IP Rated) ✅
  • Generic insecure patterns for Querystrings ✅
  • Generic insecure patterns for URI ✅
  • Generic insecure patterns for BODY ❌
  • Regex pattern for BODY ✅
  • Regex pattern for URI ✅
  • Regex pattern for HEADER ❌
  • Monitoring with Kinesis and Elasticsearch and Kibana ❌
  • Elasticsearch Log Retention ❌

Install

terraform init
terraform apply

Author

👤 Matheus Fidelis

🤝 Contributing

Contributions, issues and feature requests are welcome!
Feel free to check issues page.

Show your support

Give a ⭐️ if this project helped you!

📝 License

Copyright © 2019 Matheus Fidelis.
This project is MIT licensed.