Skip to content

Batch Enable Standards

securityhub_batch_enable_standards R Documentation

Enables the standards specified by the provided StandardsArn

Description

Enables the standards specified by the provided StandardsArn. To obtain the ARN for a standard, use the describe_standards operation.

For more information, see the Security Standards section of the Security Hub User Guide.

Usage

securityhub_batch_enable_standards(StandardsSubscriptionRequests)

Arguments

StandardsSubscriptionRequests

[required] The list of standards checks to enable.

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"
      )
    )
  )
)

Request syntax

svc$batch_enable_standards(
  StandardsSubscriptionRequests = list(
    list(
      StandardsArn = "string",
      StandardsInput = list(
        "string"
      )
    )
  )
)

Examples

## Not run: 
# The following example enables the security standard specified by the
# StandardArn. You can use this operation to enable one or more Security
# Hub standards.
svc$batch_enable_standards(
  StandardsSubscriptionRequests = list(
    list(
      StandardsArn = "arn:aws:securityhub:us-west-1::standards/pci-dss/v/3.2.1"
    )
  )
)

## End(Not run)