GenerateSummaryReports

Generate report summaries for the passed incidents.

javascript · Common Scripts

Details

IDGenerateSummaryReports
Languagejavascript
From Version5.0.0
TagsUtility

README

Generates a report summary for past incidents.

Script Data


Name Description
Script Type javascript
Tags Utility
Cortex XSOAR Version 4.1.0+

Inputs


Argument Name Description
name Template name of the generated report in the incident.
type The report type to generate.
ids The incident IDs for which to generate.

Outputs


Path Description Type
SummaryReports.IncidentID The incident ID of each generated report. number
SummaryReports.ReportName The report name. string
SummaryReports.File The file name of the report file. string
SummaryReports.FileID The file ID of the generated report. string
commonfields:
  id: GenerateSummaryReports
  version: -1
name: GenerateSummaryReports
fromversion: 5.0.0
script: ''
type: javascript
tags:
- Utility
comment: Generate report summaries for the passed incidents.
enabled: true
args:
- name: name
  description: Template name of the generated report in the incident.
  defaultValue: Investigation Summary
- name: type
  description: Report type to generate.
  defaultValue: pdf
- name: ids
  required: true
  description: Incident IDs for which to generate.
  isArray: true
outputs:
- contextPath: SummaryReports.IncidentID
  description: Incident ID of each generated report.
  type: number
- contextPath: SummaryReports.ReportName
  description: The report name.
  type: string
- contextPath: SummaryReports.File
  description: File name of the report file.
  type: string
- contextPath: SummaryReports.FileID
  description: File ID of the generated report.
  type: string
scripttarget: 0
runas: DBotWeakRole
marketplaces:
- xsoar
tests:
- Send Investigation Summary Reports - Test