Skip to content

List Logging Configurations

wafv2_list_logging_configurations R Documentation

Retrieves an array of your LoggingConfiguration objects

Description

Retrieves an array of your LoggingConfiguration objects.

Usage

wafv2_list_logging_configurations(Scope, NextMarker, Limit, LogScope)

Arguments

Scope

[required] Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito user pool, an App Runner service, or an Amazon Web Services Verified Access instance.

To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:

  • CLI - Specify the Region when you use the CloudFront scope: --scope=CLOUDFRONT --region=us-east-1.

  • API and SDKs - For all calls, use the Region endpoint us-east-1.

NextMarker

When you request a list of objects with a Limit setting, if the number of objects that are still available for retrieval exceeds the limit, WAF returns a NextMarker value in the response. To retrieve the next batch of objects, provide the marker from the prior call in your next request.

Limit

The maximum number of objects that you want WAF to return for this request. If more objects are available, in the response, WAF provides a NextMarker value that you can use in a subsequent call to get the next batch of objects.

LogScope

The owner of the logging configuration, which must be set to CUSTOMER for the configurations that you manage.

The log scope SECURITY_LAKE indicates a configuration that is managed through Amazon Security Lake. You can use Security Lake to collect log and event data from various sources for normalization, analysis, and management. For information, see Collecting data from Amazon Web Services services in the Amazon Security Lake user guide.

Default: CUSTOMER

Value

A list with the following syntax:

list(
  LoggingConfigurations = list(
    list(
      ResourceArn = "string",
      LogDestinationConfigs = list(
        "string"
      ),
      RedactedFields = list(
        list(
          SingleHeader = list(
            Name = "string"
          ),
          SingleQueryArgument = list(
            Name = "string"
          ),
          AllQueryArguments = list(),
          UriPath = list(),
          QueryString = list(),
          Body = list(
            OversizeHandling = "CONTINUE"|"MATCH"|"NO_MATCH"
          ),
          Method = list(),
          JsonBody = list(
            MatchPattern = list(
              All = list(),
              IncludedPaths = list(
                "string"
              )
            ),
            MatchScope = "ALL"|"KEY"|"VALUE",
            InvalidFallbackBehavior = "MATCH"|"NO_MATCH"|"EVALUATE_AS_STRING",
            OversizeHandling = "CONTINUE"|"MATCH"|"NO_MATCH"
          ),
          Headers = list(
            MatchPattern = list(
              All = list(),
              IncludedHeaders = list(
                "string"
              ),
              ExcludedHeaders = list(
                "string"
              )
            ),
            MatchScope = "ALL"|"KEY"|"VALUE",
            OversizeHandling = "CONTINUE"|"MATCH"|"NO_MATCH"
          ),
          Cookies = list(
            MatchPattern = list(
              All = list(),
              IncludedCookies = list(
                "string"
              ),
              ExcludedCookies = list(
                "string"
              )
            ),
            MatchScope = "ALL"|"KEY"|"VALUE",
            OversizeHandling = "CONTINUE"|"MATCH"|"NO_MATCH"
          ),
          HeaderOrder = list(
            OversizeHandling = "CONTINUE"|"MATCH"|"NO_MATCH"
          ),
          JA3Fingerprint = list(
            FallbackBehavior = "MATCH"|"NO_MATCH"
          )
        )
      ),
      ManagedByFirewallManager = TRUE|FALSE,
      LoggingFilter = list(
        Filters = list(
          list(
            Behavior = "KEEP"|"DROP",
            Requirement = "MEETS_ALL"|"MEETS_ANY",
            Conditions = list(
              list(
                ActionCondition = list(
                  Action = "ALLOW"|"BLOCK"|"COUNT"|"CAPTCHA"|"CHALLENGE"|"EXCLUDED_AS_COUNT"
                ),
                LabelNameCondition = list(
                  LabelName = "string"
                )
              )
            )
          )
        ),
        DefaultBehavior = "KEEP"|"DROP"
      ),
      LogType = "WAF_LOGS",
      LogScope = "CUSTOMER"|"SECURITY_LAKE"
    )
  ),
  NextMarker = "string"
)

Request syntax

svc$list_logging_configurations(
  Scope = "CLOUDFRONT"|"REGIONAL",
  NextMarker = "string",
  Limit = 123,
  LogScope = "CUSTOMER"|"SECURITY_LAKE"
)