Skip to content

Email alerts #25

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
dmolina213 opened this issue May 7, 2020 · 1 comment
Open

Email alerts #25

dmolina213 opened this issue May 7, 2020 · 1 comment

Comments

@dmolina213
Copy link

Hey Alexander - i finally got things working. However, I noticed that email alerts are being generated after an event is published. I looked at the part of the code and the call should have the alerts suppresed. I will also try to reposition that call somewhere in the code such that it completes all entries to an event before publishing. As it is a single event gets published multiple times in a single pull.

Lastly, publish the event without sending an alert email.

# This command expects the event ID instead of a MISPevent as argument.
misp_instance.publish(event['id'], alert=False)

thanks for your help.

Doug

@jaegeral
Copy link
Owner

yes this is true, do you mind create a PR for that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants