mirror of https://github.com/MISP/mail_to_misp
handled the case with internalattributes better
parent
c30c706a2d
commit
bf1fca9a9c
|
@ -257,7 +257,7 @@ class Mail2MISP():
|
|||
if self.debug:
|
||||
syslog.syslog(domainname)
|
||||
|
||||
if domainname in self.config.internallist: # Add link to internal reference
|
||||
if domainname in self.config.internallist and self.urlsonly is False: # Add link to internal reference unless in urlsonly mode
|
||||
attribute = self.misp_event.add_attribute('link', entry, category='Internal reference',
|
||||
to_ids=False, enforceWarninglist=False)
|
||||
if email_object:
|
||||
|
|
Loading…
Reference in New Issue