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

[SIEM] [Detections] Import rules #56389

Merged
merged 7 commits into from
Jan 31, 2020

Conversation

XavierM
Copy link
Contributor

@XavierM XavierM commented Jan 30, 2020

Summary

  • Allow batching the imports so we can get a response from the services
  • Fix UI to show the error return from the API

Checklist

Use strikethroughs to remove checklist items you don't feel are applicable to this PR.

For maintainers

@XavierM XavierM added Team:SIEM v8.0.0 release_note:skip Skip the PR/issue when compiling release notes v7.7.0 v7.6.1 labels Jan 30, 2020
@XavierM XavierM self-assigned this Jan 30, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/siem (Team:SIEM)

@XavierM XavierM requested a review from dhurley14 January 30, 2020 17:11
Copy link
Contributor

@dhurley14 dhurley14 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Two minor optional nits. Thanks for getting the errors to bubble up on import.

@FrankHassanabad

This comment has been minimized.

@FrankHassanabad

This comment has been minimized.

@dhurley14
Copy link
Contributor

Found this bug, I think it can be a separate PR down the line.

However the export was throwing some 500's. Might be worth porting that over to use Promise.all to bubble the error back up too here.

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

Copy link
Contributor

@dhurley14 dhurley14 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@XavierM XavierM merged commit c72e8e0 into elastic:master Jan 31, 2020
XavierM added a commit to XavierM/kibana that referenced this pull request Jan 31, 2020
* refactor import rules to do it by batch

* fix error msg on api to match with json contract

* review I

* fix export
XavierM added a commit to XavierM/kibana that referenced this pull request Jan 31, 2020
* refactor import rules to do it by batch

* fix error msg on api to match with json contract

* review I

* fix export
XavierM added a commit that referenced this pull request Jan 31, 2020
* refactor import rules to do it by batch

* fix error msg on api to match with json contract

* review I

* fix export
XavierM added a commit that referenced this pull request Jan 31, 2020
* refactor import rules to do it by batch

* fix error msg on api to match with json contract

* review I

* fix export
@XavierM XavierM deleted the detections-fix-import-rules branch June 4, 2020 16:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release_note:skip Skip the PR/issue when compiling release notes Team:SIEM v7.6.0 v7.7.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants