Inspector2 / Client / get_cis_scan_report

get_cis_scan_report#

Inspector2.Client.get_cis_scan_report(**kwargs)#

Retrieves a CIS scan report.

See also: AWS API Documentation

Request Syntax

response = client.get_cis_scan_report(
    scanArn='string',
    targetAccounts=[
        'string',
    ]
)
Parameters:
  • scanArn (string) –

    [REQUIRED]

    The scan ARN.

  • targetAccounts (list) –

    The target accounts.

    • (string) –

Return type:

dict

Returns:

Response Syntax

{
    'status': 'SUCCEEDED'|'FAILED'|'IN_PROGRESS',
    'url': 'string'
}

Response Structure

  • (dict) –

    • status (string) –

      The status.

    • url (string) –

      The URL where the CIS scan report PDF can be downloaded.

Exceptions