diff --git a/.github/workflows/waf_test_ipSets.yml b/.github/workflows/waf_test_ipSets.yml index 2ccfd49d..9c190e84 100644 --- a/.github/workflows/waf_test_ipSets.yml +++ b/.github/workflows/waf_test_ipSets.yml @@ -69,7 +69,9 @@ jobs: uses: docker/setup-buildx-action@v3.3.0 - name: 🔥 Deploy Firewall to AWS run: | + export STACK_NAME=WAFStack task deploy config=ipSetsTests - name: 🗑️ Remove Firewall from AWS run: | + export STACK_NAME=WAFStack task destroy config=ipSetsTests \ No newline at end of file diff --git a/.github/workflows/waf_test_onlymanagedrulegroups.yml b/.github/workflows/waf_test_onlymanagedrulegroups.yml index 1982bcf9..b23cf384 100644 --- a/.github/workflows/waf_test_onlymanagedrulegroups.yml +++ b/.github/workflows/waf_test_onlymanagedrulegroups.yml @@ -68,7 +68,9 @@ jobs: uses: docker/setup-buildx-action@v3.3.0 - name: 🔥 Deploy Firewall to AWS run: | + export STACK_NAME=WAFStack task deploy config=onlyManagedRuleGroupsTests - name: 🗑️ Remove Firewall from AWS run: | + export STACK_NAME=WAFStack task destroy config=onlyManagedRuleGroupsTests \ No newline at end of file diff --git a/.github/workflows/waf_test_rateBasedwithScopeDown.yml b/.github/workflows/waf_test_rateBasedwithScopeDown.yml index ee7076f7..5fc7264f 100644 --- a/.github/workflows/waf_test_rateBasedwithScopeDown.yml +++ b/.github/workflows/waf_test_rateBasedwithScopeDown.yml @@ -69,7 +69,9 @@ jobs: uses: docker/setup-buildx-action@v3.3.0 - name: 🔥 Deploy Firewall to AWS run: | + export STACK_NAME=WAFStack task deploy config=rateBasedwithScopeDownTests - name: 🗑️ Remove Firewall from AWS run: | + export STACK_NAME=WAFStack task destroy config=rateBasedwithScopeDownTests \ No newline at end of file diff --git a/.github/workflows/waf_test_regexPatternSets.yml b/.github/workflows/waf_test_regexPatternSets.yml index 1c509254..f52550a3 100644 --- a/.github/workflows/waf_test_regexPatternSets.yml +++ b/.github/workflows/waf_test_regexPatternSets.yml @@ -68,7 +68,9 @@ jobs: uses: docker/setup-buildx-action@v3.3.0 - name: 🔥 Deploy Firewall to AWS run: | + export STACK_NAME=WAFStack task deploy config=regexPatternSetsTests - name: 🗑️ Remove Firewall from AWS run: | + export STACK_NAME=WAFStack task destroy config=regexPatternSetsTests \ No newline at end of file diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..177fb932 --- /dev/null +++ b/.gitignore @@ -0,0 +1,10 @@ +*.js +!jest.config.js +*.d.ts +node_modules +*.DS_Store +*.tgz +# CDK asset staging directory +.cdk.staging +cdk.out +cdk.context.json