threat_model_jobs
Creates, updates, deletes, gets or lists a threat_model_jobs resource.
Overview
| Name | threat_model_jobs |
| Type | Resource |
| Id | aws.securityagent.threat_model_jobs |
Fields
The following fields are returned by SELECT queries:
- batch_get_threat_model_jobs
- list_threat_model_jobs
| Name | Datatype | Description |
|---|---|---|
not_found | array | List of threat model job IDs. |
threat_model_jobs | array | The list of threat model jobs 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 threat model job was created, in UTC format. |
status | string | The current status of the threat model job. (IN_PROGRESS, STOPPING, STOPPED, FAILED, COMPLETED) |
threat_model_id | string | The unique identifier of the threat model associated with the job. |
threat_model_job_id | string | The unique identifier of the threat model job. |
title_ | string | The title of the threat model job. |
updated_at | string (date-time) | The date and time the threat model job 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_jobs | select | region | Retrieves information about one or more threat model jobs in an agent space. | |
list_threat_model_jobs | select | region | Returns a paginated list of threat model job summaries for the specified threat model. |
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_jobs
- list_threat_model_jobs
Retrieves information about one or more threat model jobs in an agent space.
SELECT
not_found,
threat_model_jobs
FROM aws.securityagent.threat_model_jobs
WHERE region = '{{ region }}' -- required
;
Returns a paginated list of threat model job summaries for the specified threat model.
SELECT
agent_space_id,
created_at,
status,
threat_model_id,
threat_model_job_id,
title_,
updated_at
FROM aws.securityagent.threat_model_jobs
WHERE region = '{{ region }}' -- required
;