[Security Solution] Validation for Invalid Field Inputs in Advanced Settings Is Bypassed #200830
Labels
8.18 candidate
bug
Fixes for quality problems that affect the customer experience
Feature:Prebuilt Detection Rules
Security Solution Prebuilt Detection Rules area
Feature:Rule Edit
Security Solution Detection Rule Editing workflow
impact:medium
Addressing this issue will have a medium level of impact on the quality/strength of our product.
Team:Detection Rule Management
Security Detection Rule Management Team
Team:Detections and Resp
Security Detection Response Team
Team: SecuritySolution
Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc.
v8.18.0
Summary
When editing a prebuilt rule in the Advanced Settings tab, providing invalid values for the fields “Rule name override” and “Timestamp override” causes the fields to turn red, indicating an error. However, the system incorrectly allows the rule to be saved:
api/detection_engine/rules?id=<rule_id>
response indicates that the rule has been customized, with the rule_source.is_customized field set to true, despite the invalid changes not being applied.Kibana/Elasticsearch Stack version:
8.x
Steps to reproduce:
a. Rule name override: Provide a value that does not exist in the schema.
b. Timestamp override: Enter a non-timestamp field or invalid string.
Current behavior:
Expected behavior:
Screenshots
Screen.Recording.2024-11-19.at.3.24.32.PM.mov
Details
Provide logs and/or server output (if relevant):
The text was updated successfully, but these errors were encountered: