Table Of Contents

Feedback

User Guide

First time using the AWS CLI? See the User Guide for help getting started.

[ aws . securityhub ]

batch-enable-standards

Description

Enables the standards specified by the provided standardsArn . In this release, only CIS AWS Foundations standards are supported. For more information, see Standards Supported in AWS Security Hub .

See also: AWS API Documentation

See 'aws help' for descriptions of global parameters.

Synopsis

  batch-enable-standards
--standards-subscription-requests <value>
[--cli-input-json <value>]
[--generate-cli-skeleton <value>]

Options

--standards-subscription-requests (list)

The list of standards compliance checks to enable.

Warning

In this release, Security Hub supports only the CIS AWS Foundations standard.

The ARN for the standard is arn:aws:securityhub:::ruleset/cis-aws-foundations-benchmark/v/1.2.0 .

Shorthand Syntax:

StandardsArn=string,StandardsInput={KeyName1=string,KeyName2=string} ...

JSON Syntax:

[
  {
    "StandardsArn": "string",
    "StandardsInput": {"string": "string"
      ...}
  }
  ...
]

--cli-input-json (string) Performs service operation based on the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, the CLI values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally.

--generate-cli-skeleton (string) Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input, prints a sample input JSON that can be used as an argument for --cli-input-json. If provided with the value output, it validates the command inputs and returns a sample output JSON for that command.

See 'aws help' for descriptions of global parameters.

Output

StandardsSubscriptions -> (list)

The details of the standards subscriptions that were enabled.

(structure)

A resource that represents your subscription to a supported standard.

StandardsSubscriptionArn -> (string)

The ARN of a resource that represents your subscription to a supported standard.

StandardsArn -> (string)

The ARN of a standard.

In this release, Security Hub supports only the CIS AWS Foundations standard, which uses the following ARN: arn:aws:securityhub:::ruleset/cis-aws-foundations-benchmark/v/1.2.0.

StandardsInput -> (map)

A key-value pair of input for the standard.

key -> (string)

value -> (string)

StandardsStatus -> (string)

The status of the standards subscription.