SanePdfReports

Parse Sane-json-reports and export them as pdf files (used internally).

python · Base

Details

IDSanePdfReports
Languagepython
From Version5.5.0
Docker Imagedemisto/sane-pdf-reports:1.0.0.11473180
Tagssane-pdf-reports sane-reports pdf

README

Internal script used for generating PDF reports.

Script Data


Name Description
Script Type python3
Tags sane-pdf-reports, sane-reports, pdf
Cortex XSOAR Version 5.5.0

Inputs


Argument Name Description
sane_pdf_report_base64 sane report json file contents base64
orientation orientation of the report
paperSize the paper size of the report
resourceTimeout timeout for the report generation execution time
reportType type of report generated
customerLogo customer’s logo
demistoLogo demito’s logo
disableHeaders flag to use headers in the report or not
tableTextMaxLength table text max length

Outputs


There are no outputs for this script.

args:
- default: true
  description: sane report json file contents base64.
  name: sane_pdf_report_base64
  required: true
- defaultValue: portrait
  description: orientation of the report.
  name: orientation
- defaultValue: A4
  description: the paper size of the report.
  name: paperSize
- defaultValue: '4000'
  description: timeout for the report generation execution time.
  name: resourceTimeout
- defaultValue: pdf
  description: type of report generated.
  name: reportType
- description: customer's logo.
  name: customerLogo
- description: demito's logo.
  name: demistoLogo
- defaultValue: 'false'
  description: flag to use headers in the report or not.
  name: disableHeaders
- defaultValue: '300'
  description: table text max length.
  name: tableTextMaxLength
- defaultValue: 'false'
  predefined:
  - 'true'
  - 'false'
  description: use server preformatted time string in time section.
  name: forceServerFormattedTimeString
- defaultValue: 'false'
  predefined:
  - 'true'
  - 'false'
  description: add utf8 BOM to csv report.
  name: addUtf8Bom
comment: Parse Sane-json-reports and export them as pdf files (used internally).
commonfields:
  id: SanePdfReports
  version: -1
enabled: true
name: SanePdfReports
script: '-'
subtype: python3
tags:
- sane-pdf-reports
- sane-reports
- pdf
timeout: '0'
type: python
dockerimage: demisto/sane-pdf-reports:1.0.0.11473180
runas: DBotWeakRole
tests:
- No Test
fromversion: 5.5.0