Inspector2

2024/05/03 - Inspector2 - 1 updated api methods

Changes  This release adds CSV format to GetCisScanReport for Inspector v2

GetCisScanReport (updated) Link ΒΆ
Changes (request)
{'reportFormat': 'PDF | CSV'}

Retrieves a CIS scan report.

See also: AWS API Documentation

Request Syntax

client.get_cis_scan_report(
    reportFormat='PDF'|'CSV',
    scanArn='string',
    targetAccounts=[
        'string',
    ]
)
type reportFormat

string

param reportFormat

The format of the report. Valid values are PDF and CSV . If no value is specified, the report format defaults to PDF .

type scanArn

string

param scanArn

[REQUIRED]

The scan ARN.

type targetAccounts

list

param targetAccounts

The target accounts.

  • (string) --

rtype

dict

returns

Response Syntax

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

Response Structure

  • (dict) --

    • status (string) --

      The status.

    • url (string) --

      The URL where a PDF or CSV of the CIS scan report can be downloaded.