elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.71k stars 8.13k forks source link

[Security Solution] Invalid User prompt for `Test Configuration` option for Saved Queries with certain Kibana Privileges. #148135

Open arvindersingh-qasource opened 1 year ago

arvindersingh-qasource commented 1 year ago

Describe the bug Invalid User prompt for Test Configuration option for Saved Queries with certain Kibana Privileges

Build Details

VERSION: 8.6.0_Snapshot
BUILD: 58830
COMMIT: 6a5d6d96a534be75fc58acda8f89f2610309d7ff

Browser Details This issue is occurring on all browsers.

Preconditions

  1. Kibana must be available.
  2. Osquery Manager must be installed with Agent Policy.
  3. User with below Kibana privileges must be logged into Kibana 2

Steps to Reproduce

  1. Navigate to Management -> Osquery -> Saved Queries
  2. Click on edit option for alreadt available User created Saved Query.
  3. Click on Test Configuration option.
  4. Select Agent/Policy and click on Submit button.
  5. Observe that there will be an error shown as Query is a required field which an invalid User prompt for Test Configuration option for Saved Queries with above Kibana Privileges.

Actual Result Invalid User prompt for Test Configuration option for Saved Queries with certain Kibana Privileges

Expected Result

OR

What's Working

What's Not Working

Screenshot 1

elasticmachine commented 1 year ago

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

arvindersingh-qasource commented 1 year ago

@manishgupta-qasource Please review this bug.

Thanks.

manishgupta-qasource commented 1 year ago

Reviewed & assigned to @tomsonpl

CC: @james-elastic @kevinlog