Interface downloadProductReportParams

interface downloadProductReportParams {
    outputFilename?: string;
    productId: string;
    reportSubtype: "ALL_FINDINGS";
    reportType: "CSV";
    verbose?: boolean;
}

Properties

outputFilename?: string

The local filename to save the report to. If not provided, the report will be saved to a file named "report.csv" or "report.pdf" in the current directory based on the report type.

productId: string

The Product ID to download the report for.

reportSubtype: "ALL_FINDINGS"

The type of report to download. Based on available reports for the reportType specified Valid values for CSV are "ALL_FINDINGS".

reportType: "CSV"

The file type of the report to download. Valid values are "CSV".

verbose?: boolean

If True, will print additional information to the console. Defaults to False.