Skip to content

Commit

Permalink
Merge branch 'master' of github.com:MISP/PyMISP
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafiot committed Aug 10, 2018
2 parents 739ab41 + 6aafda1 commit f0ead72
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pymisp/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -767,6 +767,10 @@ def add_email_attachment(self, event, email, category='Payload delivery', to_ids
"""Add an email atachment"""
return self.add_named_attribute(event, 'email-attachment', email, category, to_ids, comment, distribution, proposal, **kwargs)

def add_email_header(self, event, email, category='Payload delivery', to_ids=True, comment=None, distribution=None, proposal=False, **kwargs):
"""Add an email header"""
return self.add_named_attribute(event, 'email-header', email, category, to_ids, comment, distribution, proposal, **kwargs)

# ##### Target attributes #####

def add_target_email(self, event, target, category='Targeting data', to_ids=True, comment=None, distribution=None, proposal=False, **kwargs):
Expand Down

0 comments on commit f0ead72

Please sign in to comment.