Open MadameSheema opened 4 years ago
For whoever grabs this one - needs to be revisited as it was a known issue (core issue) when originally coded up.
This sees to be related to https://github.com/elastic/kibana/issues/137709 - could QA confirm that the steps outlined in that other issue resolve this as well?
cc @MadameSheema
@samratbhadra-qasource can you please validate if the above issue is still happening after following this?: https://github.com/elastic/kibana/issues/137709#issuecomment-1205783338 Thanks!!! :)
Hi @MadameSheema
We have tested this issue on the latest 8.5.0-Snapshot build and observed that the issue is still occurring. Please find below the testing details:
Build Details: VERSION: 8.5.0-SNAPSHOT BUILD: 55993 COMMIT: 436b2874794a6ffc05ad3b9ef28c298ff5384ca4
Screenshot:
Thanks!
Thanks @samratbhadra-qasource!!
@yctercero can you please take a look at the above comment when you have the chance?
Thanks! I'll put it in for 8.6 - I'm not sure we'll get to it 8.5 but will prioritize if we can.
@WafaaNasr Can you take a look at this bug? It looks like the autosuggest is populating but the validation for the "Add Exception" button is preventing us from adding this nested exception. I know you were in the validation code recently so hopefully this is an easy fix.
To test you will need endpoint data which you can generate by using the following script:
cd ~/kibana/x-pack/plugins/security_solution/scripts/endpoint && nvm use && yarn test:generate
Here is a screenshot:
8.7.0
deployment:Preconditions:
Stack Management
-> Advanced Settings
Autocomplete
section search resultsAutocomplete
section, Under the Use time range section, on the right check ✅ that "autocomplete:useTimeRange" button is On Steps to reproduce behavior:
mimikatz
Security
-> Alerts
Actions
column click on the three dots⚈⚈⚈icon Add Rule exception
enter an exception nameField
section, key in file.Ext.code and select from the drop down list menu options 🔽 File.Ext.code_signature.subject_name
for the field. Value
section, click on the drop down list 🔽Results:
Autocomplete values for the nested field does not load and displays a message "There aren't any options available"
when drop down list is selected
Expected results:
Autocomplete values are returned with drop down list options 🔽
Add rule exception
or Add endpoint exception
Rule Exception Field File.Ext.code_signature.subject_name
that shows Autocomplete values not generating:
Endpoint Exception Field File.Ext.code_signature.subject_name
that shows Autocomplete values not generating:
Note: I deleted the automatic populated fields that display and generate when creating an Endpoint Exception and added under the Field sectionFile.Ext.code_signature.subject_name
Endpoint Exception Field File.Ext.code_signature.subject_name
with boolean operator that shows Autocomplete values not generating:
Validated that the behavior is still occurring in 8.7.0
cc: @MadameSheema @dhurley14 @WafaaNasr Update FYI Observations
8.9.0
:Build Details:
VERSION: 8.9.0 BC5
BUILD: 64715
COMMIT: beb56356c5c037441f89264361302513ff5bd9f8
Preconditions:
Stack Management
-> Advanced Settings
Autocomplete
section search resultsAutocomplete
section, Under the Use time range section, on the right check ✅ that "autocomplete:useTimeRange" button is On Steps to reproduce behavior:
mimikatz
Security
-> Alerts
Actions
column click on the three dots⚈⚈⚈icon Add Rule exception
enter an exception nameField
section, key in file.Ext.code and select from the drop down list menu options 🔽 File.Ext.code_signature.subject_name
for the field. Value
section, click on the drop down list 🔽Results:
Autocomplete values for the non-nested field does not load and displays a message "There aren't any options available"
when drop down list is selected
Expected results:
Autocomplete values are returned with drop down list options 🔽
https://github.com/elastic/kibana/assets/35679937/01cf2590-e84a-49f3-8206-b19c526b1458
Add rule exception
or Add endpoint exception
Rule Exception Field File.Ext.code_signature.subject_name
that shows Autocomplete values not generating for
non-nested fields:
Endpoint Exception Field File.Ext.code_signature.subject_name
that shows Autocomplete values not generating for
non-nested fields:
Note: I deleted the automatic populated fields that display and generate when creating an Endpoint Exception and added under the Field sectionFile.Ext.code_signature.subject_name
.
Validated that the behavior of non-nested fields values not generating is still occurring in 8.9.0
.
Autocomplete values for nested fields in 8.9.0
do generate for both rule or endpoint exception and are working, the bug 🐛 that needs to be fixed is for non-nested fields
cc: @MadameSheema @dhurley14 @WafaaNasr Updated FYI Observations
Originally reported by: @dplumlee
Info:
Steps to reproduce:
file.Ext.code_signature.subject_name
as the field nameCurrent behavior:
Expected behavior:
Dev notes:
Commented by @yctercero on 28th Jul: @dplumlee did you try this with the timeline
Add Filter
and KQL search bar? Trying it there, it seems to be the same issue (as we're using the same service).Commented by @dplumlee on 28th Jul: @yctercero i looked through the KQL code and saw they were passing nested fields down a slightly different way but the
Add Filter
seems to be getting the same issue for me, yeah