assessment_runs
Creates, updates, deletes, gets or lists an assessment_runs resource.
Overview
| Name | assessment_runs |
| Type | Resource |
| Id | aws.inspector.assessment_runs |
Fields
The following fields are returned by SELECT queries:
- describe_assessment_runs
- list_assessment_runs
| Name | Datatype | Description |
|---|---|---|
assessment_runs | array | Information about the assessment run. |
failed_items | object | Assessment run details that cannot be described. An error code is provided for each failed item. |
| Name | Datatype | Description |
|---|---|---|
assessment_run_arn | string | A list of ARNs that specifies the assessment runs that are returned by the action. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
describe_assessment_runs | select | region | Describes the assessment runs that are specified by the ARNs of the assessment runs. | |
list_assessment_runs | select | region | Lists the assessment runs that correspond to the assessment templates that are specified by the ARNs of the assessment templates. | |
delete_assessment_run | delete | region | Deletes 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.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- describe_assessment_runs
- list_assessment_runs
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
;
Lists the assessment runs that correspond to the assessment templates that are specified by the ARNs of the assessment templates.
SELECT
assessment_run_arn
FROM aws.inspector.assessment_runs
WHERE region = '{{ region }}' -- required
;
DELETE examples
- delete_assessment_run
Deletes the assessment run that is specified by the ARN of the assessment run.
DELETE FROM aws.inspector.assessment_runs
WHERE region = '{{ region }}' --required
;