CmdID

CmdID / aws / aws securityhub

aws securityhub get-enabled-standards

Returns a list of the standards that are currently enabled. AWS CLI reference

1 example 4 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To retrieve information about an enabled standard

The following get-enabled-standards example retrieves information about the PCI DSS standard.

aws securityhub get-enabled-standards --standards-subscription-arns "arn:aws:securityhub:us-west-2:123456789012:subscription/pci-dss/v/3.2.1"Identify
--standards-subscription-arnsThe list of the standards subscription ARNs for the standards to retrieve.
Its output
{
    "StandardsSubscriptions": [
        {
            "StandardsArn": "arn:aws:securityhub:us-west-2::standards/pci-dss/v/3.2.1",
            "StandardsInput": { },
            "StandardsStatus": "READY",
            "StandardsSubscriptionArn": "arn:aws:securityhub:us-west-2:123456789012:subscription/pci-dss/v/3.2.1"
        }
    ]
}

For more information, see Security standards in AWS Security Hub in the AWS Security Hub User Guide.

Options

4 in the AWS CLI reference
--max-resultsThe maximum number of results to return in the response.
--next-tokenThe token that is required for pagination.
--providersA list of cloud providers to filter the enabled standards by.
--standards-subscription-arnsThe list of the standards subscription ARNs for the standards to retrieve.