assessment_run_agents
Creates, updates, deletes, gets or lists an assessment_run_agents resource.
Overview
| Name | assessment_run_agents |
| Type | Resource |
| Id | aws.inspector.assessment_run_agents |
Fields
The following fields are returned by SELECT queries:
- list_assessment_run_agents
| Name | Datatype | Description |
|---|---|---|
agent_health | string | The current health state of the agent. (HEALTHY, UNHEALTHY, UNKNOWN) |
agent_health_code | string | The detailed health state of the agent. (IDLE, RUNNING, SHUTDOWN, UNHEALTHY, THROTTLED, UNKNOWN) |
agent_health_details | string | The description for the agent health code. |
agent_id | string | The AWS account of the EC2 instance where the agent is installed. |
assessment_run_arn | string | The ARN of the assessment run that is associated with the agent. |
auto_scaling_group | string | The Auto Scaling group of the EC2 instance that is specified by the agent ID. |
telemetry_metadata | array | The Amazon Inspector application data metrics that are collected by the agent. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_assessment_run_agents | select | region | Lists the agents of the assessment runs that are specified by the ARNs of the assessment runs. |
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
- list_assessment_run_agents
Lists the agents of the assessment runs that are specified by the ARNs of the assessment runs.
SELECT
agent_health,
agent_health_code,
agent_health_details,
agent_id,
assessment_run_arn,
auto_scaling_group,
telemetry_metadata
FROM aws.inspector.assessment_run_agents
WHERE region = '{{ region }}' -- required
;