Interface CreateNewAssetVersionParams

interface CreateNewAssetVersionParams {
    artifactDescription?: string;
    assetId: string;
    businessUnitId?: string;
    createdByUserId?: string;
    filePath: string;
    productId?: string;
    testType: string;
    uploadMethod?: UploadMethod;
    version: string;
}

Properties

artifactDescription?: string

Description of the artifact being scanned (e.g. "Source Code Repository", "Container Image"). If not provided, the default artifact description will be used.

assetId: string

Asset ID to create the asset version for.

businessUnitId?: string

Business Unit ID to create the asset version for. If not provided, the existing Business Unit for the Asset will be used.

createdByUserId?: string

Created By User ID to create the asset version for. If not provided, the existing Created By User for the Asset will be used.

filePath: string

Path to the test results file to upload.

productId?: string

Product ID to create the asset version for. If not provided, the existing Product for the Asset will be used.

testType: string

Test type. This must be one of the list of supported third party scanner types. For the full list of supported third party scanner types, see the Finite State API documentation.

uploadMethod?: UploadMethod

The method of uploading the test results. Default is UploadMethod.API.

version: string

Version to create the asset version for.