Skip to content

Retrieves a CIS scan report

Description

Retrieves a CIS scan report.

Usage

inspector2_get_cis_scan_report(scanArn, targetAccounts, reportFormat)

Arguments

  • scanArn

    [required] The scan ARN.

  • targetAccounts

    The target accounts.

  • reportFormat

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

Value

A list with the following syntax:

list(
  url = "string",
  status = "SUCCEEDED"|"FAILED"|"IN_PROGRESS"
)

Request syntax

svc$get_cis_scan_report(
  scanArn = "string",
  targetAccounts = list(
    "string"
  ),
  reportFormat = "PDF"|"CSV"
)