Skip to main content

sbom_validation_results

Creates, updates, deletes, gets or lists a sbom_validation_results resource.

Overview

Namesbom_validation_results
TypeResource
Idaws.iot.sbom_validation_results

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
error_codestringThe errorCode representing the validation failure error if the SBOM validation failed. (INCOMPATIBLE_FORMAT, FILE_SIZE_LIMIT_EXCEEDED)
error_messagestringThe errorMessage representing the validation failure error if the SBOM validation failed.
file_namestringThe name of the SBOM file.
validation_resultstringThe end result of the SBOM validation. (FAILED, SUCCEEDED)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_sbom_validation_resultsselectpackage_name, version_name, regionvalidationResult, maxResults, nextTokenThe validation results for all software bill of materials (SBOM) attached to a specific software package version. Requires permission to access the ListSbomValidationResults action.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
package_namestringThe name of the new software package.
regionstringAWS region (default: us-east-1)
version_namestringThe name of the new package version.
maxResultsintegerThe maximum number of results to return at one time.
nextTokenstringA token that can be used to retrieve the next set of results, or null if there are no additional results.
validationResultstringThe end result of the

SELECT examples

The validation results for all software bill of materials (SBOM) attached to a specific software package version. Requires permission to access the ListSbomValidationResults action.

SELECT
error_code,
error_message,
file_name,
validation_result
FROM aws.iot.sbom_validation_results
WHERE package_name = '{{ package_name }}' -- required
AND version_name = '{{ version_name }}' -- required
AND region = '{{ region }}' -- required
AND validationResult = '{{ validationResult }}'
AND maxResults = '{{ maxResults }}'
AND nextToken = '{{ nextToken }}'
;