-
Notifications
You must be signed in to change notification settings - Fork 8.5k
Open
Labels
Feature:Rule ExceptionsSecurity Solution Detection Rule Exceptions areaSecurity Solution Detection Rule Exceptions areaTeam:Detection EngineSecurity Solution Detection Engine AreaSecurity Solution Detection Engine AreabugFixes for quality problems that affect the customer experienceFixes for quality problems that affect the customer experienceeffort:lowgood first issuelow hanging fruitlow hanging fruiturgency:normalvalue:high
Description
When adding an exception, if a nested field has sub-fields with dots in the name, e.g. hash.sha256 (or there are multiple levels of sub-fields) then the UI presents only the last part of the sub-field name (sha256)as an option. Attempting to select sha256 does not work.
Mapping
PUT test
{
"mappings": {
"properties": {
"@timestamp": {
"type": "date"
},
"event.category": {
"type": "keyword"
},
"my_nested_field": {
"type": "nested",
"properties": {
"hash": {
"properties": {
"sha256": {
"type": "keyword",
"ignore_above": 1024
}
}
},
"name": {
"type": "keyword",
"ignore_above": 1024
},
"path": {
"type": "keyword",
"ignore_above": 1024
}
}
}
}
}
}
Steps to Repro
- Create an index with the mapping above
- Create a query rule that uses the created index as its source index. The rule query and other settings do not matter.
- Open the "Add Exception" flyout for the rule
- Click "Add nested condition" and select
my_nested_field.hash.sha256as the field
my_nested_fieldwill be added as the nested field, buthash.sha256will not be added as the sub-field. In the sub-field dropdown,sha256is shown but selecting it there doesn't work either.
If other my_nested_field.path is selected instead, you can see that path is automatically added as the sub-field.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Feature:Rule ExceptionsSecurity Solution Detection Rule Exceptions areaSecurity Solution Detection Rule Exceptions areaTeam:Detection EngineSecurity Solution Detection Engine AreaSecurity Solution Detection Engine AreabugFixes for quality problems that affect the customer experienceFixes for quality problems that affect the customer experienceeffort:lowgood first issuelow hanging fruitlow hanging fruiturgency:normalvalue:high
Type
Fields
Give feedbackNo fields configured for Bug.