GetFields

Retrieves fields from an object using dot notation.

python · Community Common Scripts

Details

IDGetFields
Languagepython
From Version6.0.0
Docker Imagedemisto/python3:3.12.13.11879924
Tagstransformer general entirelist

README

Retrieves fields from an object using dot notation

Script Data


Name Description
Script Type python3
Tags transformer, general, entirelist

Inputs


Argument Name Description
value The list to apply the transformer to.
getField The field to extract from each item (Optional).
stringify Whether the argument should be saved as a string (Optional).

Outputs


There are no outputs for this script.

args:
- default: true
  description: The list to apply the transformer to.
  name: value
  required: true
- auto: PREDEFINED
  description: The field to extract from each item (Optional).
  name: getField
  predefined:
  - ''
- auto: PREDEFINED
  defaultValue: 'false'
  description: Whether the argument should be saved as a string (Optional).
  name: stringify
  predefined:
  - 'true'
  - 'false'
comment: Retrieves fields from an object using dot notation.
commonfields:
  id: GetFields
  version: -1
contentitemexportablefields:
  contentitemfields:
    fromServerVersion: ''
dockerimage: demisto/python3:3.12.13.11879924
enabled: true
name: GetFields
runas: DBotWeakRole
script: ''
scripttarget: 0
subtype: python3
tags:
- transformer
- general
- entirelist
type: python
fromversion: 6.0.0
tests:
- No tests (auto formatted)