Skip to main content

GetListRow

This Script is part of the Common Scripts Pack.#

Parses a list by header and value.

Script Data#


NameDescription
Script Typepython3
Tags
Cortex XSOAR Version5.0.0

Inputs#


Argument NameDescription
valueValue to search for. If you supply a value, you need to supply the "header" argument also.
headerHeader to filter lines by. If you supply a header, you need to supply the "value" argument.
list_nameThe list name in which to search.
parse_allIf "True", parses the entire list into the context. Can be "True" or "False". Default is "False".
list_separatorSeparator to split the list by (use \\t in case of tab separated list).

Outputs#


PathDescriptionType
GetListRow.HeaderHeader in which the search was performed.String
GetListRow.ValueValue to search for.String
GetListRow.ListNameThe name of the list that was searched..String
GetListRow.ParseAllIf "True", the entire list was parsed into the context.String
GetListRow.ResultsAll parse results of the list.UnKnown