elastic / kibana

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

[Cloud Security Posture] ILM Delete Phase Permissions Error - [indices:admin/delete] ... [elastic/kibana] #165259

Open BenB196 opened 1 year ago

BenB196 commented 1 year ago

Kibana version:

8.9.1

Elasticsearch version:

8.9.1

Server OS version:

N/A

Browser version:

N/A

Browser OS version:

N/A

Original install method (e.g. download page, yum, from source, etc.):

Container

Describe the bug:

ILM has errors like:

security_exception: action [indices:admin/delete] is unauthorized for service account [elastic/kibana] on indices [.ds-logs-cloud_security_posture.findings-default-2023.01.30-000001], this action is granted by the index privileges [delete_index,manage,all]

and

security_exception: action [indices:admin/delete] is unauthorized for service account [elastic/kibana] on indices [.ds-logs-cloud_security_posture.findings-<redacted>-2023.01.30-000001], this action is granted by the index privileges [delete_index,manage,all]

Steps to reproduce:

  1. Not entirely sure, but suppose a combination of Cloud Security Posture install + waiting for ILM delete phase.

Expected behavior:

I don't expect to see an ILM Delete permissions error.

Screenshots (if relevant):

Errors in browser console (if relevant):

Provide logs and/or server output (if relevant):

Any additional context:

elasticmachine commented 1 year ago

Pinging @elastic/kibana-cloud-security-posture (Team:Cloud Security)

CohenIdo commented 1 year ago

Hi @BenB196, thank for sharing. We will look into it.

maxcold commented 1 year ago

not sure how to estimate this one