I have recently enabled the xpack plugin for native basic authentication, once I did that, the export csv within kibana stopped working and displaying the following error message:
Failed to create report
Sorry, you don't have access to Reporting
Error: Forbidden
at fetch_Fetch.fetchResponse (https://redactedURI/46336/bundles/core/core.entry.js:8:56906)
at async https://redactedURI/46336/bundles/core/core.entry.js:8:55074
at async https://redactedURI/46336/bundles/core/core.entry.js:8:55031
I am currently using File based users and roles, here is the role being used:
cat /etc/elasticsearch/roles.yml
admin:
applications:
- application: kibana-.kibana
privileges:
- all
resources:
- "*"
cluster:
- all
indices:
- names:
- "*"
privileges:
- all
I have followed this document Configure reporting in Kibana | Kibana Guide [8.4] | Elastic since I am on a basic license.
Kibana version is 7.16.2
Elasticsearch version is 7.16.2
The rest of features are working as expected, I can manage the cluster, create visualizations and dashboards, however when it comes to export the csv it errors with the above message even tho I am granting unrestrictive access to everything.
I have even tried this approach since this is what superuser returns as the privileges:
cat /etc/elasticsearch/roles.yml
admin:
applications:
- application: "*"
privileges:
- "*"
resources:
- "*"
cluster:
- all
indices:
- names:
- "*"
privileges:
- all
The error is the same, what am I missing here so I can generate the CSV?
Thank you,