-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Cases] Case action refinements #175505
Merged
Merged
[Cases] Case action refinements #175505
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
ff402bf
Get KibanaRequest from framework
cnasikas 9cfe9f1
Get space ID from the Kibana request
cnasikas f80150b
Improve case creation request
cnasikas 011f973
Remove limits from tags
cnasikas a6991bd
Add rule info when creating an oracle record
cnasikas 5846a53
Rename unsecuredSavedObjectsClient to savedObjectsClient
cnasikas 53a90aa
Log when reaching the limits of 1K alerts
cnasikas 4cb64ee
Add tests for missing data
cnasikas 5e3820b
Use getLogMetadata util function
cnasikas e5d355c
Merge branch 'case_action' into ca_left_overs
cnasikas 16a79b4
Add tests for special characters
cnasikas b52f16b
Do not call the SO client if the data is an empty array
cnasikas d432955
Add tests for 404 when updating oracle records
cnasikas File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
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
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.
I might not be understanding the full picture here, but since we removed
private readonly kibanaRequest: KibanaRequest;
at line 39,shouldn't it be
const kibanaRequest = this.connectorParams.kibanaRequest as KibanaRequest;
here?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.
If you check at the
x-pack/plugins/actions/server/sub_action_framework/sub_action_connector.ts
we set thekibanaRequest
. It is already provided by the actions framework. TheSubActionConnector
class extends theSubActionConnector
class. That's why we can access it likethis. kibanaRequest
.