Resource: IntegrationAction
This service is available for customers who migrated SOAR to a customer managed project and have the Chronicle API enabled. This resource describes an action definition as part of an integration.
JSON representation |
---|
{ "name": string, "displayName": string, "script": string, "timeoutSeconds": integer, "asyncPollingIntervalSeconds": integer, "asyncTotalTimeoutSeconds": integer, "dynamicResults": [ { object ( |
Fields | |
---|---|
name |
Identifier. The unique name(ID) of the action. Format: projects/{project}/locations/{location}/instances/{instance}/integrations/{integration}/actions/{action} |
displayName |
Required. Action's definition name, limited to a maximum of 150 characters. |
script |
Required. Action's script, limited to a maximum size of 5MB. |
timeoutSeconds |
Required. Action timeout in seconds. The maximum allowed value is 1200 seconds. |
asyncPollingIntervalSeconds |
Optional. The async polling interval time in seconds. The maximum allowed value can not exceed total timeout secs. Relevant only for async actions |
asyncTotalTimeoutSeconds |
Optional. The total async polling interval timeout in seconds. The maximum allowed value is 14(days)x24x3600 = 1209600 secs. Relevant only for async actions |
dynamicResults[] |
Optional. List of dynamic results metadata. The max count for the items is 50. |
parameters[] |
Optional. Action's parameters. The max count for the items is 50. |
integration |
Output only. The parent integration identifier. |
integrationInstances[] |
Output only. The integration instances. |
id |
Output only. The action id. |
description |
Optional. Action's description, limited to a maximum or 400 characters. |
author |
Output only. User that created the action in the system. |
enabled |
Required. Determines whether the action is enabled or disabled. |
scriptResultName |
Required. The script result name. Describes the field name that holds the script result. Has a maximum character limit of 100 characters. |
async |
Required. Determines whether the action is async or not. |
defaultResultValue |
Optional. Action's default result value. Has a maximum character limit of 1000 characters. |
widgetTemplateIdentifier |
Output only. The widget template identifier. Relevant only for actions which contain a widget. |
custom |
Output only. Determines whether the action is custom or not. |
hasJsonResult |
Output only. Describes whether the action has a json result. |
dynamicResultsMetadataJson |
Output only. The dynamic results metadata json. |
DynamicResultMetadata
Dynamic result metadata.
JSON representation |
---|
{ "resultName": string, "resultExample": string, "displayResult": boolean } |
Fields | |
---|---|
resultName |
Output only. The result name. |
resultExample |
Optional. The result example. Has a maximum character limit of 100000 characters. |
displayResult |
Required. Determines whether to display the result. |
ActionParameter
Action parameter object. Action may include parameters that will be filled and during the execution.
JSON representation |
---|
{
"id": integer,
"actionId": integer,
"optionalValues": [
string
],
"mandatory": boolean,
"defaultValue": string,
"displayName": string,
"type": enum ( |
Fields | |
---|---|
id |
Output only. The parameter's id. |
actionId |
Output only. The action's id. |
optionalValues[] |
Optional. Parameter's optional values. The max count for the items is 50. |
mandatory |
Required. Describes whether the parameter is mandatory. |
defaultValue |
Optional. The default value of the parameter. Has a maximum character limit of 150 characters. |
displayName |
Required. The parameter's display name. Has a maximum character limit of 150 characters. |
type |
Required. The parameter's type. |
description |
Required. The parameter's description. Has a maximum character limit of 150 characters. |
ActionParamType
Action parameters optional types.
Enums | |
---|---|
STRING |
String type. |
BOOLEAN |
Boolean type. |
WFS_REPOSITORY |
WFS repository type. |
USER_REPOSITORY |
User repository type. |
STAGES_REPOSITORY |
Stages repository type. |
CLOSE_CASE_REASON_REPOSITORY |
Close case reason repository type. |
CLOSE_CASE_ROOT_CAUSE_REPOSITORY |
Close case root cause repository type. |
PRIORITIES_REPOSITORY |
Priorities repository type. |
EMAIL_CONTENT |
Email content type. |
CONTENT |
Content type. |
PASSWORD |
Password type. |
ENTITY_TYPE |
Entity type. |
MULTI_VALUES |
Multi values type. |
LIST |
List type. |
CODE |
Code type. |
TIME_SPAN_SECONDS |
Time span type. |
MULTIPLE_CHOICE_PARAMETER |
Multi choice parameter type. |
Methods |
|
---|---|
|
CreateIntegrationAction creates a IntegrationAction. |
|
DeleteIntegrationAction deletes a IntegrationAction. |
|
Executes a test on a action definition script. |
|
Fetch actions by environment. |
|
Fetches the default action template, mainly used for obtaining the default script allowing quick start. |
|
GetIntegrationAction gets a IntegrationAction. |
|
ListIntegrationActions lists IntegrationActions. |
|
UpdateIntegrationAction updates a IntegrationAction. |