-
Notifications
You must be signed in to change notification settings - Fork 8.4k
Open
Open
Copy link
Labels
Feature:Rule CreationSecurity Solution Detection Rule Creation workflowSecurity Solution Detection Rule Creation workflowFeature:Rule EditSecurity Solution Detection Rule Editing workflowSecurity Solution Detection Rule Editing workflowTeam: SecuritySolutionSecurity Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc.Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc.Team:Detection EngineSecurity Solution Detection Engine AreaSecurity Solution Detection Engine AreaTeam:Detection Rule ManagementSecurity Detection Rule Management TeamSecurity Detection Rule Management TeamTeam:Detections and RespSecurity Detection Response TeamSecurity Detection Response TeambugFixes for quality problems that affect the customer experienceFixes for quality problems that affect the customer experienceeffort:lowimpact:lowAddressing this issue will have a low level of impact on the quality/strength of our product.Addressing this issue will have a low level of impact on the quality/strength of our product.value:low
Description
Epic: #179907
Related to: #204317, #223446
Summary
Description:
When updating the Additional look-back time field in a prebuilt rule’s schedule settings, the system exhibits inconsistent behavior when saving the value depending on whether the input can be fully converted to minutes.
Same behavior is observed when creating/editing a custom rule.
Kibana/Elasticsearch Stack version:
VERSION: 9.0.0
BUILD: 82496
COMMIT: a90a9fc92a469656ba16ad54bd36b2375b386137
Functional Area (e.g. Endpoint management, timelines, resolver, etc.):
Prebuilt Rules
Pre requisites:
prebuiltRulesCustomizationEnabled
flag is enabled- Prebuilt rules are available
Steps to reproduce:
- Open a prebuilt rule where the Schedule interval is set to “Runs every 5 minutes” and Additional look-back time is set to “4 minutes”.
- Update the Runs every 5 minutes interval to:
- 300 seconds → Save works correctly, and the value is displayed as “300 seconds”.
- Any other valid time format (e.g. 10 minutes, 20 seconds, etc.) → Save works correctly, and the value is displayed as entered.
- Update the Additional look-back time to:
- A value that cannot be fully converted to minutes (e.g. 350 seconds) → Save works correctly, but the value is saved and displayed as seconds.
- A value that can be fully converted to minutes (e.g. 360 seconds, which equals 6 minutes) → Save works, but the system automatically converts and displays the value in minutes instead of seconds.
Current behavior:
- If the Additional look-back time cannot be fully converted to minutes, it is saved and displayed as seconds.
- If the Additional look-back time can be fully converted to minutes, the system converts it and displays it as minutes, even if it was initially saved as seconds.
Expected behavior:
- The Additional look-back time should always be saved and displayed in the exact format entered by the user (seconds, minutes, or hours) without automatic conversion.
- Consistency should be maintained in how time values are displayed, ensuring that users see the format they selected during rule editing.
Screenshots
Screen.Recording.2025-01-13.at.11.22.20.AM.mov
Screen.Recording.2025-01-13.at.11.33.58.AM.mov
Screen.Recording.2025-01-13.at.11.34.47.AM.mov
Metadata
Metadata
Assignees
Labels
Feature:Rule CreationSecurity Solution Detection Rule Creation workflowSecurity Solution Detection Rule Creation workflowFeature:Rule EditSecurity Solution Detection Rule Editing workflowSecurity Solution Detection Rule Editing workflowTeam: SecuritySolutionSecurity Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc.Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc.Team:Detection EngineSecurity Solution Detection Engine AreaSecurity Solution Detection Engine AreaTeam:Detection Rule ManagementSecurity Detection Rule Management TeamSecurity Detection Rule Management TeamTeam:Detections and RespSecurity Detection Response TeamSecurity Detection Response TeambugFixes for quality problems that affect the customer experienceFixes for quality problems that affect the customer experienceeffort:lowimpact:lowAddressing this issue will have a low level of impact on the quality/strength of our product.Addressing this issue will have a low level of impact on the quality/strength of our product.value:low
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity
elasticmachine commentedon Jan 13, 2025
Pinging @elastic/security-detections-response (Team:Detections and Resp)
elasticmachine commentedon Jan 13, 2025
Pinging @elastic/security-detection-rule-management (Team:Detection Rule Management)
elasticmachine commentedon Jan 13, 2025
Pinging @elastic/security-solution (Team: SecuritySolution)
elasticmachine commentedon Jan 24, 2025
Pinging @elastic/security-detection-engine (Team:Detection Engine)
predogma commentedon Jun 10, 2025
Edit rule settings for Schedule only lists (pull down) options for
sec, min, hours
. It is only when the number of hours is amultiple of 24
resulting in a day count representation on the rule's overview page.For example all these convert to a day representation in the rule's overview schedule panel
24, 48, 168, 192, 432
Any count of hours not divisible by 24 renders as hours in the overview. For example 300 hours.
When you go back to
Edit Rule settings
to theSchedule
tab, to theAdditional look-back time
, it can not render the value as it only renders sec, min, hours (not days). Resulting in a 0 seconds rendered and fails to indicate what the original setting was in hours.yctercero commentedon Jun 11, 2025
@maximpn happy to coordinate here if we can help. It seems to cross domains of rule edit/rule details.
predogma commentedon Jun 12, 2025
#223446
banderror commentedon Jun 24, 2025
This one is not planned for work on the Rule Management team at this point. cc @yctercero