sbom_validation_results
Creates, updates, deletes, gets or lists a sbom_validation_results resource.
Overview
| Name | sbom_validation_results |
| Type | Resource |
| Id | aws.iot.sbom_validation_results |
Fields
The following fields are returned by SELECT queries:
- list_sbom_validation_results
| Name | Datatype | Description |
|---|---|---|
error_code | string | The errorCode representing the validation failure error if the SBOM validation failed. (INCOMPATIBLE_FORMAT, FILE_SIZE_LIMIT_EXCEEDED) |
error_message | string | The errorMessage representing the validation failure error if the SBOM validation failed. |
file_name | string | The name of the SBOM file. |
validation_result | string | The end result of the SBOM validation. (FAILED, SUCCEEDED) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_sbom_validation_results | select | package_name, version_name, region | validationResult, maxResults, nextToken | The 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.
| Name | Datatype | Description |
|---|---|---|
package_name | string | The name of the new software package. |
region | string | AWS region (default: us-east-1) |
version_name | string | The name of the new package version. |
maxResults | integer | The maximum number of results to return at one time. |
nextToken | string | A token that can be used to retrieve the next set of results, or null if there are no additional results. |
validationResult | string | The end result of the |
SELECT examples
- list_sbom_validation_results
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 }}'
;