code_review_job_tasks
Creates, updates, deletes, gets or lists a code_review_job_tasks resource.
Overview
| Name | code_review_job_tasks |
| Type | Resource |
| Id | aws.securityagent.code_review_job_tasks |
Fields
The following fields are returned by SELECT queries:
- batch_get_code_review_job_tasks
- list_code_review_job_tasks
| Name | Datatype | Description |
|---|---|---|
code_review_job_tasks | array | The list of code review job tasks that were found. |
not_found | array | The list of task identifiers that were not found. |
| Name | Datatype | Description |
|---|---|---|
agent_space_id | string | The unique identifier of the agent space. |
code_review_id | string | The unique identifier of the code review associated with the task. |
code_review_job_id | string | The unique identifier of the code review job that contains the task. |
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) |
risk_type | string | Type of security risk. (CROSS_SITE_SCRIPTING, DEFAULT_CREDENTIALS, INSECURE_DIRECT_OBJECT_REFERENCE, PRIVILEGE_ESCALATION, SERVER_SIDE_TEMPLATE_INJECTION, COMMAND_INJECTION, CODE_INJECTION, SQL_INJECTION, ARBITRARY_FILE_UPLOAD, INSECURE_DESERIALIZATION, LOCAL_FILE_INCLUSION, INFORMATION_DISCLOSURE, PATH_TRAVERSAL, SERVER_SIDE_REQUEST_FORGERY, JSON_WEB_TOKEN_VULNERABILITIES, XML_EXTERNAL_ENTITY, FILE_DELETION, OTHER, GRAPHQL_VULNERABILITIES, BUSINESS_LOGIC_VULNERABILITIES, CRYPTOGRAPHIC_VULNERABILITIES, DENIAL_OF_SERVICE, FILE_ACCESS, FILE_CREATION, DATABASE_MODIFICATION, DATABASE_ACCESS, OUTBOUND_SERVICE_REQUEST, UNKNOWN) |
task_id | string | The unique identifier of 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_code_review_job_tasks | select | region | Retrieves information about one or more tasks within a code review job. | |
list_code_review_job_tasks | select | region | Returns a paginated list of task summaries for the specified code review job, optionally filtered by step name or category. |
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_code_review_job_tasks
- list_code_review_job_tasks
Retrieves information about one or more tasks within a code review job.
SELECT
code_review_job_tasks,
not_found
FROM aws.securityagent.code_review_job_tasks
WHERE region = '{{ region }}' -- required
;
Returns a paginated list of task summaries for the specified code review job, optionally filtered by step name or category.
SELECT
agent_space_id,
code_review_id,
code_review_job_id,
created_at,
execution_status,
risk_type,
task_id,
title_,
updated_at
FROM aws.securityagent.code_review_job_tasks
WHERE region = '{{ region }}' -- required
;