Interface downloadAssetVersionReportParams

interface downloadAssetVersionReportParams {
    assetVersionId: string;
    outputFilename?: string;
    reportSubtype: ReportSubtype;
    reportType: ReportType;
    verbose?: boolean;
}

Properties

assetVersionId: string

The Asset Version ID to download the report for.

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.

reportSubtype: ReportSubtype

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

reportType: ReportType

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

verbose?: boolean

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