GithubHelp home page GithubHelp logo

fedemzcor / terraform-aws-waf-webacl-supporting-resources Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 31.0 21 KB

A module to create several resources needed by AWS WAF WebACL.

License: Apache License 2.0

HCL 100.00%

terraform-aws-waf-webacl-supporting-resources's Introduction

terraform-aws-waf-webacl-supporting-resources

This repository contains a module to create several resources needed by AWS WAF WebACL to:

  • Enable logging of traffic information[1].
  • Store logs in Parquet format[2] for more optimized query using Athena[3].
  • Provision query-ready Athena Database and Table which based on AWS Glue Data Catalog [4].

Based on the diagram above, the resources going to be created are:

  • S3 Bucket to store all traffic logs.
  • Kinesis Data Firehose[5] to deliver traffic logs from WAF WebACL to the S3.
  • Cloudwatch Log Group and Stream to store the Firehose delivery error information.
  • AWS Glue Catalog Database and Table which store metadata/schema of the log data.
    • One function of those resources is to make it possible the conversion from JSON to Parquet.
    • The other function is to provision Amazon Athena Database and Table which is ready to use to perform queries.
  • IAM Role and Permissions for the Firehose to do all those actions above.

Please Note: This module WILL NOT CREATE AWS WAF Rules and WebACL.

If you are wondering what kind of rules that you should create to protect your App, you might want to take a look at Related Modules section below.

Also, to get a full picture on how to make use of this module together with AWS WAF WebACL and Rules, check Examples section.

References

Examples

AWS WAF is divided into two, Global and Regional resources. Read this to understand better. These examples provided will tell you more on how they are implemented:

Related Modules

Author

Rafi Kurnia Putra

License

Apache 2 Licensed. See LICENSE for full details.

terraform-aws-waf-webacl-supporting-resources's People

Contributors

rafikurnia avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.