Amazon Inspector · Schema

CoverageFilterCriteria

A structure that identifies filter criteria for GetCoverageStatistics.

ComplianceContainer SecurityEC2LambdaSecurityVulnerability Scanning

Properties

Name Type Description
accountId object
ec2InstanceTags object
ecrImageTags object
ecrRepositoryName object
lambdaFunctionName object
lambdaFunctionRuntime object
lambdaFunctionTags object
lastScannedAt object
resourceId object
resourceType object
scanStatusCode object
scanStatusReason object
scanType object
View JSON Schema on GitHub

JSON Schema

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