Skip to main content

RemoveEmpty

This Script is part of the Filters And Transformers Pack.#

Supported versions

Supported Cortex XSOAR versions: 6.0.0 and later.

Remove empty items, entries or nodes from the array.

Script Data#


NameDescription
Script Typejavascript
Tagstransformer, entirelist, general

Inputs#


Argument NameDescription
valueThe value to be filtered
remove_keysSet to true to remove keys with empty values from objects, false otherwise.
empty_valuesThe list of particular tokens to be considerd as empty.

Outputs#


There are no outputs for this script.