I’m using v7.2, seems older version config file not the same as v7.2
sg_internal_uses.yml:
logstash:
hash: "$2y$12$ZMZ4MM82Pjdi38R.UettceWdvZZMyB5sowlymi18ZJ.B75gfVXM.G"
reserved: false
backend_roles:
- "logstash"
description: "Demo logstash user"
sg_roles_mapping.yml:
SGS_LOGSTASH:
reserved: false
backend_roles:
- "logstash"
...
PA_LOGSTASH_USER:
reserved: true
backend_roles:
- "logstash"
sg_roles.yml:
PA_LOGSTASH_USER:
description: "my search guard role"
cluster_permissions:
- "cluster:monitor/main"
- "cluster:admin/xpack/monitoring/bulk"
- CLUSTER_MONITOR
- CLUSTER_COMPOSITE_OPS
- CLUSTER_MANAGE_INDEX_TEMPLATES
- CLUSTER_MANAGE_ILM
- CLUSTER_MANAGE_PIPELINES
index_permissions:
- index_patterns:
- "panos-*"
allowed_actions:
- SGS_READ
- SGS_WRITE
My logstash got error:
retrying failed action with response code: 403 ({"type"=>"security_exception", "reason"=>"no permissions for [indices:data/write/index, indices:data/write/bulk[s]] and User [name=logstash, roles=[logstash], requestedTenant=null]"})
What did I missed here? Thanks