Skip to main content

assessments

Creates, updates, deletes, gets or lists an assessments resource.

Overview

Nameassessments
TypeResource
Idaws.marketplace_catalog.assessments

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
control_assessment_resultstringThe result of the control evaluation. (PASS, FAIL, NOT_EXECUTED, EXEMPTION_PASS)
control_idstringThe unique ID of the control that was evaluated. (pattern: <code>^[\w-]+$</code>)
errorsarrayAn array of ControlError objects associated with the control evaluation.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_assessmentselectregionReturns the metadata and detailed results of a single assessment, including the framework that was evaluated, the overall assessment result, and a paginated list of individual control evaluation results. To list available assessments before describing one, use the ListAssessments action.
list_assessmentsselectregionReturns a paginated list of assessments associated with an entity or change set in AWS Marketplace. An assessment is the result of evaluating a product or change set against a framework, such as AMI Security or Container Security. Use the AssessmentTargetFilter to scope results to a specific entity or change set, and use FrameworkFilters to scope results to a single framework. To retrieve detailed control-level results for an individual assessment, use the DescribeAssessment action. Results are sorted by assessment creation time in descending order.

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
regionstringAWS region (default: us-east-1)

SELECT examples

Returns the metadata and detailed results of a single assessment, including the framework that was evaluated, the overall assessment result, and a paginated list of individual control evaluation results. To list available assessments before describing one, use the ListAssessments action.

SELECT
control_assessment_result,
control_id,
errors
FROM aws.marketplace_catalog.assessments
WHERE region = '{{ region }}' -- required
;