mirror of https://github.com/MISP/mail_to_misp
new: [tag] Added an id tag the event if multiple m2m instances are used
parent
d095c7fac3
commit
edffb3ac4d
|
@ -76,6 +76,7 @@ class Mail2MISP():
|
|||
self.misp_event.distribution = self.config.default_distribution
|
||||
self.misp_event.threat_level_id = self.config.default_threat_level
|
||||
self.misp_event.analysis = self.config.default_analysis
|
||||
self.misp_event.add_tag(self.config.id_tag)
|
||||
|
||||
def sighting(self, value, source):
|
||||
if self.offline:
|
||||
|
|
|
@ -6,8 +6,9 @@ misp_key = 'YOUR_KEY_HERE' # The MISP auth key can be found on the MISP web int
|
|||
misp_verifycert = True
|
||||
spamtrap = False
|
||||
default_distribution = 0
|
||||
default_threat_level = 3
|
||||
default_threat_level = 4
|
||||
default_analysis = 1
|
||||
id_tag = 'host:m2m:tld'
|
||||
freetext = False
|
||||
|
||||
body_config_prefix = 'm2m' # every line in the body starting with this value will be skipped from the IOCs
|
||||
|
|
Loading…
Reference in New Issue