Amazon Inspector Inspector Cissession API

The Inspector Cissession API from Amazon Inspector — 4 operation(s) for inspector cissession.

GitHub OpenAPI

Operations 4

PUT /cissession/health/send Send Cis Session Health #
PUT /cissession/telemetry/send Send Cis Session Telemetry #
PUT /cissession/start Start Cis Session #
PUT /cissession/stop Stop Cis Session #

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-cissession-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-cissession-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Inspector2 Cissession API
  version: '2020-06-08'
  description: Generated from AWS's published Smithy model for Inspector2. 4 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:
  /cissession/health/send:
    put:
      operationId: SendCisSessionHealth
      summary: Send Cis Session Health
      description: Sends a CIS session health. This API is used by the Amazon Inspector SSM plugin to communicate with the
        Amazon Inspector service. The Amazon Inspector SSM plugin calls this API to start a CIS scan session for the scan
        ID supplied by the service.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SendCisSessionHealthResponse'
              example: {}
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '409':
          description: ConflictException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConflictException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '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:
                scanJobId:
                  type: string
                  description: A unique identifier for the scan job.
                sessionToken:
                  type: string
                  description: The unique token that identifies the CIS session.
              required:
              - scanJobId
              - sessionToken
            example:
              scanJobId: 624b746d-e080-44ae-8c1d-48e653365a38
              sessionToken: 624b746d-e080-44ae-8c1d-48e653365a31
      tags:
      - Cissession
  /cissession/telemetry/send:
    put:
      operationId: SendCisSessionTelemetry
      summary: Send Cis Session Telemetry
      description: Sends a CIS session telemetry. This API is used by the Amazon Inspector SSM plugin to communicate with
        the Amazon Inspector service. The Amazon Inspector SSM plugin calls this API to start a CIS scan session for the scan
        ID supplied by the service.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SendCisSessionTelemetryResponse'
              example: {}
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '409':
          description: ConflictException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConflictException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '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:
                scanJobId:
                  type: string
                  description: A unique identifier for the scan job.
                sessionToken:
                  type: string
                  description: The unique token that identifies the CIS session.
                messages:
                  type: array
                  items:
                    $ref: '#/components/schemas/CisSessionMessage'
                  description: The CIS session telemetry messages.
              required:
              - scanJobId
              - sessionToken
              - messages
            example:
              scanJobId: 624b746d-e080-44ae-8c1d-48e653365a38
              sessionToken: 624b746d-e080-44ae-8c1d-48e653365a31
              messages:
              - ruleId: 1.12.1
                status: FAILED
                cisRuleDetails: dGVzdCBleGFtcGxlCg==
              - ruleId: 1.2.1
                status: PASSED
                cisRuleDetails: dGVzdCBleGFtcGxlCg==dGVzdCBleGFtcGxlCg
      tags:
      - Cissession
  /cissession/start:
    put:
      operationId: StartCisSession
      summary: Start Cis Session
      description: Starts a CIS session. This API is used by the Amazon Inspector SSM plugin to communicate with the Amazon
        Inspector service. The Amazon Inspector SSM plugin calls this API to start a CIS scan session for the scan ID supplied
        by the service.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StartCisSessionResponse'
              example: {}
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '409':
          description: ConflictException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConflictException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '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:
                scanJobId:
                  type: string
                  description: A unique identifier for the scan job.
                message:
                  $ref: '#/components/schemas/StartCisSessionMessage'
              required:
              - scanJobId
              - message
            example:
              scanJobId: 624b746d-e080-44ae-8c1d-48e653365a38
              message:
                sessionToken: 624b746d-e080-44ae-8c1d-48e653365a31
      tags:
      - Cissession
  /cissession/stop:
    put:
      operationId: StopCisSession
      summary: Stop Cis Session
      description: Stops a CIS session. This API is used by the Amazon Inspector SSM plugin to communicate with the Amazon
        Inspector service. The Amazon Inspector SSM plugin calls this API to stop a CIS scan session for the scan ID supplied
        by the service.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StopCisSessionResponse'
              example: {}
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '409':
          description: ConflictException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConflictException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '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:
                scanJobId:
                  type: string
                  description: A unique identifier for the scan job.
                sessionToken:
                  type: string
                  description: The unique token that identifies the CIS session.
                message:
                  $ref: '#/components/schemas/StopCisSessionMessage'
              required:
              - scanJobId
              - sessionToken
              - message
            example:
              scanJobId: 624b746d-e080-44ae-8c1d-48e653365a38
              sessionToken: 624b746d-e080-44ae-8c1d-48e653365a31
              message:
                status: FAILED
                reason: Failure Reason
                progress:
                  informationalChecks: 1
                  errorChecks: 1
                  successfulChecks: 5
                  notApplicableChecks: 0
                  totalChecks: 10
                  unknownChecks: 0
                  notEvaluatedChecks: 2
                  failedChecks: 0
                computePlatform:
                  vendor: canonical
                  product: ubuntu
                  version: '20.04'
                benchmarkVersion: 2.0.0
                benchmarkProfile: xccdf_org.cisecurity.benchmarks_profile_Level_1
      tags:
      - Cissession
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
    CisSessionMessage:
      type: object
      properties:
        ruleId:
          type: string
          description: The rule ID for the CIS session message.
        status:
          type: string
          enum:
          - FAILED
          - PASSED
          - NOT_EVALUATED
          - INFORMATIONAL
          - UNKNOWN
          - NOT_APPLICABLE
          - ERROR
          description: The status of the CIS session message.
        cisRuleDetails:
          type: string
          format: byte
          description: The CIS rule details for the CIS session message.
      required:
      - ruleId
      - status
      - cisRuleDetails
    ComputePlatform:
      type: object
      properties:
        vendor:
          type: string
          description: The compute platform vendor.
        product:
          type: string
          description: The compute platform product.
        version:
          type: string
          description: The compute platform version.
    ConflictException:
      type: object
      properties:
        message:
          type: string
        resourceId:
          type: string
          description: The ID of the conflicting resource.
        resourceType:
          type: string
          description: The type of the conflicting resource.
      required:
      - message
      - resourceId
      - resourceType
    InternalServerException:
      type: object
      properties:
        message:
          type: string
        retryAfterSeconds:
          type: integer
          description: The number of seconds to wait before retrying the request.
      required:
      - message
    SendCisSessionHealthResponse:
      type: object
      properties: {}
    SendCisSessionTelemetryResponse:
      type: object
      properties: {}
    StartCisSessionMessage:
      type: object
      properties:
        sessionToken:
          type: string
          description: The unique token that identifies the CIS session.
      required:
      - sessionToken
    StartCisSessionResponse:
      type: object
      properties: {}
    StopCisMessageProgress:
      type: object
      properties:
        totalChecks:
          type: integer
          description: The progress' total checks.
        successfulChecks:
          type: integer
          description: The progress' successful checks.
        failedChecks:
          type: integer
          description: The progress' failed checks.
        notEvaluatedChecks:
          type: integer
          description: The progress' not evaluated checks.
        unknownChecks:
          type: integer
          description: The progress' unknown checks.
        notApplicableChecks:
          type: integer
          description: The progress' not applicable checks.
        informationalChecks:
          type: integer
          description: The progress' informational checks.
        errorChecks:
          type: integer
          description: The progress' error checks.
    StopCisSessionMessage:
      type: object
      properties:
        status:
          type: string
          enum:
          - SUCCESS
          - FAILED
          - INTERRUPTED
          - UNSUPPORTED_OS
          description: The status of the message.
        reason:
          type: string
          description: The reason for the message.
        progress:
          $ref: '#/components/schemas/StopCisMessageProgress'
        computePlatform:
          $ref: '#/components/schemas/ComputePlatform'
        benchmarkVersion:
          type: string
          description: The message benchmark version.
        benchmarkProfile:
          type: string
          description: The message benchmark profile.
      required:
      - status
      - progress
    StopCisSessionResponse:
      type: object
      properties: {}
    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)