Amazon Inspector · JSON Structure

Inspector Coverage Filter Criteria Structure

A structure that identifies filter criteria for GetCoverageStatistics.

Type: object Properties: 13
ComplianceContainer SecurityEC2LambdaSecurityVulnerability Scanning

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

Properties

accountId ec2InstanceTags ecrImageTags ecrRepositoryName lambdaFunctionName lambdaFunctionRuntime lambdaFunctionTags lastScannedAt resourceId resourceType scanStatusCode scanStatusReason 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-coverage-filter-criteria-structure.json",
  "name": "CoverageFilterCriteria",
  "description": "A structure that identifies filter criteria for <code>GetCoverageStatistics</code>.",
  "type": "object",
  "properties": {
    "accountId": {
      "allOf": [
        {
          "$ref": "#/components/schemas/CoverageStringFilterList"
        },
        {
          "description": "An array of Amazon Web Services account IDs to return coverage statistics for."
        }
      ]
    },
    "ec2InstanceTags": {
      "allOf": [
        {
          "$ref": "#/components/schemas/CoverageMapFilterList"
        },
        {
          "description": "The Amazon EC2 instance tags to filter on."
        }
      ]
    },
    "ecrImageTags": {
      "allOf": [
        {
          "$ref": "#/components/schemas/CoverageStringFilterList"
        },
        {
          "description": "The Amazon ECR image tags to filter on."
        }
      ]
    },
    "ecrRepositoryName": {
      "allOf": [
        {
          "$ref": "#/components/schemas/CoverageStringFilterList"
        },
        {
          "description": "The Amazon ECR repository name to filter on."
        }
      ]
    },
    "lambdaFunctionName": {
      "allOf": [
        {
          "$ref": "#/components/schemas/CoverageStringFilterList"
        },
        {
          "description": "Returns coverage statistics for AWS Lambda functions filtered by function names."
        }
      ]
    },
    "lambdaFunctionRuntime": {
      "allOf": [
        {
          "$ref": "#/components/schemas/CoverageStringFilterList"
        },
        {
          "description": "Returns coverage statistics for AWS Lambda functions filtered by runtime."
        }
      ]
    },
    "lambdaFunctionTags": {
      "allOf": [
        {
          "$ref": "#/components/schemas/CoverageMapFilterList"
        },
        {
          "description": "Returns coverage statistics for AWS Lambda functions filtered by tag."
        }
      ]
    },
    "lastScannedAt": {
      "allOf": [
        {
          "$ref": "#/components/schemas/CoverageDateFilterList"
        },
        {
          "description": "Filters Amazon Web Services resources based on whether Amazon Inspector has checked them for vulnerabilities within the specified time range."
        }
      ]
    },
    "resourceId": {
      "allOf": [
        {
          "$ref": "#/components/schemas/CoverageStringFilterList"
        },
        {
          "description": "An array of Amazon Web Services resource IDs to return coverage statistics for."
        }
      ]
    },
    "resourceType": {
      "allOf": [
        {
          "$ref": "#/components/schemas/CoverageStringFilterList"
        },
        {
          "description": "An array of Amazon Web Services resource types to return coverage statistics for. The values can be <code>AWS_EC2_INSTANCE</code>, <code>AWS_LAMBDA_FUNCTION</code> or <code>AWS_ECR_REPOSITORY</code>."
        }
      ]
    },
    "scanStatusCode": {
      "allOf": [
        {
          "$ref": "#/components/schemas/CoverageStringFilterList"
        },
        {
          "description": "The scan status code to filter on."
        }
      ]
    },
    "scanStatusReason": {
      "allOf": [
        {
          "$ref": "#/components/schemas/CoverageStringFilterList"
        },
        {
          "description": "The scan status reason to filter on."
        }
      ]
    },
    "scanType": {
      "allOf": [
        {
          "$ref": "#/components/schemas/CoverageStringFilterList"
        },
        {
          "description": "An array of Amazon Inspector scan types to return coverage statistics for."
        }
      ]
    }
  }
}