Amazon Inspector Reporting API

The Reporting API from Amazon Inspector — 3 operation(s) for reporting.

GitHub OpenAPI
Business capability
Vulnerability Management BC-620.40

Operations 3

POST /reporting/cancel Cancel Findings Report #
POST /reporting/create Create Findings Report #
POST /reporting/status/get Get Findings Report Status #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/amazon-inspector:amazon-inspector-reporting-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

amazon-inspector-reporting-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Inspector2 Reporting API
  version: '2020-06-08'
  description: Generated from AWS's published Smithy model for Inspector2. 3 operation(s).
  contact:
    name: Amazon Web Services
    url: https://aws.amazon.com/contact-us/
  license:
    name: Apache 2.0
    identifier: Apache-2.0
    url: https://github.com/aws/api-models-aws/blob/main/LICENSE
servers:
- url: https://inspector2.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /reporting/cancel:
    post:
      operationId: CancelFindingsReport
      summary: Cancel Findings Report
      description: Cancels the given findings report.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CancelFindingsReportResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                reportId:
                  type: string
                  description: The ID of the report to be canceled.
              required:
              - reportId
      tags:
      - Reporting
  /reporting/create:
    post:
      operationId: CreateFindingsReport
      summary: Create Findings Report
      description: Creates a finding report. By default only ACTIVE findings are returned in the report. To see SUPRESSED
        or CLOSED findings you must specify a value for the findingStatus filter criteria.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateFindingsReportResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                filterCriteria:
                  $ref: '#/components/schemas/FilterCriteria'
                reportFormat:
                  type: string
                  description: The format to generate the report in.
                s3Destination:
                  $ref: '#/components/schemas/Destination'
              required:
              - reportFormat
              - s3Destination
      tags:
      - Reporting
  /reporting/status/get:
    post:
      operationId: GetFindingsReportStatus
      summary: Get Findings Report Status
      description: Gets the status of a findings report.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetFindingsReportStatusResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                reportId:
                  type: string
                  description: The ID of the report to retrieve the status of.
      tags:
      - Reporting
components:
  securitySchemes:
    sigv4:
      type: apiKey
      in: header
      name: Authorization
      description: AWS Signature Version 4. The Authorization header carries an AWS4-HMAC-SHA256 signature over the canonical
        request, with X-Amz-Date (and X-Amz-Security-Token for temporary credentials). Not a bearer token.
      x-aws-sigv4:
        signingName: inspector2
  schemas:
    AccessDeniedException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
    CancelFindingsReportResponse:
      type: object
      properties:
        reportId:
          type: string
          description: The ID of the canceled report.
      required:
      - reportId
    CreateFindingsReportResponse:
      type: object
      properties:
        reportId:
          type: string
          description: The ID of the report.
    DateFilter:
      type: object
      properties:
        startInclusive:
          type: string
          description: A timestamp representing the start of the time period filtered on.
        endInclusive:
          type: string
          description: A timestamp representing the end of the time period filtered on.
    Destination:
      type: object
      properties:
        bucketName:
          type: string
          description: The name of the Amazon S3 bucket to export findings to.
        keyPrefix:
          type: string
          description: The prefix that the findings will be written under.
        kmsKeyArn:
          type: string
          description: The ARN of the KMS key used to encrypt data when exporting findings.
        expectedBucketOwner:
          type: string
          description: The Amazon Web Services account ID of the expected owner of the Amazon S3 bucket. If the actual bucket
            owner does not match, the export request fails.
      required:
      - bucketName
      - kmsKeyArn
    FilterCriteria:
      type: object
      properties:
        findingArn:
          type: array
          items:
            $ref: '#/components/schemas/StringFilter'
          description: Details on the finding ARNs used to filter findings.
        awsAccountId:
          type: array
          items:
            $ref: '#/components/schemas/StringFilter'
          description: Details of the Amazon Web Services account IDs used to filter findings.
        findingType:
          type: array
          items:
            $ref: '#/components/schemas/StringFilter'
          description: Details on the finding types used to filter findings.
        severity:
          type: array
          items:
            $ref: '#/components/schemas/StringFilter'
          description: Details on the severity used to filter findings.
        firstObservedAt:
          type: array
          items:
            $ref: '#/components/schemas/DateFilter'
          description: Details on the date and time a finding was first seen used to filter findings.
        lastObservedAt:
          type: array
          items:
            $ref: '#/components/schemas/DateFilter'
          description: Details on the date and time a finding was last seen used to filter findings.
        updatedAt:
          type: array
          items:
            $ref: '#/components/schemas/DateFilter'
          description: Details on the date and time a finding was last updated at used to filter findings.
        findingStatus:
          type: array
          items:
            $ref: '#/components/schemas/StringFilter'
          description: Details on the finding status types used to filter findings.
        title:
          type: array
          items:
            $ref: '#/components/schemas/StringFilter'
          description: Details on the finding title used to filter findings.
        inspectorScore:
          type: array
          items:
            $ref: '#/components/schemas/NumberFilter'
          description: The Amazon Inspector score to filter on.
        resourceType:
          type: array
          items:
            $ref: '#/components/schemas/StringFilter'
          description: Details on the resource types used to filter findings.
        resourceId:
          type: array
          items:
            $ref: '#/components/schemas/StringFilter'
          description: Details on the resource IDs used to filter findings.
        resourceTags:
          type: array
          items:
            $ref: '#/components/schemas/MapFilter'
          description: Details on the resource tags used to filter findings.
        ec2InstanceImageId:
          type: array
          items:
            $ref: '#/components/schemas/StringFilter'
          description: Details of the Amazon EC2 instance image IDs used to filter findings.
        ec2InstanceVpcId:
          type: array
          items:
            $ref: '#/components/schemas/StringFilter'
          description: Details of the Amazon EC2 instance VPC IDs used to filter findings.
        ec2InstanceSubnetId:
          type: array
          items:
            $ref: '#/components/schemas/StringFilter'
          description: Details of the Amazon EC2 instance subnet IDs used to filter findings.
        ecrImagePushedAt:
          type: array
          items:
            $ref: '#/components/schemas/DateFilter'
          description: Details on the Amazon ECR image push date and time used to filter findings.
        ecrImageArchitecture:
          type: array
          items:
            $ref: '#/components/schemas/StringFilter'
          description: Details of the Amazon ECR image architecture types used to filter findings.
        ecrImageRegistry:
          type: array
          items:
            $ref: '#/components/schemas/StringFilter'
          description: Details on the Amazon ECR registry used to filter findings.
        ecrImageRepositoryName:
          type: array
          items:
            $ref: '#/components/schemas/StringFilter'
          description: Details on the name of the Amazon ECR repository used to filter findings.
        ecrImageTags:
          type: array
          items:
            $ref: '#/components/schemas/StringFilter'
          description: The tags attached to the Amazon ECR container image.
        ecrImageHash:
          type: array
          items:
            $ref: '#/components/schemas/StringFilter'
          description: Details of the Amazon ECR image hashes used to filter findings.
        ecrImageLastInUseAt:
          type: array
          items:
            $ref: '#/components/schemas/DateFilter'
          description: Filter criteria indicating when an Amazon ECR image was last used in an Amazon ECS cluster task or
            Amazon EKS cluster pod.
        ecrImageInUseCount:
          type: array
          items:
            $ref: '#/components/schemas/NumberFilter'
          description: Filter criteria indicating when details for an Amazon ECR image include when an Amazon ECR image is
            in use.
        portRange:
          type: array
          items:
            $ref: '#/components/schemas/PortRangeFilter'
          description: Details on the port ranges used to filter findings.
        networkProtocol:
          type: array
          items:
            $ref: '#/components/schemas/StringFilter'
          description: Details on network protocol used to filter findings.
        componentId:
          type: array
          items:
            $ref: '#/components/schemas/StringFilter'
          description: Details of the component IDs used to filter findings.
        componentType:
          type: array
          items:
            $ref: '#/components/schemas/StringFilter'
          description: Details of the component types used to filter findings.
        vulnerabilityId:
          type: array
          items:
            $ref: '#/components/schemas/StringFilter'
          description: Details on the vulnerability ID used to filter findings.
        vulnerabilitySource:
          type: array
          items:
            $ref: '#/components/schemas/StringFilter'
          description: Details on the vulnerability type used to filter findings.
        vendorSeverity:
          type: array
          items:
            $ref: '#/components/schemas/StringFilter'
          description: Details on the vendor severity used to filter findings.
        vulnerablePackages:
          type: array
          items:
            $ref: '#/components/schemas/PackageFilter'
          description: Details on the vulnerable packages used to filter findings.
        relatedVulnerabilities:
          type: array
          items:
            $ref: '#/components/schemas/StringFilter'
          description: Details on the related vulnerabilities used to filter findings.
        fixAvailable:
          type: array
          items:
            $ref: '#/components/schemas/StringFilter'
          description: Details on whether a fix is available through a version update. This value can be YES, NO, or PARTIAL.
            A PARTIAL fix means that some, but not all, of the packages identified in the finding have fixes available through
            updated versions.
        lambdaFunctionName:
          type: array
          items:
            $ref: '#/components/schemas/StringFilter'
          description: Filters the list of Amazon Web Services Lambda functions by the name of the function.
        lambdaFunctionLayers:
          type: array
          items:
            $ref: '#/components/schemas/StringFilter'
          description: Filters the list of Amazon Web Services Lambda functions by the function's layers. A Lambda function
            can have up to five layers.
        lambdaFunctionRuntime:
          type: array
          items:
            $ref: '#/components/schemas/StringFilter'
          description: Filters the list of Amazon Web Services Lambda functions by the runtime environment for the Lambda
            function.
        lambdaFunctionLastModifiedAt:
          type: array
          items:
            $ref: '#/components/schemas/DateFilter'
          description: Filters the list of Amazon Web Services Lambda functions by the date and time that a user last updated
            the configuration, in ISO 8601 format
        lambdaFunctionExecutionRoleArn:
          type: array
          items:
            $ref: '#/components/schemas/StringFilter'
          description: Filters the list of Amazon Web Services Lambda functions by execution role.
        exploitAvailable:
          type: array
          items:
            $ref: '#/components/schemas/StringFilter'
          description: Filters the list of Amazon Web Services Lambda findings by the availability of exploits.
        codeVulnerabilityDetectorName:
          type: array
          items:
            $ref: '#/components/schemas/StringFilter'
          description: The name of the detector used to identify a code vulnerability in a Lambda function used to filter
            findings.
        codeVulnerabilityDetectorTags:
          type: array
          items:
            $ref: '#/components/schemas/StringFilter'
          description: The detector type tag associated with the vulnerability used to filter findings. Detector tags group
            related vulnerabilities by common themes or tactics. For a list of available tags by programming language, see
            Java tags, or Python tags.
        codeVulnerabilityFilePath:
          type: array
          items:
            $ref: '#/components/schemas/StringFilter'
          description: The file path to the file in a Lambda function that contains a code vulnerability used to filter findings.
        epssScore:
          type: array
          items:
            $ref: '#/components/schemas/NumberFilter'
          description: The EPSS score used to filter findings.
        codeRepositoryProjectName:
          type: array
          items:
            $ref: '#/components/schemas/StringFilter'
          description: Filter criteria for findings based on the project name in a code repository.
        codeRepositoryProviderType:
          type: array
          items:
            $ref: '#/components/schemas/StringFilter'
          description: Filter criteria for findings based on the repository provider type (such as GitHub, GitLab, etc.).
        machineImageId:
          type: array
          items:
            $ref: '#/components/schemas/StringFilter'
          description: The ID of the Amazon Machine Image (AMI) used to filter findings.
        machineImageName:
          type: array
          items:
            $ref: '#/components/schemas/StringFilter'
          description: The name of the Amazon Machine Image (AMI) used to filter findings.
        machineImageOwnerAccountId:
          type: array
          items:
            $ref: '#/components/schemas/StringFilter'
          description: The ID of the Amazon Web Services account that owns the Amazon Machine Image (AMI) used to filter findings.
        machineImagePlatform:
          type: array
          items:
            $ref: '#/components/schemas/StringFilter'
          description: The platform of the Amazon Machine Image (AMI) used to filter findings.
        cloudProvider:
          type: array
          items:
            $ref: '#/components/schemas/StringFilter'
          description: Filter criteria for the cloud provider.
        cloudProviderRegion:
          type: array
          items:
            $ref: '#/components/schemas/StringFilter'
          description: Filter criteria for the cloud provider region.
        cloudProviderAccountId:
          type: array
          items:
            $ref: '#/components/schemas/StringFilter'
          description: Filter criteria for the cloud provider account ID.
        cloudProviderOrgId:
          type: array
          items:
            $ref: '#/components/schemas/StringFilter'
          description: Filter criteria for the cloud provider organization ID.
        cloudVmImageReference:
          type: array
          items:
            $ref: '#/components/schemas/StringFilter'
          description: Filter criteria for the image reference of a VM instance.
        cloudVmNetworkId:
          type: array
          items:
            $ref: '#/components/schemas/StringFilter'
          description: Filter criteria for the network ID of a VM instance.
        cloudVmSubnetIds:
          type: array
          items:
            $ref: '#/components/schemas/StringFilter'
          description: Filter criteria for the subnet IDs of a VM instance.
        cloudImageRepositoryName:
          type: array
          items:
            $ref: '#/components/schemas/StringFilter'
          description: Filter criteria for the repository name of a container image.
        cloudImageRegistry:
          type: array
          items:
            $ref: '#/components/schemas/StringFilter'
          description: Filter criteria for the registry of a container image.
        cloudImageDigest:
          type: array
          items:
            $ref: '#/components/schemas/StringFilter'
          description: Filter criteria for the digest of a container image.
        cloudImageTags:
          type: array
          items:
            $ref: '#/components/schemas/StringFilter'
          description: Filter criteria for the tags of a container image.
        cloudImagePushedAt:
          type: array
          items:
            $ref: '#/components/schemas/DateFilter'
          description: Filter criteria for when a container image was pushed.
        cloudImageArchitecture:
          type: array
          items:
            $ref: '#/components/schemas/StringFilter'
          description: Filter criteria for the architecture of a container image.
        cloudImageLastInUseAt:
          type: array
          items:
            $ref: '#/components/schemas/DateFilter'
          description: Filter criteria for the last time a container image was in use.
        cloudImageInUseCount:
          type: array
          items:
            $ref: '#/components/schemas/NumberFilter'
          description: Filter criteria for the in-use count of a container image.
        cloudServerlessFunctionName:
          type: array
          items:
            $ref: '#/components/schemas/StringFilter'
          description: Filter criteria for the name of a serverless function.
        cloudServerlessFunctionRuntime:
          type: array
          items:
            $ref: '#/components/schemas/StringFilter'
          description: Filter criteria for the runtime of a serverless function.
        cloudServerlessFunctionLastModifiedAt:
          type: array
          items:
            $ref: '#/components/schemas/DateFilter'
          description: Filter criteria for when a serverless function was last modified.
        cloudServerlessFunctionExecutionRole:
          type: array
          items:
            $ref: '#/components/schemas/StringFilter'
          description: Filter criteria for the execution role of a serverless function.
    GetFindingsReportStatusResponse:
      type: object
      properties:
        reportId:
          type: string
          description: The ID of the report.
        status:
          type: string
          description: The status of the report.
        errorCode:
          type: string
          description: The error code of the report.
        errorMessage:
          type: string
          description: The error message of the report.
        destination:
          $ref: '#/components/schemas/Destination'
        filterCriteria:
          $ref: '#/components/schemas/FilterCriteria'
    InternalServerException:
      type: object
      properties:
        message:
          type: string
        retryAfterSeconds:
          type: integer
          description: The number of seconds to wait before retrying the request.
      required:
      - message
    MapFilter:
      type: object
      properties:
        comparison:
          type: string
          description: The operator to use when comparing values in the filter.
        key:
          type: string
          description: The tag key used in the filter.
        value:
          type: string
          description: The tag value used in the filter.
      required:
      - comparison
      - key
    NumberFilter:
      type: object
      properties:
        upperInclusive:
          type: number
          description: The highest number to be included in the filter.
        lowerInclusive:
          type: number
          description: The lowest number to be included in the filter.
    PackageFilter:
      type: object
      properties:
        name:
          $ref: '#/components/schemas/StringFilter'
        version:
          $ref: '#/components/schemas/StringFilter'
        epoch:
          $ref: '#/components/schemas/NumberFilter'
        release:
          $ref: '#/components/schemas/StringFilter'
        architecture:
          $ref: '#/components/schemas/StringFilter'
        sourceLayerHash:
          $ref: '#/components/schemas/StringFilter'
        sourceLambdaLayerArn:
          $ref: '#/components/schemas/StringFilter'
        filePath:
          $ref: '#/components/schemas/StringFilter'
    PortRangeFilter:
      type: object
      properties:
        beginInclusive:
          type: integer
          description: The port number the port range begins at.
        endInclusive:
          type: integer
          description: The port number the port range ends at.
    ResourceNotFoundException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
    StringFilter:
      type: object
      properties:
        comparison:
          type: string
          description: The operator to use when comparing values in the filter.
        value:
          type: string
          description: The value to filter on.
      required:
      - comparison
      - value
    ThrottlingException:
      type: object
      properties:
        message:
          type: string
        retryAfterSeconds:
          type: integer
          description: The number of seconds to wait before retrying the request.
      required:
      - message
    ValidationException:
      type: object
      properties:
        message:
          type: string
        reason:
          type: string
          description: The reason for the validation failure.
        fields:
          type: array
          items:
            $ref: '#/components/schemas/ValidationExceptionField'
          description: The fields that failed validation.
      required:
      - message
      - reason
    ValidationExceptionField:
      type: object
      properties:
        name:
          type: string
          description: The name of the validation exception.
        message:
          type: string
          description: The validation exception message.
      required:
      - name
      - message
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/inspector2/service/2020-06-08/inspector2-2020-06-08.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)