CBLiveFetchFiles Deprecated
Deprecated. Use CBLiveGetFile_V2 instead. Live.
python · Carbon Black Enterprise Response
Details
| ID | CBLiveFetchFiles |
|---|---|
| Language | python |
| From Version | 5.0.0 |
| Docker Image | demisto/python:2.7.18.27799 |
| Tags | carbon-black endpoint |
README
Deprecated. Use CBLiveGetFile_V2 instead.
Script Data
| Name | Description |
|---|---|
| Script Type | python |
| Tags | carbon-black, endpoint |
Dependencies
This script uses the following commands and scripts.
- CBLiveGetFile
Inputs
| Argument Name | Description |
|---|---|
| filelocations | The specially formatted json with [md5: (path,hostname)]. |
Outputs
There are no outputs for this script.
import demistomock as demisto # noqa: F401 from CommonServerPython import * # noqa: F401 import json res = [] fileLocations = json.loads(demisto.args()['filelocations']) for md5 in fileLocations: res += demisto.executeCommand('CBLiveGetFile_V2', {'path': fileLocations[md5][0], 'endpoint': fileLocations[md5][1]}) demisto.results(res)