Skip to content

Returns all custom detection rule associations for your account

Description

Returns all custom detection rule associations for your account. You can filter by rule ID and mode.

Usage

guardduty_list_custom_detection_rule_associations(MaxResults, NextToken,
  RuleId, Mode)

Arguments

  • MaxResults

The maximum number of results to return in a single page. Minimum value of 1, maximum value of 100.

  • NextToken

A pagination token from a previous response. Use this token to retrieve the next page of results.

  • RuleId

The unique identifier for the custom detection rule to filter associations by.

  • Mode

The rule execution mode to filter associations by.

Value

A list with the following syntax:

list(
  RuleAssociations = list(
    list(
      AssociationId = "string",
      Arn = "string",
      RuleId = "string",
      Mode = "LIVE"|"DRY_RUN",
      CreatedAt = as.POSIXct(
        "2015-01-01"
      ),
      UpdatedAt = as.POSIXct(
        "2015-01-01"
      ),
      ExpiresAt = as.POSIXct(
        "2015-01-01"
      )
    )
  ),
  NextToken = "string"
)

Request syntax

svc$list_custom_detection_rule_associations(
  MaxResults = 123,
  NextToken = "string",
  RuleId = "string",
  Mode = "LIVE"|"DRY_RUN"
)