Skip to content

List Configuration Policies

securityhub_list_configuration_policies R Documentation

Lists the configuration policies that the Security Hub delegated administrator has created for your organization

Description

Lists the configuration policies that the Security Hub delegated administrator has created for your organization. Only the delegated administrator can invoke this operation from the home Region.

Usage

securityhub_list_configuration_policies(NextToken, MaxResults)

Arguments

NextToken

The NextToken value that's returned from a previous paginated list_configuration_policies request where MaxResults was used but the results exceeded the value of that parameter. Pagination continues from the MaxResults was used but the results exceeded the value of that parameter. Pagination continues from the end of the previous response that returned the NextToken value. This value is null when there are no more results to return.

MaxResults

The maximum number of results that's returned by list_configuration_policies in each page of the response. When this parameter is used, list_configuration_policies returns the specified number of results in a single page and a NextToken response element. You can see the remaining results of the initial request by sending another list_configuration_policies request with the returned NextToken value. A valid range for MaxResults is between 1 and 100.

Value

A list with the following syntax:

list(
  ConfigurationPolicySummaries = list(
    list(
      Arn = "string",
      Id = "string",
      Name = "string",
      Description = "string",
      UpdatedAt = as.POSIXct(
        "2015-01-01"
      ),
      ServiceEnabled = TRUE|FALSE
    )
  ),
  NextToken = "string"
)

Request syntax

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

Examples

## Not run: 
# This operation provides a list of your configuration policies, including
# metadata for each policy.
svc$list_configuration_policies(
  MaxResults = 1L,
  NextToken = "U1FsdGVkX19nBV2zoh+Gou9NgnulLJHWpn9xnG4hqSOhvw3o2JqjI86QDxdf"
)

## End(Not run)