I am facing following Error. Each time I want to generate new csv Report in kibana I see following:
Error: Failed to decrypt report job data. Please ensure that xpack.reporting.encryptionKey is set and re-generate this report. Error: Unsupported state or unable to authenticate data
@Kosmonafft Which user/role/permissions are you using to generate report? There would need to be cluster permissions assigned, but if not a different error is generated.
Can you share the role/s definitions assigned to the user and the full kibana.yml if above is not complete (redact any sensitive details)
@Kosmonafft I am not able to reproduce your error using admin user.
Could you DM me your configuration files:
sg_config.yml
elasticsearch.yml
kibana.yml
(redact any sensitive details)
Could you please check if the user is mapped to any other roles, you can do that via kibana if you add “searchguard.accountinfo.enabled: true” to kibana.yml or via curl command below: