Amazon Inspector · Schema

AccountStateList

AccountStateList schema

ComplianceContainer SecurityEC2LambdaSecurityVulnerability Scanning
View JSON Schema on GitHub

JSON Schema

inspector-account-state-list-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-inspector/refs/heads/main/json-schema/inspector-account-state-list-schema.json",
  "title": "AccountStateList",
  "description": "AccountStateList schema",
  "type": "array",
  "items": {
    "type": "object",
    "required": [
      "accountId",
      "resourceState",
      "state"
    ],
    "properties": {
      "accountId": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AccountId"
          },
          {
            "description": "The Amazon Web Services account ID."
          }
        ]
      },
      "resourceState": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ResourceState"
          },
          {
            "description": "An object detailing which resources Amazon Inspector is enabled to scan for the account."
          }
        ]
      },
      "state": {
        "allOf": [
          {
            "$ref": "#/components/schemas/State"
          },
          {
            "description": "An object detailing the status of Amazon Inspector for the account."
          }
        ]
      }
    },
    "description": "An object with details the status of an Amazon Web Services account within your Amazon Inspector environment."
  }
}