CBLiveFetchFiles Deprecated

Deprecated. Use CBLiveGetFile_V2 instead. Live.

python · Carbon Black Enterprise Response

Source

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)

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.