Skip to content

feat: allow acknowledge through generic API - #4551

Open
gekmihesg wants to merge 1 commit into
target:masterfrom
gekmihesg:master
Open

gekmihesg wants to merge 1 commit into
target:masterfrom
gekmihesg:master

Conversation

@gekmihesg

Copy link
Copy Markdown
  • Identified the issue which this PR solves.
  • Read the CONTRIBUTING document.
  • Code builds clean without any errors or warnings.
  • Added appropriate tests for any new functionality.
  • All new and existing tests passed.
  • Added comments in the code, where necessary.
  • Ran make check to catch common errors. Fixed any that came up.

Description:
Allow acknowledging alerts through the generic API. This can be helpful for some services to stop unnecessary escalation.

Describe any introduced API changes:
/api/v2/generic/incoming?dedup=foo&action=acknowledge will now acknowledge matching alerts. action=close remains unchanged.

Signed-off-by: Markus Weippert <markus@gekmihesg.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant