Skip to main content

GetIndexOfArrayValue

This Script is part of the Community Common Scripts Pack.#

Supported versions

Supported Cortex XSOAR versions: 6.8.0 and later.

This transformer will get an index of an element from an array. ex:["phishing","Malware"], if we provide "Malware" to array_value argument, will get index as 1.

Script Data#


NameDescription
Script Typepython3
Cortex XSOAR Version6.8.0

Inputs#


Argument NameDescription
valueThe value is an array of elements
array_valueProvide the value from the array

Outputs#


There are no outputs for this script.