ServiceNow action improvements#60052
Merged
cnasikas merged 18 commits intoelastic:masterfrom Mar 18, 2020
Merged
Conversation
Contributor
|
Pinging @elastic/siem (Team:SIEM) |
Contributor
|
Pinging @elastic/kibana-alerting-services (Team:Alerting Services) |
af07139 to
b8f5a72
Compare
x-pack/plugins/actions/server/builtin_action_types/servicenow/action_handlers.test.ts
Outdated
Show resolved
Hide resolved
x-pack/plugins/actions/server/builtin_action_types/servicenow/helpers.ts
Outdated
Show resolved
Hide resolved
x-pack/plugins/actions/server/builtin_action_types/servicenow/index.test.ts
Outdated
Show resolved
Hide resolved
x-pack/plugins/actions/server/builtin_action_types/servicenow/index.test.ts
Outdated
Show resolved
Hide resolved
x-pack/plugins/actions/server/builtin_action_types/servicenow/schema.ts
Outdated
Show resolved
Hide resolved
x-pack/plugins/actions/server/builtin_action_types/servicenow/transformers.ts
Outdated
Show resolved
Hide resolved
Member
Author
|
@elasticmachine merge upstream |
pmuellr
approved these changes
Mar 17, 2020
Contributor
pmuellr
left a comment
There was a problem hiding this comment.
From an alerting/actions point of view, this code LGTM - made a comment about a possible restructuring of config-schema definitions, not a big deal.
x-pack/plugins/actions/server/builtin_action_types/servicenow/schema.ts
Outdated
Show resolved
Hide resolved
b9e7742 to
2a831fc
Compare
Member
Author
|
@elasticmachine merge upstream |
Member
Author
|
@elasticmachine merge upstream |
x-pack/plugins/actions/server/builtin_action_types/servicenow/helpers.ts
Outdated
Show resolved
Hide resolved
Contributor
💛 Build succeeded, but was flaky
Test FailuresKibana Pipeline / kibana-oss-agent / Accessibility Tests.test/accessibility/apps/management·ts.Management Create Index pattern wizardStandard OutStack TraceHistory
To update your PR or re-run it, just comment with: |
cnasikas
added a commit
to cnasikas/kibana
that referenced
this pull request
Mar 18, 2020
* Apply action types to fields * Add information to each field * Do not create or update comments when actionType is set to nothing * Improve helpers tests * Improve tests * Refactor: Use transformers and pipes * Better types * Refactor tests to new changes * Better error messages * Improve field formatting and display * Improve integration tests * Make username mandatory field * Translate transformers * Refactor schema * Translate appendInformationToField helper * Improve intergration tests Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
cnasikas
added a commit
that referenced
this pull request
Mar 18, 2020
* Apply action types to fields * Add information to each field * Do not create or update comments when actionType is set to nothing * Improve helpers tests * Improve tests * Refactor: Use transformers and pipes * Better types * Refactor tests to new changes * Better error messages * Improve field formatting and display * Improve integration tests * Make username mandatory field * Translate transformers * Refactor schema * Translate appendInformationToField helper * Improve intergration tests Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
gmmorris
added a commit
to gmmorris/kibana
that referenced
this pull request
Mar 19, 2020
* master: (35 commits) [Alerting] Adds navigation by consumer and alert type to alerting (elastic#58997) Introduce search interceptor (elastic#60523) [ML] Add functional tests for file data visualizer (elastic#60413) [APM] Optimize service map query (elastic#60412) [SIEM][Detection Engine] Adds lists feature flag and list values to the REST interfaces Enhancement/update esdocs datasource (elastic#59512) [junit] only include stdout in report for failures (elastic#60530) Update dependency nock to v12 (elastic#60422) upgrade execa to get stdout/stderr in error messages (elastic#60537) skip flaky suite (elastic#60471) [Ingest] Agent Config Details - Data sources list ui (elastic#60429) [SIEM] Create ML Rules (elastic#58053) skip flaky suite (elastic#60559) fix agent type (elastic#60554) Fixed default message for index threshold includes both threshold values (elastic#60545) [Ingest] Add support for `yaml` field types (elastic#60440) Solved the issue for a GROUP BY expression validation (elastic#60558) [Maps] Mark instance state as readonly (elastic#60557) Move ui/indices into es_ui_shared plugin. (elastic#60186) ServiceNow action improvements (elastic#60052) ...
gmmorris
added a commit
to gmmorris/kibana
that referenced
this pull request
Mar 19, 2020
* master: (64 commits) [Alerting] Adds navigation by consumer and alert type to alerting (elastic#58997) Introduce search interceptor (elastic#60523) [ML] Add functional tests for file data visualizer (elastic#60413) [APM] Optimize service map query (elastic#60412) [SIEM][Detection Engine] Adds lists feature flag and list values to the REST interfaces Enhancement/update esdocs datasource (elastic#59512) [junit] only include stdout in report for failures (elastic#60530) Update dependency nock to v12 (elastic#60422) upgrade execa to get stdout/stderr in error messages (elastic#60537) skip flaky suite (elastic#60471) [Ingest] Agent Config Details - Data sources list ui (elastic#60429) [SIEM] Create ML Rules (elastic#58053) skip flaky suite (elastic#60559) fix agent type (elastic#60554) Fixed default message for index threshold includes both threshold values (elastic#60545) [Ingest] Add support for `yaml` field types (elastic#60440) Solved the issue for a GROUP BY expression validation (elastic#60558) [Maps] Mark instance state as readonly (elastic#60557) Move ui/indices into es_ui_shared plugin. (elastic#60186) ServiceNow action improvements (elastic#60052) ...
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
This PR improves ServiceNow action. Specifically implements the functionality of the following action types:
nothing,overwrite, andappend.\r\nAPI (new changes)
Create an incident:
Crate an incident to ServiceNow. When the
incidentIdattribute is not inparamsthe executor will create the incident.Endpoint:
api/action/<action_id>/_executeMethod:
POSTPayload:
Response
Update an incident:
Update an incident to ServiceNow. When the
incidentIdattribute is inparamsthe executor will update the incident.Endpoint:
api/action/<action_id>/_executeMethod:
POSTPayload:
Response
Checklist
Delete any items that are not applicable to this PR.
For maintainers