mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-22 22:27:17 +00:00
fix: [correlation card decoded meta] mimetype + size
This commit is contained in:
parent
fce63d52a0
commit
279ec00990
2 changed files with 3 additions and 1 deletions
|
@ -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 a new issue