-
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
[Security Solution] Unable to reset to none if rule contains any timeline template under bulk apply timeline template #129294
Comments
Pinging @elastic/security-solution (Team: SecuritySolution) |
Closing since the functionality is not ready to be tested. |
Yeah, it wasn't ready. Thank you @MadameSheema! |
Pinging @elastic/security-detections-response (Team:Detections and Resp) |
…emplate (#129491) **Addresses:** #129294, #93083, elastic/security-team#2078 (internal) **Related to:** #128691 ## Summary Summarize your PR. If it involves visual changes include a screenshot or gif. - [x] Fix bulk resetting timeline template to **None** - [x] Fix UI copies - [ ] Add tests
…emplate (#129491) **Addresses:** #129294, #93083, elastic/security-team#2078 (internal) **Related to:** #128691 ## Summary Summarize your PR. If it involves visual changes include a screenshot or gif. - [x] Fix bulk resetting timeline template to **None** - [x] Fix UI copies - [ ] Add tests (cherry picked from commit 62c049b)
…emplate (#129491) (#130154) **Addresses:** #129294, #93083, elastic/security-team#2078 (internal) **Related to:** #128691 ## Summary Summarize your PR. If it involves visual changes include a screenshot or gif. - [x] Fix bulk resetting timeline template to **None** - [x] Fix UI copies - [ ] Add tests (cherry picked from commit 62c049b) Co-authored-by: Georgii Gorbachev <[email protected]>
@deepikakeshav-qasource @MadameSheema so the backport to |
Hi @banderror , We have observed that this issue is occurring on Please find the below testing details: Build Details
Screencast: bulk.timeline.mp4Hence, We are re-opening this issue. Thanks!! |
Thank you @deepikakeshav-qasource. @vitaliidm you are in the context of bulk editing, could you please take a look at what we might break in |
Looks like ES Here is actual query that is generated on
This Here is a simple example in Kibana dev tools to reproduce:
Possible solutions can be:
cc: @XavierM , any ideas how we can address it in other ways? |
@vitaliidm Thank you for doing this research and providing a detailed explanation. I tried bulk
If possible, it would be great if RulesClient could use On the other hand, I think regardless of that, we should use explicitly defined values for Option 1:
Option 2:
Optional fields are great in some cases when you define request parameters (e.g. for the import endpoint), but showed to bring more problems than value when storing data. |
there is a possibility to use bulkCreate with overwrite=true @banderror why not 2 fields as |
@vitaliidm both fields |
I think having both nullable will be more consistent Having title set to
In case of timeline title, we don't display empty string, but predefined value |
@vitaliidm what if On the read side, e.g. when rendering the "Timeline" field on the Details page, we shouldn't be checking
|
@banderror , how is this even possible? By deliberate saving these values by direct API call? If we want to address this possibility: what should be displayed if timeline_id is invalid( timeline_id=== 'some-fake-id' timeline_title === 'Generic Process Timeline') or timeline_id and timeline_title are mismatched( timeline_id points to 'Generic Network Timeline' and timeline_title === 'Generic Process Timeline')? |
@banderror, it has been fixed in #137593 @deepikakeshav-qasource , issue is ready for testing |
Hi Team, We have validated this issue on 8.4.0 BC2 build and observed that issue is Fixed. 🟢 Please find the below Testing Details: Build info
Screen-cast timeline.template.mp4cc: @MadameSheema Hence, We are closing this issue and marking as QA Validated Thanks!! |
Describe the bug
Unable to reset to none if rule contains any timeline template under bulk apply timeline template
Build Details:
preconditions
Steps to Reproduce
Actual Result
Unable to reset to none if rule contains any timeline template under bulk apply timeline template
Expected Result
User should be able to set None timeline template under bulk apply timeline template
Screen-Shot
Timeline.None.mp4
The text was updated successfully, but these errors were encountered: