- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- ExecuteActionRequest
- ExecuteActionResult
- ActionStatus
Full name: projects.locations.instances.enrichmentAgent.executeActions
Executes a list of manual actions on a given SIEM alert.
HTTP request
POST https://{endpoint}/v1alpha/{parent}/enrichmentAgent:executeActions
Where {endpoint} is one of the supported service endpoints.
Path parameters
| Parameters | |
|---|---|
parent |
Required. The parent, which owns the collection of actions. |
Request body
The request body contains data with the following structure:
| JSON representation |
|---|
{
"siemAlertId": string,
"actions": [
{
object ( |
| Fields | |
|---|---|
siemAlertId |
Required. The identifier of the SIEM alert. |
actions[] |
Required. The actions to execute. |
Response body
Response for enrichmentAgent.executeActions. Details of an list of actions that will be executed.
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{
"parent": string,
"results": [
{
object ( |
| Fields | |
|---|---|
parent |
Output only. The parent, which owns the collection of actions. |
results[] |
The results of the actions. |
executionTimeSeconds |
Output only. The execution time of the actions in seconds. |
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-platformhttps://www.googleapis.com/auth/chroniclehttps://www.googleapis.com/auth/chronicle.readonly
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the parent resource:
chronicle.enrichmentAgent.execute
For more information, see the IAM documentation.
ExecuteActionRequest
Request for executing a manual action.
| JSON representation |
|---|
{ "targetEntities": [ string ], "parameters": { string: string, ... }, "displayName": string, "integration": string, "integrationInstance": string } |
| Fields | |
|---|---|
targetEntities[] |
Required. The target entities. repeated AgentSecurityEntity targetEntities = 1 [ |
parameters |
Optional. The parameters. An object containing a list of |
displayName |
Required. The action name. |
integration |
Required. The integration |
integrationInstance |
Required. The integration instance. |
ExecuteActionResult
Minimal information about an action result.
| JSON representation |
|---|
{
"integration": string,
"displayName": string,
"message": string,
"executionTimeSeconds": number,
"entityId": string,
"resultJson": string,
"resultEntitiesDelta": string,
"resultValue": string,
"status": enum ( |
| Fields | |
|---|---|
integration |
Output only. The integration. |
displayName |
Output only. The action display name. |
message |
Output only. The message. |
executionTimeSeconds |
Output only. The execution time of the action in seconds. |
entityId |
Output only. The entity identifier. |
resultJson |
Output only. The result JSON object. |
resultEntitiesDelta |
Output only. The result entities JSON object. |
resultValue |
Output only. The result value. |
status |
Output only. The status of the action. |
ActionStatus
Status of an action execution.
| Enums | |
|---|---|
ACTION_STATUS_UNSPECIFIED |
Unspecified action status. |
FAULTED |
Faulted. |
ASYNC_PENDING |
In progress. |
COMPLETED |
Completed. |
PENDING_USER_INPUT |
Pending user input. |
PENDING_PREVIOUS_STEPS |
Pending previous steps. |
STARTED |
Started. |
FAULTED_AND_SKIPPED |
Faulted and skipped. |
HANDLED_TIMEDOUT |
Handled timed out. |
UNHANDLED_TIMEDOUT |
Unhandled timed out. |
TERMINATED |
Terminated. |
NOT_RUN_AND_SKIPPED |
Not run and skipped. |
PENDING_ACTION_TIMEOUT |
Pending action got timeout, the playbook stopped. |
PENDING_ACTION_TIMEOUT_AND_SKIPPED |
Pending action timeout and skipped. |
PENDING_RETRY |
Pending action retry. |