fix: required parameters for Recorded Future object

pull/547/head
Raphaël Vinot 2022-01-14 10:23:08 +01:00 committed by GitHub
parent 09a57787b6
commit 2874c41f7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -242,6 +242,10 @@ class RFEnricher:
def __init__(self, attribute_props: dict): def __init__(self, attribute_props: dict):
self.event = MISPEvent() self.event = MISPEvent()
self.enrichment_object = MISPObject("Recorded Future Enrichment") self.enrichment_object = MISPObject("Recorded Future Enrichment")
self.enrichment_object.template_uuid = "cbe0ffda-75e5-4c49-833f-093f057652ba"
self.enrichment_object.template_id = "1"
self.enrichment_object.description = "Recorded Future Enrichment"
setattr(self.enrichment_object, 'meta-category', 'network')
description = ( description = (
"An object containing the enriched attribute and " "An object containing the enriched attribute and "
"related entities from Recorded Future." "related entities from Recorded Future."