fix: [TheHive feeder] create alert, get item full path

This commit is contained in:
Terrtia 2020-07-14 16:45:27 +02:00
parent 97905367b6
commit 3295b00c69
No known key found for this signature in database
GPG key ID: 1E1B1F50D84613D0

View file

@ -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