Skip to main content

assessment_runs

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

Overview

Nameassessment_runs
TypeResource
Idaws.inspector.assessment_runs

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
assessment_runsarrayInformation about the assessment run.
failed_itemsobjectAssessment run details that cannot be described. An error code is provided for each failed item.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_assessment_runsselectregionDescribes the assessment runs that are specified by the ARNs of the assessment runs.
list_assessment_runsselectregionLists the assessment runs that correspond to the assessment templates that are specified by the ARNs of the assessment templates.
delete_assessment_rundeleteregionDeletes the assessment run that is specified by the ARN of the assessment run.

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

Describes the assessment runs that are specified by the ARNs of the assessment runs.

SELECT
assessment_runs,
failed_items
FROM aws.inspector.assessment_runs
WHERE region = '{{ region }}' -- required
;

DELETE examples

Deletes the assessment run that is specified by the ARN of the assessment run.

DELETE FROM aws.inspector.assessment_runs
WHERE region = '{{ region }}' --required
;