{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aws-security-hub/json-schema/aws-security-hub-get-enabled-standards-response-schema.json",
  "title": "GetEnabledStandardsResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aws-security-hub-standards-api-openapi.yml#/components/schemas/GetEnabledStandardsResponse",
  "type": "object",
  "properties": {
    "StandardsSubscriptions": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/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."
    }
  },
  "$defs": {
    "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": "#/$defs/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"
      ]
    }
  }
}