Full name: projects.locations.instances.integrations.logicalOperators.executeTest
Executes a test run of a logical operator's evaluation script. Use this method to verify decision logic and ensure it correctly handles various input data before deployment in a playbook.
HTTP request
POST https://chronicle.africa-south1.rep.googleapis.com/v1alpha/{parent}/logicalOperators:executeTest Path parameters
| Parameters | |
|---|---|
parent |
Required. The parent identifier (from route) Format: projects/{project}/locations/{location}/instances/{instance}/integrations/{integration} |
Request body
The request body contains data with the following structure:
| JSON representation |
|---|
{
"logicalOperator": {
object ( |
| Fields | |
|---|---|
logicalOperator |
Required. The logical operator object to test The full logical operator object is needed as there is an option to run the test without saving the logical operator first. |
Response body
Response message for ExecuteTest.
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{ "outputMessage": string, "debugOutputMessage": string, "resultValue": string } |
| Fields | |
|---|---|
outputMessage |
Output only. Human-readable output message set by the script. |
debugOutputMessage |
Output only. The script debug output. |
resultValue |
Output only. The script result value. |
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.integrationLogicalOperators.execute
For more information, see the IAM documentation.