GetListDatawithKeyword
This transformer will get list of array elements by providing keyword. List data format [ { "folder": "abc", "username": "test" }, { "folder": "def", "username": "test123" }, { "folder": "ghi", "username": "admin" } ]
python · Community Common Scripts
Details
| ID | GetListDatawithKeyword |
|---|---|
| Language | python |
| From Version | 6.8.0 |
| Docker Image | demisto/python3:3.12.13.11879924 |
| Tags | general transformer |
README
This transformer will get list of array elements by providing keyword. List data format
[
{
“folder”: “abc”,
“username”: “test”
},
{
“folder”: “def”,
“username”: “test123”
},
{
“folder”: “ghi”,
“username”: “admin”
}
]
Script Data
| Name | Description |
|---|---|
| Script Type | python3 |
| Tags | general, transformer |
| Cortex XSOAR Version | 6.8.0 |
Inputs
| Argument Name | Description |
|---|---|
| Keyword | Provide a key word to search the data |
| value | The value is an array of elements |
Outputs
There are no outputs for this script.
args: - description: Provide a key word to search the data. name: Keyword required: true - description: The value is an array of elements. isArray: true name: value required: true comment: |- This transformer will get list of array elements by providing keyword. List data format [ { "folder": "abc", "username": "test" }, { "folder": "def", "username": "test123" }, { "folder": "ghi", "username": "admin" } ] commonfields: id: GetListDatawithKeyword version: -1 contentitemexportablefields: contentitemfields: fromServerVersion: "" dockerimage: demisto/python3:3.12.13.11879924 enabled: true name: GetListDatawithKeyword runas: DBotWeakRole runonce: false script: '' scripttarget: 0 subtype: python3 tags: - general - transformer type: python fromversion: 6.8.0 tests: - No tests (auto formatted)