---
title: "PUT /cissession/stop"
method: PUT
path: "/cissession/stop"
---

# PUT /cissession/stop

`PUT /cissession/stop`

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.

## Request body

- object
  - `scanJobId` string, required — A unique identifier for the scan job.
  - `sessionToken` string, required — The unique token that identifies the CIS session.
  - `message` object, required — The stop CIS session message.
    - `status` 'SUCCESS' | 'FAILED' | 'INTERRUPTED' | 'UNSUPPORTED_OS' — The status of the message.
    - `reason` string — The reason for the message.
    - `progress` object — The progress of the message.
      - `totalChecks` integer — The progress' total checks.
      - `successfulChecks` integer — The progress' successful checks.
      - `failedChecks` integer — The progress' failed checks.
      - `notEvaluatedChecks` integer — The progress' not evaluated checks.
      - `unknownChecks` integer — The progress' unknown checks.
      - `notApplicableChecks` integer — The progress' not applicable checks.
      - `informationalChecks` integer — The progress' informational checks.
      - `errorChecks` integer — The progress' error checks.
    - `computePlatform` object — The message compute platform.
      - `vendor` string — The compute platform vendor.
      - `product` string — The compute platform product.
      - `version` string — The compute platform version.
    - `benchmarkVersion` string — The message benchmark version.
    - `benchmarkProfile` string — The message benchmark profile.

## Response `200`

Success

- StopCisSessionResponse

## Other responses

- `480` — ConflictException
- `481` — ValidationException
- `482` — AccessDeniedException
- `483` — ThrottlingException
- `484` — InternalServerException

---

[API](https://skmtc.net/aws/apis/inspector2.md) · [All operations](https://skmtc.net/aws/apis/inspector2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/inspector2/versions/c51110c7cd43/schema)
