scripts_get_script_code
Retrieve the code of a specific script from the Cortex XSIAM script library by supplying its unique identifier.
Instructions
Get Script Code
Get the code of a specific script in the script library.
Required license: Cortex XSIAM Premium or Cortex XSIAM Enterprise or Cortex XSIAM Enterprise Plus
[POST /public_api/v1/scripts/get_script_code] · Script execution
Example request body:
{
"request_data": {
"script_uid": "<unique ID>"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| request_data | Yes | A dictionary containing the API request fields. |