elastic / kibana

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

[Fleet]: View Steps and Generate API is not disabled on editing Logstash output for user role Settings: Read #191951

Open amolnater-qasource opened 2 weeks ago

amolnater-qasource commented 2 weeks ago

Kibana Build details:

VERSION: 8.16.0 SNAPSHOT
BUILD: 77913
COMMIT: f2aba4624160124344e98dac19d5eefd83fa79ce

Role:

Integrations: All
Fleet: Read
Agents: All
Agent policies: Read
Settings: Read

Image

Preconditions:

  1. 8.16.0-SNAPSHOT Kibana cloud environment should be available.
  2. New User should be created with above defined role.
  3. Logstash should be created with Superuser.

Steps to reproduce:

  1. Login with the above user.
  2. Navigate to Settings>Edit Logstash output.
  3. Observe View Steps and Generate API button is enabled, however it is not required.

Expected Result: View Steps and Generate API should be disabled on editing Logstash output for user role Settings: Read

Screen Recording:

https://github.com/user-attachments/assets/162736e9-a479-4aad-8528-9f74621c031e

Feature: https://github.com/elastic/ingest-dev/issues/2903

elasticmachine commented 2 weeks ago

Pinging @elastic/fleet (Team:Fleet)

amolnater-qasource commented 2 weeks ago

@muskangulati-qasource Please review.

muskangulati-qasource commented 2 weeks ago

Secondary review for this ticket is Done!