Inspector2 / Client / send_cis_session_health

send_cis_session_health#

Inspector2.Client.send_cis_session_health(**kwargs)#

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.

See also: AWS API Documentation

Request Syntax

response = client.send_cis_session_health(
    scanJobId='string',
    sessionToken='string'
)
Parameters:
  • scanJobId (string) –

    [REQUIRED]

    A unique identifier for the scan job.

  • sessionToken (string) –

    [REQUIRED]

    The unique token that identifies the CIS session.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions