From 3295b00c69748956729d6d69522bdb843586b37f Mon Sep 17 00:00:00 2001 From: Terrtia Date: Tue, 14 Jul 2020 16:45:27 +0200 Subject: [PATCH] fix: [TheHive feeder] create alert, get item full path --- bin/MISP_The_Hive_feeder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/MISP_The_Hive_feeder.py b/bin/MISP_The_Hive_feeder.py index 7cc312d4..41d18b43 100755 --- a/bin/MISP_The_Hive_feeder.py +++ b/bin/MISP_The_Hive_feeder.py @@ -66,7 +66,7 @@ def create_the_hive_alert(source, item_id, tag): artifacts = [ AlertArtifact( dataType='uuid-ail', data=r_serv_db.get('ail:uuid') ), - AlertArtifact( dataType='file', data=item_id, tags=tags ) + AlertArtifact( dataType='file', data=item_basic.get_item_filepath(item_id), tags=tags ) ] # Prepare the sample Alert