Skip to main content

Get Script Execution Status

Retrieve the status of a script execution action.

Parameters

ParameterDescription
Action IDThe action ID of the selected request, which is returned when running the Execute Python Script action.This can be also found in the Cortex XDR console Response > Action Center > Action ID field.

Example Output

{
"reply": {
"general_status": "PENDING",
"endpoints_pending": 1,
"endpoints_canceled": 0,
"endpoints_in_progress": 0,
"endpoints_timeout": 0,
"endpoints_failed": 0,
"endpoints_completed_successfully": 0,
"endpoints_pending_abort": 0,
"endpoints_aborted": 0,
"endpoints_expired": 0
}
}

Workflow Library Example

Get Script Execution Status with Cortex Xdr and Send Results Via Email

Workflow LibraryPreview this Workflow on desktop