GenerateSummaryReportButton
This button will generate summary 'Case Report' template for a given Incident.
python · Common Scripts
Details
| ID | GenerateSummaryReportButton |
|---|---|
| Language | python |
| From Version | 5.0.0 |
| Docker Image | demisto/python3:3.12.13.10404775 |
| Tags | incident-action-button |
README
This button will generate summary ‘Case Report’ template for a given Incident
Script Data
| Name | Description |
|---|---|
| Script Type | python3 |
| Tags | incident-action-button |
| Cortex XSOAR Version | 5.0.0 |
Inputs
There are no inputs for this script.
Outputs
There are no outputs for this script.
import demistomock as demisto # noqa: F401 from CommonServerPython import * # noqa: F401 # get incident id incident_id = demisto.incidents()[0].get("id") # generate the Case Report demisto.results( demisto.executeCommand("generateSummaryReport", {"incidentId": incident_id, "name": "Case Report", "type": "pdf"}) )