def enrich_dbot_and_display_file_analysis_results(result):
    verdict = result.get('verdict')
    sha256 = result.get('sha256')
    analysis_id = result.get('analysis_id')
    dbot = {'Vendor': 'Intezer', 'Type': 'hash', 'Indicator': sha256, 'Score': dbot_score_by_verdict.get(verdict, 0)}
    file = {'SHA256': sha256, 'Metadata': result, 'ExistsInIntezer': True}
    if (verdict == 'malicious'):
        file['Malicious'] = {'Vendor': 'Intezer'}
    presentable_result = '## Intezer File analysis result\n'
    presentable_result += f''' SHA256: {sha256}
'''
    presentable_result += f''' Verdict: **{verdict}** ({result['sub_verdict']})
'''
    if ('family_name' in result):
        presentable_result += f'''Family: **{result['family_name']}**
'''
    presentable_result += f'''[Analysis Link]({result['analysis_url']})
'''
    demisto.results({'Type': entryTypes['note'], 'EntryContext': {outputPaths['dbotscore']: dbot, outputPaths['file']: file, 'Intezer.Analysis(val.ID === obj.ID)': {'ID': analysis_id, 'Status': 'Done'}}, 'HumanReadable': presentable_result, 'ContentsFormat': formats['json'], 'Contents': result})
def enrich_dbot_and_display_file_analysis_results(result):
    verdict = result.get('verdict')
    sha256 = result.get('sha256')
    analysis_id = result.get('analysis_id')
    dbot = {'Vendor': 'Intezer', 'Type': 'hash', 'Indicator': sha256, 'Score': dbot_score_by_verdict.get(verdict, 0)}
    file = {'SHA256': sha256, 'Metadata': result, 'ExistsInIntezer': True}
    if (verdict == 'malicious'):
        file['Malicious'] = {'Vendor': 'Intezer'}
    presentable_result = '## Intezer File analysis result\n'
    presentable_result += f' SHA256: {sha256}
'
    presentable_result += f' Verdict: **{verdict}** ({result['sub_verdict']})
'
    if ('family_name' in result):
        presentable_result += f'Family: **{result['family_name']}**
'
    presentable_result += f'[Analysis Link]({result['analysis_url']})
'
    demisto.results({'Type': entryTypes['note'], 'EntryContext': {outputPaths['dbotscore']: dbot, outputPaths['file']: file, 'Intezer.Analysis(val.ID === obj.ID)': {'ID': analysis_id, 'Status': 'Done'}}, 'HumanReadable': presentable_result, 'ContentsFormat': formats['json'], 'Contents': result})