Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Security Solution]: Auto suggested value not working for field value while adding rule exception. #137709

Closed
ghost opened this issue Aug 1, 2022 · 14 comments
Assignees
Labels
Feature:Rule Exceptions Security Solution Detection Rule Exceptions area impact:high Addressing this issue will have a high level of impact on the quality/strength of our product. Team:Detections and Resp Security Detection Response Team Team:Security Solution Platform Security Solution Platform Team Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc.

Comments

@ghost
Copy link

ghost commented Aug 1, 2022

Describe the bug:
Auto suggested value not working for field value while adding rule exception.

Build Details:

VERSION : 8.4.0-BC1
BUILD: 54999
COMMIT: 58f7eaf0f8dc3c43cbfcd393e587f155e97b3d0d

Preconditions

  1. Kibana should be running.
  2. Alerts should be available

Steps to Reproduce

  1. Navigate to Alerts tab.
  2. Select any alert and click on more actions button (...).
  3. Now, select add rule exceptions.
  4. On the add rule exceptions flyout select any field and operator.
  5. Now, click on field value dropdown.
  6. Observe that auto suggested value not working for field value while adding rule exception.

Actual Result
Auto suggested value not working for field value while adding rule exception.

Expected Result
Auto suggested value should work for field value while adding rule exception.

What's Working:
The issue is working fine on 8.2.3 .

Alerts.-.Kibana.-.Google.Chrome.2022-08-01.18-50-08.mp4

Screen-Recording:

Alerts.-.Kibana.-.Google.Chrome.2022-08-01.18-46-34.mp4
@ghost ghost added bug Fixes for quality problems that affect the customer experience triage_needed impact:high Addressing this issue will have a high level of impact on the quality/strength of our product. Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. v8.4.0 labels Aug 1, 2022
@elasticmachine
Copy link
Contributor

Pinging @elastic/security-solution (Team: SecuritySolution)

@ghost ghost assigned ghost and MadameSheema and unassigned ghost Aug 1, 2022
@MadameSheema
Copy link
Member

@samratbhadra-qasource can you please provide which type of rule generated the alert? also if had index patterns or data views. Thanks

@ghost
Copy link
Author

ghost commented Aug 2, 2022

Hi @MadameSheema

We have used custom query rule to generate the alerts.
Also, we have used index patterns to create the rule.

Rule:
rules_export.zip

Please do let us know if anything else is required from our end.

Thanks!

@MadameSheema MadameSheema added Team:Detections and Resp Security Detection Response Team Team:Security Solution Platform Security Solution Platform Team labels Aug 2, 2022
@elasticmachine
Copy link
Contributor

Pinging @elastic/security-detections-response (Team:Detections and Resp)

@dhurley14
Copy link
Contributor

The exported rule is querying the default index patterns with a query of process.name: *. Since I don't know what was used to populate the data for the default index patterns and I have not been able to reproduce the issue could you possibly check if adding an exception for process.name yields any autosuggested results?

@dhurley14 dhurley14 added notabug When the issue is closed this label Indicates that it wasn't a bug not reproducible and removed notabug When the issue is closed this label Indicates that it wasn't a bug labels Aug 3, 2022
@dhurley14
Copy link
Contributor

Rule I used locally with auditbeat data from local:

rule_definition

Trying to reproduce:

add_exceptions_alerts_table

@dhurley14
Copy link
Contributor

Reproduced it in the unified search bar in other places of the security solution. I don't believe this is particular to rule exceptions. Not sure if this is a known issue elsewhere in the app.

cc: @yctercero @rylnd

@peluja1012 peluja1012 added the Feature:Rule Exceptions Security Solution Detection Rule Exceptions area label Aug 3, 2022
@dhurley14
Copy link
Contributor

@samratbhadra-qasource can you try to turn this switch off in the Stack Management -> Advanced Settings locally and let us know if you continue to see the values fail to populate?

advanced_setting

@yctercero
Copy link
Contributor

If this ends up working - we should add documentation for this on our end.

cc @elastic/security-docs

@ghost
Copy link
Author

ghost commented Aug 8, 2022

Hi @yctercero
We have tried turning off the use time range option and observed that we are able to receive auto suggested value for field value while adding rule exception. Please find below the testing details:

Screen-Recording:

Home.-.Elastic.-.Google.Chrome.2022-08-08.13-58-26.mp4

Build Details:

VERSION: 8.4.0-BC2
COMMIT: 9e9e0d6a685cbc2858a85a357f93dcb76259fdee
BUILD: 55166

Please do let us know if anything else is required from our end.

Thanks!

@yctercero
Copy link
Contributor

Per sync discussion - we'll move to documenting this as a troubleshooting issue 7.17--> 8.x

@MadameSheema
Copy link
Member

@yctercero can we close this issue or is there any work pending to be finished?

@yctercero
Copy link
Contributor

I think we can close - there's just doc updates that have been filed here - elastic/security-docs#2284

@ghost
Copy link
Author

ghost commented Oct 12, 2022

Hi @yctercero
Thanks for the update.
Hence, we are closing this issue.

@ghost ghost closed this as completed Oct 12, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Rule Exceptions Security Solution Detection Rule Exceptions area impact:high Addressing this issue will have a high level of impact on the quality/strength of our product. Team:Detections and Resp Security Detection Response Team Team:Security Solution Platform Security Solution Platform Team Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc.
Projects
None yet
Development

No branches or pull requests

5 participants