Giter Site home page Giter Site logo

aws-ss / terraform-aws-wafv2 Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 2.0 152 KB

A Terraform module that creates Web Application Firewall (WAFV2).

Home Page: https://registry.terraform.io/modules/aws-ss/wafv2/aws/latest

License: Apache License 2.0

HCL 100.00%
aws terraform wafv2

terraform-aws-wafv2's Introduction

terraform-aws-wafv2

A Terraform module that creates Web Application Firewall (WAFV2).

Available Features

  • Associate WebACL with one (ALB, API Gateway, Cognito User Pool)
  • Create IPSets
  • Create a WAFv2 Rule Group resource
  • Custom Response Body
  • Logging Configuration
  • Statements
    • AndStatement
    • ByteMatchStatement
    • GeoMatchStatement
    • IPSetReferenceStatement
    • LabelMatchStatement
    • ManagedRuleGroupStatement
    • NotStatement
    • OrStatement
    • RateBasedStatement
    • RegexPatternSetStatement
    • SizeConstraintStatement
    • SqliMatchStatement
    • XssMatchStatement

Examples

Requirements

Name Version
terraform >= 1.3.6
aws >= 4.51.0

Providers

Name Version
aws 4.62.0

Modules

No modules.

Resources

Name Type
aws_wafv2_web_acl.this resource
aws_wafv2_web_acl_association.this resource
aws_wafv2_web_acl_logging_configuration.this resource

Inputs

Name Description Type Default Required
custom_response_body (Optional) Defines custom response bodies that can be referenced by custom_response actions. map(any) {} no
default_action (Required) Action to perform if none of the rules contained in the WebACL match. string n/a yes
description (Optional) Friendly description of the WebACL. string null no
enabled_logging_configuration (Optional) Whether to create logging configuration. bool false no
enabled_web_acl_association (Optional) Whether to create ALB association with WebACL. bool true no
log_destination_configs (Required) The Amazon Kinesis Data Firehose, Cloudwatch Log log group, or S3 bucket Amazon Resource Names (ARNs) that you want to associate with the web ACL. string null no
logging_filter (Optional) A configuration block that specifies which web requests are kept in the logs and which are dropped. You can filter on the rule action and on the web request labels that were applied by matching rules during web ACL evaluation. any null no
name (Required) Friendly name of the WebACL. string n/a yes
redacted_fields (Optional) The parts of the request that you want to keep out of the logs. Up to 100 redacted_fields blocks are supported. map(any) null no
resource_arn (Required) The Amazon Resource Name (ARN) of the resource to associate with the web ACL. list(string) n/a yes
rule (Optional) Rule blocks used to identify the web requests that you want to allow, block, or count. any n/a yes
scope (Required) Specifies whether this is for an AWS CloudFront distribution or for a regional application string n/a yes
tags (Optional) Map of key-value pairs to associate with the resource. map(string) null no
visibility_config (Required) Defines and enables Amazon CloudWatch metrics and web request sample collection. map(string) n/a yes

Outputs

Name Description
aws_wafv2_arn The ARN of the WAF WebACL.
aws_wafv2_capacity Web ACL capacity units (WCUs) currently being used by this web ACL.
aws_wafv2_id The ID of the WAF WebACL.
aws_wafv2_tags_all Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.
aws_wafv2_web_acl_logging_configuration_id The Amazon Resource Name (ARN) of the WAFv2 Web ACL.

terraform-aws-wafv2's People

Contributors

semantic-release-bot avatar uyggnodoow avatar

Watchers

 avatar

terraform-aws-wafv2's Issues

rate_based_statement update

rate_based_statement does not support optional attributes

  • evaluation_window_sec
  • custom_key --> cookie

can this be added?

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.