GetRange

Gets specified indexes of a list.

python · Filters And Transformers

Details

IDGetRange
Languagepython
From Version5.5.0
Docker Imagedemisto/python3:3.12.13.10404775
Tagstransformer general entirelist

README

Get a range of indexes from a list.

Script Data


Name Description
Script Type python3
Tags transformer, general, entirelist
Cortex XSOAR Version 5.5.0

Inputs


Argument Name Description
range A comma-separated list of indexes or ranges of to retrieve (e.g., 0,1-3,6-7).
value The list to transform.

Outputs


There are no outputs for this script.

args:
- default: true
  description: 'A comma-separated list of indexes or ranges of to retrieve (e.g., 0,1-3,6-7).'
  isArray: true
  name: range
  required: true
- default: true
  description: 'The list to transform.'
  isArray: true
  name: value
  required: true
comment: 'Gets specified indexes of a list.'
commonfields:
  id: GetRange
  version: -1
enabled: true
name: GetRange
script: '-'
subtype: python3
tags:
- transformer
- general
- entirelist
timeout: '0'
isllm: false
type: python
dockerimage: demisto/python3:3.12.13.10404775
fromversion: 5.5.0
tests:
- No tests (auto formatted)