def enrich_dbot_and_display_endpoint_analysis_results(result, indicator_name=None):
    verdict = result['verdict']
    computer_name = result['computer_name']
    analysis_id = result['analysis_id']
    dbot = {'Vendor': 'Intezer', 'Type': 'hostname', 'Indicator': (indicator_name if indicator_name else computer_name), 'Score': dbot_score_by_verdict.get(verdict, 0)}
    endpoint = {'Metadata': result}
    presentable_result = '## Intezer Endpoint analysis result\n'
    presentable_result += f'''Host Name: {computer_name}
'''
    presentable_result += f''' Verdict: **{verdict}**
'''
    if (result.get('families') is not None):
        presentable_result += f'''Families: **{result['families']}**
'''
    presentable_result += f''' Scan Time: {result['scan_start_time']}
'''
    presentable_result += f'''[Analysis Link]({result['analysis_url']})
'''
    ec = {'DBotScore': dbot, 'Endpoint': endpoint, 'Intezer.Analysis(val.ID === obj.ID)': {'ID': analysis_id, 'Status': 'Done'}}
    return_outputs(presentable_result, ec, result)
def enrich_dbot_and_display_endpoint_analysis_results(result, indicator_name=None):
    verdict = result['verdict']
    computer_name = result['computer_name']
    analysis_id = result['analysis_id']
    dbot = {'Vendor': 'Intezer', 'Type': 'hostname', 'Indicator': (indicator_name if indicator_name else computer_name), 'Score': dbot_score_by_verdict.get(verdict, 0)}
    endpoint = {'Metadata': result}
    presentable_result = '## Intezer Endpoint analysis result\n'
    presentable_result += f'Host Name: {computer_name}
'
    presentable_result += f' Verdict: **{verdict}**
'
    if (result.get('families') is not None):
        presentable_result += f'Families: **{result['families']}**
'
    presentable_result += f' Scan Time: {result['scan_start_time']}
'
    presentable_result += f'[Analysis Link]({result['analysis_url']})
'
    ec = {'DBotScore': dbot, 'Endpoint': endpoint, 'Intezer.Analysis(val.ID === obj.ID)': {'ID': analysis_id, 'Status': 'Done'}}
    return_outputs(presentable_result, ec, result)