Skip to content

Commit

Permalink
Fix ExcludeRules Bug
Browse files Browse the repository at this point in the history
  • Loading branch information
daknhh committed Dec 21, 2021
1 parent a54d422 commit 09a256d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/plattform-wafv2-cdk-automation-stack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ export class PlattformWafv2CdkAutomationStack extends cdk.Stack {
let OverrideAction;
for(mangedrule of props.config.WebAcl.ManagedRuleGroups){
if(mangedrule.ExcludeRules){
ExcludeRules = mangedrule.ExcludeRules
ExcludeRules = toCamel(mangedrule.ExcludeRules)
OverrideAction = mangedrule.OverrideAction
}
else{
Expand Down Expand Up @@ -455,7 +455,7 @@ export class PlattformWafv2CdkAutomationStack extends cdk.Stack {
let OverrideAction;
for(mangedrule of props.config.WebAcl.ManagedRuleGroups){
if(mangedrule.ExcludeRules){
ExcludeRules = mangedrule.ExcludeRules
ExcludeRules = toCamel(mangedrule.ExcludeRules)
OverrideAction = mangedrule.OverrideAction
}
else{
Expand Down

0 comments on commit 09a256d

Please sign in to comment.