Skip to content
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

Implement an API endpoint for manually resolving an Incident #73

Closed
lunkwill42 opened this issue Jul 2, 2020 · 1 comment
Closed

Implement an API endpoint for manually resolving an Incident #73

lunkwill42 opened this issue Jul 2, 2020 · 1 comment
Assignees
Labels

Comments

@lunkwill42
Copy link
Member

lunkwill42 commented Jul 2, 2020

An Argus end user should be able to resolve an Incident manually (this was discussed in #53). Several things should happen when this operation is selected by a user:

  • The operation must be logged to the Event table (the API should support adding a message for the event log, so the user can specify why they resolved an incident).
  • The Incident's end_time attribute must be set to the current time, to indicate is has been closed.
  • A notification containing the details of the event (who did what, when, and why/message) must be added to the notification queue.

Argus must expect that some message about an already resolved Incident might come in from a source system. This should not change the Incident record, but should be logged to the Event table.

@lunkwill42
Copy link
Member Author

So, this seems to now be possible by posting a CLOSE type event to an incident.

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

No branches or pull requests

2 participants