threat_model_job_tasks
Creates, updates, deletes, gets or lists a threat_model_job_tasks resource.
Overview
| Name | threat_model_job_tasks |
| Type | Resource |
| Id | aws.securityagent.threat_model_job_tasks |
Fields
The following fields are returned by SELECT queries:
- batch_get_threat_model_job_tasks
- list_threat_model_job_tasks
| Name | Datatype | Description |
|---|---|---|
not_found | array | The list of task identifiers that were not found. |
threat_model_job_tasks | array | The list of threat model job tasks that were found. |
| Name | Datatype | Description |
|---|---|---|
agent_space_id | string | The unique identifier of the agent space. |
created_at | string (date-time) | The date and time the task was created, in UTC format. |
execution_status | string | The current execution status of the task. (IN_PROGRESS, ABORTED, COMPLETED, INTERNAL_ERROR, FAILED) |
task_id | string | The unique identifier of the task. |
threat_model_id | string | The unique identifier of the threat model associated with the task. |
threat_model_job_id | string | The unique identifier of the threat model job that contains the task. |
title_ | string | The title of the task. |
updated_at | string (date-time) | The date and time the task was last updated, in UTC format. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
batch_get_threat_model_job_tasks | select | region | Retrieves information about one or more tasks within a threat model job. | |
list_threat_model_job_tasks | select | region | Returns a paginated list of task summaries for the specified threat model job. |
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
- batch_get_threat_model_job_tasks
- list_threat_model_job_tasks
Retrieves information about one or more tasks within a threat model job.
SELECT
not_found,
threat_model_job_tasks
FROM aws.securityagent.threat_model_job_tasks
WHERE region = '{{ region }}' -- required
;
Returns a paginated list of task summaries for the specified threat model job.
SELECT
agent_space_id,
created_at,
execution_status,
task_id,
threat_model_id,
threat_model_job_id,
title_,
updated_at
FROM aws.securityagent.threat_model_job_tasks
WHERE region = '{{ region }}' -- required
;