added status detail

This commit is contained in:
Jonathan Branan 2024-08-15 16:07:23 -05:00
parent 5dc12d6c23
commit c7efd21093
2 changed files with 2 additions and 0 deletions

View File

@ -9,6 +9,7 @@ def dataTemplate(transactionType,**kwargs):
"duration": kwargs.get('duration'),
"file": {
"created_time": kwargs.get('time'),
"uid": kwargs.get('file_uid'),
"size": kwargs.get('file_size'),
"name": kwargs.get('file_name'),
"path": kwargs.get('file_path')

View File

@ -13,6 +13,7 @@ def processData(data, template, **kwargs):
continue
try:
processedData.append(template(identifyUtype(row.get('Command')),\
status_detail='',\
prd_ext_tenant_id=kwargs.get('prd_ext_tenant_id'),\
status_code=row.get('ResultID'),\
file_size=row.get('FileSize'),\