Class: Aws::WAFV2::Types::AnalyticsConfig

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/types.rb

Overview

Specifies the security analytics configuration for the web ACL. Security analytics shows the web ACL's request log data from multiple Amazon Web Services Regions in a single dashboard in the WAF console.

When you enable security analytics, you authorize Amazon Web Services to transfer and store full request logs outside the Amazon Web Services Region where the web ACL is hosted. For regional web ACLs, security analytics is disabled by default when you omit this configuration. For web ACLs that protect CloudFront distributions (global web ACLs), security analytics is enabled by default. For more information, see Enabling security analytics for a protection pack (web ACL) in the WAF Developer Guide.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#mode ⇒ String

The security analytics mode for the web ACL. Valid values:

  • CROSS_REGION - Enables security analytics. WAF transfers and stores the web ACL's request logs outside the Amazon Web Services Region where the web ACL is hosted, for aggregation and processing.

  • DISABLED - Disables security analytics. WAF stops transferring the web ACL's request logs.

Returns:

  • (String)


487
488
489
490
491
# File 'gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/types.rb', line 487

class AnalyticsConfig < Struct.new(
  :mode)
  SENSITIVE = []
  include Aws::Structure
end