User Filehash Download
This endpoint returns the user file hash for the given root scope on the Secure Workload appliance as a CSV file. The CSV file has the headers HashType, FileHash, FileName
and Notes
in the respective order.
GET /openapi/v1/assets/user_filehash/download/{rootAppScopeNameOrID}/{benignOrflagged}
Parameters: The request URL contains the following parameters
Name |
Type |
Description |
---|---|---|
rootAppScopeNameOrID |
string |
Root scope name or ID. |
benignOrflagged |
string |
Can be one of benign or flagged. |
Response object: None
Sample python code
file_path = '/<path_to_file>/output_user_filehash.csv'
root_app_scope_name = 'Tetration'
restclient.download(file_path, '/assets/user_filehash/download/%s/benign' % root_app_scope_name)