Amazon Inspector · JSON Structure

Inspector Covered Resource Structure

An object that contains details about a resource covered by Amazon Inspector.

Type: object Properties: 7 Required: 4
ComplianceContainer SecurityEC2LambdaSecurityVulnerability Scanning

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

Properties

accountId lastScannedAt resourceId resourceMetadata resourceType scanStatus scanType

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-covered-resource-structure.json",
  "name": "CoveredResource",
  "description": "An object that contains details about a resource covered by Amazon Inspector.",
  "type": "object",
  "properties": {
    "accountId": {
      "allOf": [
        {
          "$ref": "#/components/schemas/AccountId"
        },
        {
          "description": "The Amazon Web Services account ID of the covered resource."
        }
      ]
    },
    "lastScannedAt": {
      "allOf": [
        {
          "$ref": "#/components/schemas/DateTimeTimestamp"
        },
        {
          "description": "The date and time the resource was last checked for vulnerabilities."
        }
      ]
    },
    "resourceId": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ResourceId"
        },
        {
          "description": "The ID of the covered resource."
        }
      ]
    },
    "resourceMetadata": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ResourceScanMetadata"
        },
        {
          "description": "An object that contains details about the metadata."
        }
      ]
    },
    "resourceType": {
      "allOf": [
        {
          "$ref": "#/components/schemas/CoverageResourceType"
        },
        {
          "description": "The type of the covered resource."
        }
      ]
    },
    "scanStatus": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ScanStatus"
        },
        {
          "description": "The status of the scan covering the resource."
        }
      ]
    },
    "scanType": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ScanType"
        },
        {
          "description": "The Amazon Inspector scan type covering the resource."
        }
      ]
    }
  },
  "required": [
    "accountId",
    "resourceId",
    "resourceType",
    "scanType"
  ]
}