Create a new Artifact.
This is an advanced method - you are probably looking for createNewAssetVersionAndUploadBinary or createNewAssetVersionAndUploadTestResults.
Protected
createProtected
createCreates a new Asset Version for an existing asset, and uploads a binary file for Finite State Binary Analysis. By default, this uses the existing Business Unit and Created By User for the Asset. If you need to change these, you can provide the IDs for them.
The response from the GraphQL query, a createAssetVersion Object.
Protected
createCreates a new Asset Version for an existing asset, and uploads test results for that asset version. By default, this uses the existing Business Unit and Created By User for the Asset. If you need to change these, you can provide the IDs for them.
The response from the GraphQL query, a createAssetVersion Object.
Protected
createCreate a new Product.
Protected
createCreate a new Test object for uploading files.
This is an advanced method - you are probably looking for createNewAssetVersionAndUploadBinary or createNewAssetVersionAndUploadTestResults.
Create a new Test object for uploading files for Finite State Binary Analysis.
Protected
createCreate a new Test object for uploading Third Party Scanner files.
Protected
createProtected
createDownload a report for a specific asset version and save it to a local file. This is a blocking call, and can sometimes take minutes to return if the report is very large.
Protected
downloadDownload a report for a specific product and save it to a local file. This is a blocking call, and can sometimes take minutes to return if the report is very large.
Protected
downloadDownload an SBOM for an Asset Version and save it to a local file. This is a blocking call, and can sometimes take minutes to return if the SBOM is very large.
Protected
downloadBlocking call: Initiates generation of a report, and returns a pre-signed URL for downloading the report. This may take several minutes to complete, depending on the size of the report.
Protected
generateBlocking call: Initiates generation of an SBOM for the asset_version_id, and return a pre-signed URL for downloading the SBOM. This may take several minutes to complete, depending on the size of SBOM.
Protected
generateGets all assets in the organization. Uses pagination to get all results.
Protected
getProtected
getGet all results from a paginated GraphQL query
The GraphQL query string
Optional
variables: Record<string, any>Variables to be used in the GraphQL query, by default None
Optional
field: stringThe field in the response JSON that contains the results
Optional
limit: numberThe maximum number of results to return. By default, None to return all results. Limit cannot be greater than 1000.
Protected
getProtected
getProtected
getGets asset versions in the organization. Uses pagination to get all results.
Protected
getGets all the Findings for an Asset Version. Uses pagination to get all results.
Protected
getProtected
getGets all the products for the specified business unit.
Protected
getGets all the Software Components for an Asset Version. Uses pagination to get all results.
Protected
getSearches the SBOM of a specific asset version or the entire organization for matching software components. Search Methods: EXACT or CONTAINS An exact match will return only the software component whose name matches the name exactly. A contains match will return all software components whose name contains the search string.
Protected
searchSend a GraphQL query to the API
The GraphQL query string
Optional
variables: Record<string, any>Variables to be used in the GraphQL query, by default null
Protected
sendUpdates the status of a findings or multiple findings. This is a blocking call.
Protected
update
exposed methods