Skip to main content

assessment_run_agents

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

Overview

Nameassessment_run_agents
TypeResource
Idaws.inspector.assessment_run_agents

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
agent_healthstringThe current health state of the agent. (HEALTHY, UNHEALTHY, UNKNOWN)
agent_health_codestringThe detailed health state of the agent. (IDLE, RUNNING, SHUTDOWN, UNHEALTHY, THROTTLED, UNKNOWN)
agent_health_detailsstringThe description for the agent health code.
agent_idstringThe AWS account of the EC2 instance where the agent is installed.
assessment_run_arnstringThe ARN of the assessment run that is associated with the agent.
auto_scaling_groupstringThe Auto Scaling group of the EC2 instance that is specified by the agent ID.
telemetry_metadataarrayThe Amazon Inspector application data metrics that are collected by the agent.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_assessment_run_agentsselectregionLists 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.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

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
;