-
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
[SIEM] [Detections] Import rules #56389
Conversation
Pinging @elastic/siem (Team:SIEM) |
x-pack/legacy/plugins/siem/server/lib/detection_engine/routes/utils.ts
Outdated
Show resolved
Hide resolved
x-pack/legacy/plugins/siem/server/lib/detection_engine/routes/rules/import_rules_route.ts
Show resolved
Hide resolved
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.
LGTM. Two minor optional nits. Thanks for getting the errors to bubble up on import.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
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. |
...gacy/plugins/siem/public/pages/detection_engine/rules/components/import_rule_modal/index.tsx
Show resolved
Hide resolved
💚 Build SucceededHistory
To update your PR or re-run it, just comment with: |
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.
LGTM.
* refactor import rules to do it by batch * fix error msg on api to match with json contract * review I * fix export
* refactor import rules to do it by batch * fix error msg on api to match with json contract * review I * fix export
* refactor import rules to do it by batch * fix error msg on api to match with json contract * review I * fix export
Summary
Checklist
Use
strikethroughsto remove checklist items you don't feel are applicable to this PR.This was checked for cross-browser compatibility, including a check against IE11Any text added follows EUI's writing guidelines, uses sentence case text and includes i18n supportDocumentation was added for features that require explanation or tutorialsUnit or functional tests were updated or added to match the most common scenariosThis was checked for keyboard-only and screenreader accessibilityFor maintainers
This was checked for breaking API changes and was labeled appropriatelyThis includes a feature addition or change that requires a release note and was labeled appropriately