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
[Actions][ServiceNow] Allow to close serviceNow incident when alert resolves #171760
Merged
js-jankisalvi
merged 28 commits into
elastic:main
from
js-jankisalvi:servicenow-recover-action
Dec 1, 2023
Merged
Changes from 17 commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
b9575ad
create subaction, api, close incident service
js-jankisalvi 66e64a4
update api, service arguments
js-jankisalvi e03299f
add close data attributes internally
js-jankisalvi ae5c27c
Merge remote-tracking branch 'upstream/main' into servicenow-recover-…
js-jankisalvi b56614c
add unit tests for closeIncident service and API
js-jankisalvi c61847c
[CI] Auto-commit changed files from 'node scripts/eslint --no-cache -…
kibanamachine ca1edd7
update UI
js-jankisalvi bfea86f
fix api integration test, add integration test for closeIncident
js-jankisalvi 9dea10e
cleanup
js-jankisalvi 64630fb
Merge branch 'main' into servicenow-recover-action
js-jankisalvi a46435b
Merge branch 'main' into servicenow-recover-action
js-jankisalvi d627b86
PR feedback 1
js-jankisalvi ce990a0
Merge remote-tracking branch 'upstream/main' into servicenow-recover-…
js-jankisalvi 48cc417
PR feedabck, throw warning instead of error when incident not found
js-jankisalvi 761e4c2
Merge branch 'main' into servicenow-recover-action
js-jankisalvi b7b7585
updated integration test
js-jankisalvi 6cdc701
cleanup
js-jankisalvi e890e55
PR feedback 3
js-jankisalvi 2cdac29
log warning if no incident found with getIncident
js-jankisalvi c8ff4fe
Merge branch 'main' into servicenow-recover-action
js-jankisalvi d163bc1
return null after warning
js-jankisalvi c6b81fa
Merge branch 'servicenow-recover-action' of https://github.com/js-jan…
js-jankisalvi 7088a16
update 404 error response check
js-jankisalvi 7fc2b4e
Merge branch 'main' into servicenow-recover-action
js-jankisalvi e3b43c7
add close_notes param to API, fix bug with state
js-jankisalvi 6c2d3da
fix AxiosError mock
js-jankisalvi c500f7f
update default close notes
js-jankisalvi c2ce8fb
remove close_notes from schema and api params
js-jankisalvi File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
js-jankisalvi marked this conversation as resolved.
Show resolved
Hide resolved
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To allow
Recovered
option inRun when
dropdownThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@elastic/response-ops-execution FYI, it seems that some connectors are missing from this list like the
.servicenow-secops
connector.