Skip to content

List Automation Rules V2

securityhub_list_automation_rules_v2 R Documentation

Returns a list of automation rules and metadata for the calling account

Description

Returns a list of automation rules and metadata for the calling account.

Usage

securityhub_list_automation_rules_v2(NextToken, MaxResults)

Arguments

NextToken

The token required for pagination. On your first call, set the value of this parameter to NULL. For subsequent calls, to continue listing data, set the value of this parameter to the value returned in the previous response.

MaxResults

The maximum number of results to return.

Value

A list with the following syntax:

list(
  Rules = list(
    list(
      RuleArn = "string",
      RuleId = "string",
      RuleOrder = 123.0,
      RuleName = "string",
      RuleStatus = "ENABLED"|"DISABLED",
      Description = "string",
      Actions = list(
        list(
          Type = "FINDING_FIELDS_UPDATE"|"EXTERNAL_INTEGRATION"
        )
      ),
      CreatedAt = as.POSIXct(
        "2015-01-01"
      ),
      UpdatedAt = as.POSIXct(
        "2015-01-01"
      )
    )
  ),
  NextToken = "string"
)

Request syntax

svc$list_automation_rules_v2(
  NextToken = "string",
  MaxResults = 123
)