AWS Security Hub Standards API

The Standards API from AWS Security Hub — 4 operation(s) for standards.

GitHub OpenAPI
Business capability
Security Strategy & Governance Management BC-620.10

Operations 6

POST /standards/deregister Batch Disable Standards #
POST /standards/register Batch Enable Standards #
GET /standards Describe Standards #
GET /standards/controls/{StandardsSubscriptionArn+} Describe Standards Controls #
POST /standards/get Get Enabled Standards #
PATCH /standards/control/{StandardsControlArn+} Update Standards Control #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/aws-security-hub:aws-security-hub-standards-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

aws-security-hub-standards-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: AWS SecurityHub Standards API
  version: '2018-10-26'
  description: Generated from AWS's published Smithy model for AWS SecurityHub. 6 operation(s).
  contact:
    name: Amazon Web Services
    url: https://aws.amazon.com/contact-us/
  license:
    name: Apache 2.0
    identifier: Apache-2.0
    url: https://github.com/aws/api-models-aws/blob/main/LICENSE
servers:
- url: https://securityhub.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /standards/deregister:
    post:
      operationId: BatchDisableStandards
      summary: Batch Disable Standards
      description: Disables the standards specified by the provided StandardsSubscriptionArns. For more information, see Security
        Standards section of the Security Hub CSPM User Guide.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BatchDisableStandardsResponse'
              example:
                StandardsSubscriptions:
                - StandardsArn: arn:aws:securityhub:eu-central-1::standards/pci-dss/v/3.2.1
                  StandardsInput: {}
                  StandardsStatus: DELETING
                  StandardsSubscriptionArn: arn:aws:securityhub:us-west-1:123456789012:subscription/pci-dss/v/3.2.1
                  StandardsControlsUpdatable: NOT_READY_FOR_UPDATES
                  Provider: AWS
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '500':
          description: InternalException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalException'
        '401':
          description: InvalidAccessException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvalidAccessException'
        '400':
          description: InvalidInputException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvalidInputException'
        '429':
          description: LimitExceededException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LimitExceededException'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                StandardsSubscriptionArns:
                  type: array
                  items:
                    type: string
                  description: The ARNs of the standards subscriptions to disable.
              required:
              - StandardsSubscriptionArns
            example:
              StandardsSubscriptionArns:
              - arn:aws:securityhub:us-west-1:123456789012:subscription/pci-dss/v/3.2.1
      tags:
      - Standards
  /standards/register:
    post:
      operationId: BatchEnableStandards
      summary: Batch Enable Standards
      description: Enables the standards specified by the provided StandardsArn. To obtain the ARN for a standard, use the
        DescribeStandards operation. For more information, see the Security Standards section of the Security Hub CSPM User
        Guide.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BatchEnableStandardsResponse'
              example:
                StandardsSubscriptions:
                - StandardsArn: arn:aws:securityhub:us-west-1::standards/pci-dss/v/3.2.1
                  StandardsInput: {}
                  StandardsStatus: PENDING
                  StandardsSubscriptionArn: arn:aws:securityhub:us-west-1:123456789012:subscription/pci-dss/v/3.2.1
                  StandardsControlsUpdatable: NOT_READY_FOR_UPDATES
                  Provider: AWS
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '500':
          description: InternalException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalException'
        '401':
          description: InvalidAccessException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvalidAccessException'
        '400':
          description: InvalidInputException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvalidInputException'
        '429':
          description: LimitExceededException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LimitExceededException'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                StandardsSubscriptionRequests:
                  type: array
                  items:
                    $ref: '#/components/schemas/StandardsSubscriptionRequest'
                  description: The list of standards checks to enable.
              required:
              - StandardsSubscriptionRequests
            example:
              StandardsSubscriptionRequests:
              - StandardsArn: arn:aws:securityhub:us-west-1::standards/pci-dss/v/3.2.1
      tags:
      - Standards
  /standards:
    get:
      operationId: DescribeStandards
      summary: Describe Standards
      description: Returns a list of the available standards in Security Hub CSPM. For each standard, the results include
        the standard ARN, the name, and a description.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DescribeStandardsResponse'
              example:
                Standards:
                - StandardsArn: arn:aws:securityhub:us-west-1::standards/cis-azure-foundations-benchmark/v/4.0.0
                  Name: CIS Azure Foundations Benchmark v4.0.0
                  Description: The Center for Internet Security (CIS) Microsoft Azure Foundations Benchmark v4.0.0 is a set
                    of security configuration best practices for Azure. This Security Hub standard automatically checks your
                    compliance readiness against a subset of CIS requirements.
                  EnabledByDefault: false
                  StandardsManagedBy:
                    Company: AWS
                    Product: Security Hub
                  Provider: Azure
        '500':
          description: InternalException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalException'
        '401':
          description: InvalidAccessException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvalidAccessException'
        '400':
          description: InvalidInputException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvalidInputException'
      parameters:
      - name: NextToken
        in: query
        schema:
          type: string
        description: The token that is required for pagination. On your first call to the DescribeStandards 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.
      - name: MaxResults
        in: query
        schema:
          type: integer
        description: The maximum number of standards to return.
      - name: Providers
        in: query
        schema:
          type: array
          items:
            type: string
            enum:
            - AWS
            - Azure
        description: A list of cloud providers to filter the standards by. For example, specify Azure to return only standards
          that evaluate Azure resources.
      tags:
      - Standards
  /standards/controls/{StandardsSubscriptionArn+}:
    get:
      operationId: DescribeStandardsControls
      summary: Describe Standards Controls
      description: Returns a list of security standards controls. For each control, the results include information about
        whether it is currently enabled, the severity, and a link to remediation information. This operation returns an empty
        list for standard subscriptions where StandardsControlsUpdatable has value NOT_READY_FOR_UPDATES.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DescribeStandardsControlsResponse'
        '500':
          description: InternalException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalException'
        '401':
          description: InvalidAccessException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvalidAccessException'
        '400':
          description: InvalidInputException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvalidInputException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
      parameters:
      - name: StandardsSubscriptionArn
        in: path
        required: true
        schema:
          type: string
        description: The ARN of a resource that represents your subscription to a supported standard. To get the subscription
          ARNs of the standards you have enabled, use the GetEnabledStandards operation.
      - name: NextToken
        in: query
        schema:
          type: string
        description: The token that is required for pagination. On your first call to the DescribeStandardsControls 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.
      - name: MaxResults
        in: query
        schema:
          type: integer
        description: The maximum number of security standard controls to return.
      tags:
      - Standards
  /standards/get:
    post:
      operationId: GetEnabledStandards
      summary: Get Enabled Standards
      description: Returns a list of the standards that are currently enabled.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetEnabledStandardsResponse'
              example:
                StandardsSubscriptions:
                - StandardsArn: arn:aws:securityhub:us-west-1::standards/pci-dss/v/3.2.1
                  StandardsInput: {}
                  StandardsStatus: READY
                  StandardsSubscriptionArn: arn:aws:securityhub:us-west-1:123456789012:subscription/pci-dss/v/3.2.1
                  Provider: AWS
        '500':
          description: InternalException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalException'
        '401':
          description: InvalidAccessException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvalidAccessException'
        '400':
          description: InvalidInputException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvalidInputException'
        '429':
          description: LimitExceededException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LimitExceededException'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                StandardsSubscriptionArns:
                  type: array
                  items:
                    type: string
                  description: The list of the standards subscription ARNs for the standards to retrieve.
                NextToken:
                  type: string
                  description: The token that is required for pagination. On your first call to the GetEnabledStandards 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:
                  type: integer
                  description: The maximum number of results to return in the response.
                Providers:
                  type: array
                  items:
                    type: string
                    enum:
                    - AWS
                    - Azure
                  description: A list of cloud providers to filter the enabled standards by. For example, specify Azure to
                    return only enabled standards that evaluate Azure resources.
            example:
              StandardsSubscriptionArns:
              - arn:aws:securityhub:us-west-1:123456789012:subscription/pci-dss/v/3.2.1
      tags:
      - Standards
  /standards/control/{StandardsControlArn+}:
    patch:
      operationId: UpdateStandardsControl
      summary: Update Standards Control
      description: Used to control whether an individual security standard control is enabled or disabled. Calls to this operation
        return a RESOURCE_NOT_FOUND_EXCEPTION error when the standard subscription for the control has StandardsControlsUpdatable
        value NOT_READY_FOR_UPDATES.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpdateStandardsControlResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '500':
          description: InternalException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalException'
        '401':
          description: InvalidAccessException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvalidAccessException'
        '400':
          description: InvalidInputException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvalidInputException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
      parameters:
      - name: StandardsControlArn
        in: path
        required: true
        schema:
          type: string
        description: The ARN of the security standard control to enable or disable.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                ControlStatus:
                  type: string
                  enum:
                  - ENABLED
                  - DISABLED
                  description: The updated status of the security standard control.
                DisabledReason:
                  type: string
                  description: A description of the reason why you are disabling a security standard control. If you are disabling
                    a control, then this is required.
            example:
              StandardsControlArn: arn:aws:securityhub:us-west-1:123456789012:control/pci-dss/v/3.2.1/PCI.AutoScaling.1
              ControlStatus: DISABLED
              DisabledReason: Not applicable to my service
      tags:
      - Standards
components:
  securitySchemes:
    sigv4:
      type: apiKey
      in: header
      name: Authorization
      description: AWS Signature Version 4. The Authorization header carries an AWS4-HMAC-SHA256 signature over the canonical
        request, with X-Amz-Date (and X-Amz-Security-Token for temporary credentials). Not a bearer token.
      x-aws-sigv4:
        signingName: securityhub
  schemas:
    AccessDeniedException:
      type: object
      properties:
        Message:
          type: string
        Code:
          type: string
    BatchDisableStandardsResponse:
      type: object
      properties:
        StandardsSubscriptions:
          type: array
          items:
            $ref: '#/components/schemas/StandardsSubscription'
          description: The details of the standards subscriptions that were disabled.
    BatchEnableStandardsResponse:
      type: object
      properties:
        StandardsSubscriptions:
          type: array
          items:
            $ref: '#/components/schemas/StandardsSubscription'
          description: The details of the standards subscriptions that were enabled.
    DescribeStandardsControlsResponse:
      type: object
      properties:
        Controls:
          type: array
          items:
            $ref: '#/components/schemas/StandardsControl'
          description: A list of security standards controls.
        NextToken:
          type: string
          description: The pagination token to use to request the next page of results.
    DescribeStandardsResponse:
      type: object
      properties:
        Standards:
          type: array
          items:
            $ref: '#/components/schemas/Standard'
          description: A list of available standards.
        NextToken:
          type: string
          description: The pagination token to use to request the next page of results.
    GetEnabledStandardsResponse:
      type: object
      properties:
        StandardsSubscriptions:
          type: array
          items:
            $ref: '#/components/schemas/StandardsSubscription'
          description: The list of StandardsSubscriptions objects that include information about the enabled standards.
        NextToken:
          type: string
          description: The pagination token to use to request the next page of results.
    InternalException:
      type: object
      properties:
        Message:
          type: string
        Code:
          type: string
    InvalidAccessException:
      type: object
      properties:
        Message:
          type: string
        Code:
          type: string
    InvalidInputException:
      type: object
      properties:
        Message:
          type: string
        Code:
          type: string
    LimitExceededException:
      type: object
      properties:
        Message:
          type: string
        Code:
          type: string
    ResourceNotFoundException:
      type: object
      properties:
        Message:
          type: string
        Code:
          type: string
    Standard:
      type: object
      properties:
        StandardsArn:
          type: string
          description: The ARN of the standard.
        Name:
          type: string
          description: The name of the standard.
        Description:
          type: string
          description: A description of the standard.
        EnabledByDefault:
          type: boolean
          description: Whether the standard is enabled by default. When Security Hub CSPM is enabled from the console, if
            a standard is enabled by default, the check box for that standard is selected by default. When Security Hub CSPM
            is enabled using the EnableSecurityHub API operation, the standard is enabled by default unless EnableDefaultStandards
            is set to false.
        Provider:
          type: string
          enum:
          - AWS
          - Azure
          description: The cloud provider whose resources the standard evaluates. For example, AWS or Azure.
        StandardsManagedBy:
          $ref: '#/components/schemas/StandardsManagedBy'
    StandardsControl:
      type: object
      properties:
        StandardsControlArn:
          type: string
          description: The ARN of the security standard control.
        ControlStatus:
          type: string
          enum:
          - ENABLED
          - DISABLED
          description: The current status of the security standard control. Indicates whether the control is enabled or disabled.
            Security Hub CSPM does not check against disabled controls.
        DisabledReason:
          type: string
          description: The reason provided for the most recent change in status for the control.
        ControlStatusUpdatedAt:
          type: string
          format: date-time
          description: The date and time that the status of the security standard control was most recently updated.
        ControlId:
          type: string
          description: The identifier of the security standard control.
        Title:
          type: string
          description: The title of the security standard control.
        Description:
          type: string
          description: The longer description of the security standard control. Provides information about what the control
            is checking for.
        RemediationUrl:
          type: string
          description: A link to remediation information for the control in the Security Hub CSPM user documentation.
        SeverityRating:
          type: string
          enum:
          - LOW
          - MEDIUM
          - HIGH
          - CRITICAL
          description: The severity of findings generated from this security standard control. The finding severity is based
            on an assessment of how easy it would be to compromise Amazon Web Services resources if the issue is detected.
        RelatedRequirements:
          type: array
          items:
            type: string
          description: The list of requirements that are related to this control.
    StandardsManagedBy:
      type: object
      properties:
        Company:
          type: string
          description: An identifier for the company that manages a specific security standard. For existing standards, the
            value is equal to Amazon Web Services.
        Product:
          type: string
          description: An identifier for the product that manages a specific security standard. For existing standards, the
            value is equal to the Amazon Web Services service that manages the standard.
    StandardsStatusReason:
      type: object
      properties:
        StatusReasonCode:
          type: string
          enum:
          - NO_AVAILABLE_CONFIGURATION_RECORDER
          - MAXIMUM_NUMBER_OF_CONFIG_RULES_EXCEEDED
          - NO_AVAILABLE_MULTICLOUD_CONNECTOR
          - INTERNAL_ERROR
          description: The reason code that represents the reason for the current status of a standard subscription.
      required:
      - StatusReasonCode
    StandardsSubscription:
      type: object
      properties:
        StandardsSubscriptionArn:
          type: string
          description: The ARN of the resource that represents your subscription to the standard.
        StandardsArn:
          type: string
          description: The ARN of the standard.
        StandardsInput:
          type: object
          additionalProperties:
            type: string
          description: A key-value pair of input for the standard.
        StandardsStatus:
          type: string
          enum:
          - PENDING
          - READY
          - FAILED
          - DELETING
          - INCOMPLETE
          description: 'The status of your subscription to the standard. Possible values are: PENDING - The standard is in
            the process of being enabled. Or the standard is already enabled and Security Hub CSPM is adding new controls
            to the standard. READY - The standard is enabled. INCOMPLETE - The standard could not be enabled completely. One
            or more errors (StandardsStatusReason) occurred when Security Hub CSPM attempted to enable the standard. DELETING
            - The standard is in the process of being disabled. FAILED - The standard could not be disabled. One or more errors
            (StandardsStatusReason) occurred when Security H'
        StandardsControlsUpdatable:
          type: string
          enum:
          - READY_FOR_UPDATES
          - NOT_READY_FOR_UPDATES
          description: 'Specifies whether you can retrieve information about and configure individual controls that apply
            to the standard. Possible values are: READY_FOR_UPDATES - Controls in the standard can be retrieved and configured.
            NOT_READY_FOR_UPDATES - Controls in the standard cannot be retrieved or configured.'
        StandardsStatusReason:
          $ref: '#/components/schemas/StandardsStatusReason'
        Provider:
          type: string
          enum:
          - AWS
          - Azure
          description: The cloud provider whose resources the standard evaluates. For example, AWS or Azure.
      required:
      - StandardsSubscriptionArn
      - StandardsArn
      - StandardsInput
      - StandardsStatus
    StandardsSubscriptionRequest:
      type: object
      properties:
        StandardsArn:
          type: string
          description: The ARN of the standard that you want to enable. To view the list of available standards and their
            ARNs, use the DescribeStandards operation.
        StandardsInput:
          type: object
          additionalProperties:
            type: string
          description: A key-value pair of input for the standard.
      required:
      - StandardsArn
    UpdateStandardsControlResponse:
      type: object
      properties: {}
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/securityhub/service/2018-10-26/securityhub-2018-10-26.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)