PrettyPrint

Pretty-print data using Python's pprint library. This is useful for seeing the structure of incident and context data. Here's how to use it: !PrettyPrint value=${incident}.

python · Common Scripts

Details

IDPrettyPrint
Languagepython
From Version5.0.0
Docker Imagedemisto/python3:3.12.13.10404775

README

Pretty-print data using Python’s pprint library. This is useful for seeing the structure of incident and context data. Here’s how to use it:

!PrettyPrint value=${incident}

Script Data


Name Description
Script Type python3
Cortex XSOAR Version 5.0.0

Inputs


Argument Name Description
value The value to pretty-print.

Outputs


There are no outputs for this script.

commonfields:
  id: PrettyPrint
  version: -1
name: PrettyPrint
script: ''
type: python
tags: []
comment: |-
  Pretty-print data using Python's pprint library.  This is useful for seeing the structure of incident and context data.  Here's how to use it:

  !PrettyPrint value=${incident}.
enabled: true
args:
- name: value
  required: true
  default: true
  description: The value to pretty-print.
scripttarget: 0
subtype: python3
dockerimage: demisto/python3:3.12.13.10404775
runas: DBotWeakRole
tests:
- No test - unit test
fromversion: 5.0.0