reports dashboard Follow these instructions to create
a custom script based widget using an Automation Script.
You can use custom script based widgets with
an automation script to create dynamic widgets for more complex
calculations. For examples of creating widgets using scripts, see Script Based Widgets Using Automation Scripts Examples.
Cortex
XSOAR supports JavaScript, Python and PowerShell.
If
you create or upload the script to the
Automation
page,
you can use the script in any widget (rather than uploading the
script each time), use the script with a JSON file, and you can
also add it to an Incident and an Indicator page.
Create a new script by uploading or creating a
new script in the
Automation
page.
You can also upload the script in the
Widgets Library
.
If creating a JSON file, the script is the widget query and the
script should return a value in the format of the widget type you
want to use. For example, number, or text.
For dashboards and reports, after creating the script,
you need to create a widget in the