GenerateSummaryReportButton

This button will generate summary 'Case Report' template for a given Incident.

python · Common Scripts

Source

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"})
)

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.