Amazon Inspector · Schema

State

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

ComplianceContainer SecurityEC2LambdaSecurityVulnerability Scanning

Properties

Name Type Description
errorCode object
errorMessage object
status object
View JSON Schema on GitHub

JSON Schema

inspector-state-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-state-schema.json",
  "title": "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"
  ]
}