Amazon Inspector · JSON Structure

Inspector Account State Structure

An object with details the status of an Amazon Web Services account within your Amazon Inspector environment.

Type: object Properties: 3 Required: 3
ComplianceContainer SecurityEC2LambdaSecurityVulnerability Scanning

AccountState is a JSON Structure definition published by Amazon Inspector, describing 3 properties, of which 3 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

accountId resourceState state

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-account-state-structure.json",
  "name": "AccountState",
  "description": "An object with details the status of an Amazon Web Services account within your Amazon Inspector environment.",
  "type": "object",
  "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."
        }
      ]
    }
  },
  "required": [
    "accountId",
    "resourceState",
    "state"
  ]
}