Skip to content

Get Enabled Standards

securityhub_get_enabled_standards R Documentation

Returns a list of the standards that are currently enabled

Description

Returns a list of the standards that are currently enabled.

Usage

securityhub_get_enabled_standards(StandardsSubscriptionArns, NextToken,
  MaxResults)

Arguments

StandardsSubscriptionArns

The list of the standards subscription ARNs for the standards to retrieve.

NextToken

The token that is required for pagination. On your first call to the get_enabled_standards operation, set the value of this parameter to NULL.

For subsequent calls to the operation, to continue listing data, set the value of this parameter to the value returned from the previous response.

MaxResults

The maximum number of results to return in the response.

Value

A list with the following syntax:

list(
  StandardsSubscriptions = list(
    list(
      StandardsSubscriptionArn = "string",
      StandardsArn = "string",
      StandardsInput = list(
        "string"
      ),
      StandardsStatus = "PENDING"|"READY"|"FAILED"|"DELETING"|"INCOMPLETE",
      StandardsStatusReason = list(
        StatusReasonCode = "NO_AVAILABLE_CONFIGURATION_RECORDER"|"INTERNAL_ERROR"
      )
    )
  ),
  NextToken = "string"
)

Request syntax

svc$get_enabled_standards(
  StandardsSubscriptionArns = list(
    "string"
  ),
  NextToken = "string",
  MaxResults = 123
)

Examples

## Not run: 
# The following example returns a list of Security Hub standards that are
# currently enabled in your account.
svc$get_enabled_standards(
  StandardsSubscriptionArns = list(
    "arn:aws:securityhub:us-west-1:123456789012:subscription/pci-dss/v/3.2.1"
  )
)

## End(Not run)