mirror of https://github.com/CIRCL/AIL-framework
fix: [correlation card decoded meta] mimetype + size
parent
fce63d52a0
commit
279ec00990
|
@ -177,6 +177,8 @@ def get_object_card_meta(obj_type, subtype, id, related_btc=False):
|
|||
if subtype == 'bitcoin' and related_btc:
|
||||
meta["related_btc"] = btc_ail.get_bitcoin_info(obj.id)
|
||||
if obj.get_type() == 'decoded':
|
||||
meta['mimetype'] = obj.get_mimetype()
|
||||
meta['size'] = obj.get_size()
|
||||
meta["vt"] = obj.get_meta_vt()
|
||||
meta["vt"]["status"] = obj.is_vt_enabled()
|
||||
# TAGS MODAL
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
<text x="13" y="13" text-anchor="middle" dominant-baseline="central" class="graph_node_icon {{ dict_object["metadata_card"]["icon"]["style"] }}" font-size="16px">{{ dict_object["metadata_card"]["icon"]["icon"] }}</text>
|
||||
</g>
|
||||
</svg>
|
||||
{{ dict_object["metadata"]["file_type"] }}
|
||||
{{ dict_object["metadata"]["mimetype"] }}
|
||||
</td>
|
||||
<td>{{ dict_object["metadata"]['first_seen'] }}</td>
|
||||
<td>{{ dict_object["metadata"]['last_seen'] }}</td>
|
||||
|
|
Loading…
Reference in New Issue