Skip to content

Send Cis Session Telemetry

inspector2_send_cis_session_telemetry R Documentation

Sends a 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.

Usage

inspector2_send_cis_session_telemetry(messages, scanJobId, sessionToken)

Arguments

messages

[required] The CIS session telemetry messages.

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$send_cis_session_telemetry(
  messages = list(
    list(
      cisRuleDetails = raw,
      ruleId = "string",
      status = "FAILED"|"PASSED"|"NOT_EVALUATED"|"INFORMATIONAL"|"UNKNOWN"|"NOT_APPLICABLE"|"ERROR"
    )
  ),
  scanJobId = "string",
  sessionToken = "string"
)