Skip to content

Commit

Permalink
remove BotControlRuleSet
Browse files Browse the repository at this point in the history
  • Loading branch information
mats16 committed Aug 30, 2022
1 parent ae7ab41 commit 0f3abc6
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions src/supabase-cdn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,22 +87,22 @@ export class SupabaseCdn extends Construct {
},
OverrideAction: { None: {} },
},
{
Name: 'AWS-AWSManagedRulesBotControlRuleSet',
Priority: 2,
Statement: {
ManagedRuleGroupStatement: {
VendorName: 'AWS',
Name: 'AWSManagedRulesBotControlRuleSet',
},
},
VisibilityConfig: {
SampledRequestsEnabled: true,
CloudWatchMetricsEnabled: true,
MetricName: 'AWS-AWSManagedRulesBotControlRuleSet',
},
OverrideAction: { None: {} },
},
//{
// Name: 'AWS-AWSManagedRulesBotControlRuleSet',
// Priority: 2,
// Statement: {
// ManagedRuleGroupStatement: {
// VendorName: 'AWS',
// Name: 'AWSManagedRulesBotControlRuleSet',
// },
// },
// VisibilityConfig: {
// SampledRequestsEnabled: true,
// CloudWatchMetricsEnabled: true,
// MetricName: 'AWS-AWSManagedRulesBotControlRuleSet',
// },
// OverrideAction: { None: {} },
//},
],
DefaultAction: { Allow: {} },
} as CreateWebACLCommandInput,
Expand Down

0 comments on commit 0f3abc6

Please sign in to comment.