[Security Solution] Unable to unset field value upon rules upgrade #203634
Labels
8.18 candidate
bug
Fixes for quality problems that affect the customer experience
Feature:Prebuilt Detection Rules
Security Solution Prebuilt Detection Rules area
impact:high
Addressing this issue will have a high 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
It's impossible to remove optional field upon rule upgrade. UI shows field's value as removed but rule upgrade request fails with an error.
Steps to reproduce:
Setup Guide
Update rule
buttonExpected behavior: Rule upgrades successfully.
Actual behavior: Rule fails to upgrade.
Screenshots:
Diffable rule optional fields
There are different rule field groups allowing empty values of different kind. Users should be able to set (reset to) a propitiate field's empty value.
Optional fields
investigation_fields
rule_name_override
timestamp_override
timeline_template
building_block
alert_suppression
threat_indicator_path
Note
Diffable rule allows empty
data_source
but rule edit forms don't allow empty value. It should NOT be possible to set an empty value fordata_source
.String fields allowing empty strings
note
setup
machine_learning_job_id
? (Check an empty string should be allowed)Array fields allowing empty arrays
tags
references
false_positives
threat
related_integrations
required_fields
Setup the environment
prebuiltRulesCustomizationEnabled
feature flag is enabledserver.restrictInternalApis: false
tokibana.dev.yaml
security_detection_engine
Fleet packageThe text was updated successfully, but these errors were encountered: