Skip to main content
Skip table of contents

Update Root Key Value for Trigger Output Data with JSON Path

LAST UPDATED: AUG 13, 2024

This command inserts a new root key-value pair into the Trigger Output Data using the specified JSON path in the event playbook.

READER NOTE

This command is only applicable within an event Playbook within the "On Event Ingestion" trigger. The trigger output data feature is exclusive to the Event Playbook. Data is stored every time the Event Playbook is ran using the event raw data.

Implementation

System

Command Category

System Utility

Tags

TRIGGER OUTPUT DATA

Inputs

Parameter Name

Required/Optional

Description

Sample Data

Source Type

Required

The data source from which data is obtained.

Event Trigger Data

JSON Path

Required

The JSON Path with a Root key name.

$.Data.newKey

Update Value

Required

The trigger data value to be updated.

{
"User": "Tom",
"IPAddress": "13.64.156.22",
"RiskLevel": "Medium"
}

Output

Return Data

The returned result of this command. If some required parameters are not defined, this returned data could be empty. The returned result can be passed down directly to a subsequent command in playbooks.

SAMPLE DATA

JSON
{
    "result": {
        "success": true
    }
}
Context Data

The response data from the utility command.

SAMPLE DATA

JSON
{
    "newKey": {
        "User": "Tom",
        "IPAddress": "13.64.156.22",
        "RiskLevel": "Medium"
    }
}
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.