Amazon Inspector · JSON Structure

Inspector Failed Account List Structure

FailedAccountList schema

Type: array Properties: 0
ComplianceContainer SecurityEC2LambdaSecurityVulnerability Scanning

FailedAccountList is a JSON Structure definition published by Amazon Inspector. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-inspector/refs/heads/main/json-structure/inspector-failed-account-list-structure.json",
  "name": "FailedAccountList",
  "description": "FailedAccountList schema",
  "type": "array",
  "items": {
    "type": "object",
    "required": [
      "accountId",
      "errorCode",
      "errorMessage"
    ],
    "properties": {
      "accountId": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AccountId"
          },
          {
            "description": "The Amazon Web Services account ID."
          }
        ]
      },
      "errorCode": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ErrorCode"
          },
          {
            "description": "The error code explaining why the account failed to enable Amazon Inspector."
          }
        ]
      },
      "errorMessage": {
        "allOf": [
          {
            "$ref": "#/components/schemas/NonEmptyString"
          },
          {
            "description": "The error message received when the account failed to enable Amazon Inspector."
          }
        ]
      },
      "resourceStatus": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ResourceStatus"
          },
          {
            "description": "An object detailing which resources Amazon Inspector is enabled to scan for the account."
          }
        ]
      },
      "status": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Status"
          },
          {
            "description": "The status of Amazon Inspector for the account."
          }
        ]
      }
    },
    "description": "An object with details on why an account failed to enable Amazon Inspector."
  }
}