Details
| ID | GetListRow |
|---|---|
| Language | python |
| From Version | 5.0.0 |
| Docker Image | demisto/python3:3.12.13.10404775 |
README
Parses a list by header and value.
Script Data
| Name | Description |
|---|---|
| Script Type | python3 |
| Tags | |
| Cortex XSOAR Version | 5.0.0 |
Inputs
| Argument Name | Description |
|---|---|
| value | Value to search for. If you supply a value, you need to supply the “header” argument also. |
| header | Header to filter lines by. If you supply a header, you need to supply the “value” argument. |
| list_name | The list name in which to search. |
| parse_all | If “True”, parses the entire list into the context. Can be “True” or “False”. Default is “False”. |
| list_separator | Separator to split the list by (use \\t in case of tab separated list). |
Outputs
| Path | Description | Type |
|---|---|---|
| GetListRow.Header | Header in which the search was performed. | String |
| GetListRow.Value | Value to search for. | String |
| GetListRow.ListName | The name of the list that was searched.. | String |
| GetListRow.ParseAll | If “True”, the entire list was parsed into the context. | String |
| GetListRow.Results | All parse results of the list. | UnKnown |
args: - description: Value to search for. If you supply a value, you need to supply the "header" argument also. name: value - description: Header to filter lines by. If you supply a header, you need to supply the "value" argument. name: header - description: The list name in which to search. name: list_name required: true - auto: PREDEFINED defaultValue: 'False' description: If "True", parses the entire list into the context. Can be "True" or "False". Default is "False". name: parse_all predefined: - 'True' - 'False' - defaultValue: ',' description: Separator to split the list by (use \\t in case of tab separated list). name: list_separator comment: Parses a list by header and value. commonfields: id: GetListRow version: -1 enabled: true name: GetListRow outputs: - contextPath: GetListRow.Header description: Header in which the search was performed. type: String - contextPath: GetListRow.Value description: Value to search for. type: String - contextPath: GetListRow.ListName description: The name of the list that was searched.. type: String - contextPath: GetListRow.ParseAll description: If "True", the entire list was parsed into the context. type: String - contextPath: GetListRow.Results description: All parse results of the list. type: UnKnown script: '-' subtype: python3 timeout: '0' type: python dockerimage: demisto/python3:3.12.13.10404775 runas: DBotWeakRole tests: - No tests (auto formatted) fromversion: 5.0.0