Amazon Inspector · JSON Structure

Inspector Covered Resources Structure

CoveredResources schema

Type: array Properties: 0
ComplianceContainer SecurityEC2LambdaSecurityVulnerability Scanning

CoveredResources is a JSON Structure definition published by Amazon Inspector. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

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-resources-structure.json",
  "name": "CoveredResources",
  "description": "CoveredResources schema",
  "type": "array",
  "items": {
    "type": "object",
    "required": [
      "accountId",
      "resourceId",
      "resourceType",
      "scanType"
    ],
    "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."
          }
        ]
      }
    },
    "description": "An object that contains details about a resource covered by Amazon Inspector."
  }
}