AWS Firewall Factory - v4.6.2

๐Ÿ“ฆ Releases | ๐Ÿ”– Imprint | ๐Ÿ“… Meeting | ๐Ÿšง Feature request | ๐Ÿ› Bug Report

A crucial security component for every web app. It acts as a protective barrier between your application and potential threats. Offering a range of practical functionalities to mitigate known risks, emerging threats, harmful activities and many more. โœจ AWS Firewall Factory has extended its capabilities to support Advanced Shield policy deployment through AWS Firewall Manager. The Advanced Shield stacks are available starting with our version 4.5 release.

An open-source solution that helps you deploy, update and stage your Web Application Firewalls at scale while managing them centrally via AWS Firewall Manager.

It automates your security management, can be tailored with individual WAF configurations and alligns with AWS best-practices.

  • โ™พ๏ธ Fully automated to centralize your WAF Deployment & Management: It simplifies the entire process by minimising administrative effort. Making it easier for you to ensure consistent protection and overseeing your WAF across applications.

  • ๐Ÿ›ก๏ธ Fully automated to centralize your Advanced Shield Policy Deployment: Supports deployment of AWS Advanced Shield Policy through AWS Firewall Manager. You can now seamlessly protect your resources fom DDoS attacks across your accounts in a centralised manner.

  • ๐Ÿ”– Comprehensive Testing with Detailed Reports: It uncovers wether your application is resilient or not and reports issues precisely. With these insights you can dive deep into strengthening your applicationโ€™s weaknesses.

  • ๐Ÿงฎ Automate Calculation of Your WAF's Costs: Your smart assistant that overtakes cost estimations in a transparent way, helping you associate expenses to the exact security measures. This will boost your financial planning.

  • ๐Ÿ’Œ Notifications about Ddos or Managed Rule Group Changes: Get notified about potential DDoS activity for protected resources or changes in AWS managed rule groups, such as upcoming new versions and urgent security updates.

  • โœ… Additional features such as centralized dashboards and logging: Monitor every security event in real time to be able to defend against potential threads and anomalies immediately.

All releases are tested prior to release using automated test workflows of sample firewalls to ensure code quality and test coverage. Here is the current state for our automated test workflows.

Test Status
CodeQL CodeQL
Linting linting
WAF Deployment - Only Managed Rule Groups onlyManagedRuleGroups
WAF Deployment - Only Managed Rule Groups with Excludes rateBasedwithScopeDown
WAF Deployment - IpSets IpSets
WAF Deployment - RegexPatternSets regexPatternSets
WAF Deployment - RateBasedwithScopeDown rateBasedwithScopeDown
AutoUpdatedManagedIpSet - azureIpSet azureIpSet

Architecture

  1. Organizations trusted access with Firewall Manager

  2. Taskfile

  3. AWS CDK

  4. cfn-dia

  5. Invoke npm i to install dependencies

  6. โš ๏ธ Before installing a stack to your aws account using aws cdk you need to prepare the account using a cdk bootstrap

  7. (Optional) If you want to use CloudWatch Dashboards - You need to enable your target accounts to share CloudWatch data with the central security account follow this to see how to do it.

  8. Assume AWS Profile awsume PROFILENAME

  9. (Optional) Enter task generateprerequisitesconfig

  10. Enter task deploy config=NAMEOFYOURCONFIGFILE prerequisite=true

  11. Select the type of resource to be deployed (Pre-requisite Stacks, WAF or Shield Advanced) List of Resources

  1. Create new ts file for you WAF and configure Rules in the Configuration (see owasptopten.ts to see structure) or use enter task generate-waf-skeleton / enter task generate-shield-skeleton
  2. Assume AWS Profile awsume / assume PROFILENAME
  3. (Optional)
    1. Enter task generate-waf-skeleton
    2. Enter task generate-shield-skeleton
  4. Enter task deploy config=NAMEOFYOURCONFIGFILE
  5. Select the type of resource to be deployed (Pre-requisite Stacks, WAF or Shield Advanced) List of Resources