Skip to content

Commit

Permalink
Logging when email for header From can not be verified
Browse files Browse the repository at this point in the history
  • Loading branch information
javier_marcos committed Nov 20, 2017
1 parent 1001bab commit 0043af9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions stream_alert/alert_processor/outputs.py
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,7 @@ def dispatch(self, **kwargs):
# Get user email to be added as From header and verify
user_email = creds['email_from']
if not self._user_verify(user_email, False):
LOGGER.error('Could not verify header From: %s, %s', user_email, self.__service__)
return self._log_status(False)

# Add From to the headers after verifying
Expand Down

0 comments on commit 0043af9

Please sign in to comment.