Amazon Inspector · JSON Structure

Inspector State Structure

An object that described the state of Amazon Inspector scans for an account.

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

State 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

errorCode errorMessage status

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-state-structure.json",
  "name": "State",
  "description": "An object that described the state of Amazon Inspector scans for an account.",
  "type": "object",
  "properties": {
    "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."
        }
      ]
    },
    "status": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Status"
        },
        {
          "description": "The status of Amazon Inspector for the account."
        }
      ]
    }
  },
  "required": [
    "errorCode",
    "errorMessage",
    "status"
  ]
}