Amazon Inspector · JSON Structure

Inspector Resource Status Structure

Details the status of Amazon Inspector for each resource type Amazon Inspector scans.

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

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

Properties

ec2 ecr lambda lambdaCode

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-resource-status-structure.json",
  "name": "ResourceStatus",
  "description": "Details the status of Amazon Inspector for each resource type Amazon Inspector scans.",
  "type": "object",
  "properties": {
    "ec2": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Status"
        },
        {
          "description": "The status of Amazon Inspector scanning for Amazon EC2 resources."
        }
      ]
    },
    "ecr": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Status"
        },
        {
          "description": "The status of Amazon Inspector scanning for Amazon ECR resources."
        }
      ]
    },
    "lambda": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Status"
        },
        {
          "description": "The status of Amazon Inspector scanning for AWS Lambda function."
        }
      ]
    },
    "lambdaCode": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Status"
        },
        {
          "description": "The status of Amazon Inspector scanning for custom application code for Amazon Web Services Lambda functions. "
        }
      ]
    }
  },
  "required": [
    "ec2",
    "ecr"
  ]
}