Skip to content

Stop Cis Session

inspector2_stop_cis_session R Documentation

Stops a 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 start a CIS scan session for the scan ID supplied by the service.

Usage

inspector2_stop_cis_session(message, scanJobId, sessionToken)

Arguments

message

[required] The stop CIS session message.

scanJobId

[required] A unique identifier for the scan job.

sessionToken

[required] The unique token that identifies the CIS session.

Value

An empty list.

Request syntax

svc$stop_cis_session(
  message = list(
    benchmarkProfile = "string",
    benchmarkVersion = "string",
    computePlatform = list(
      product = "string",
      vendor = "string",
      version = "string"
    ),
    progress = list(
      errorChecks = 123,
      failedChecks = 123,
      informationalChecks = 123,
      notApplicableChecks = 123,
      notEvaluatedChecks = 123,
      successfulChecks = 123,
      totalChecks = 123,
      unknownChecks = 123
    ),
    reason = "string",
    status = "SUCCESS"|"FAILED"|"INTERRUPTED"|"UNSUPPORTED_OS"
  ),
  scanJobId = "string",
  sessionToken = "string"
)