When I am trying to access security from kibana dashboard I'm getting this error.
Error
Error: Cannot read properties of undefined (reading 'includes')
at c (http://10.9.1.8:5601/50723/bundles/plugin/securitySolution/8.0.0/securitySolution.chunk.4.js:3:7169)
at http://10.9.1.8:5601/50723/bundles/plugin/securitySolution/8.0.0/securitySolution.chunk.4.js:3:7599
at Object.useMemo (http://10.9.1.8:5601/50723/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:451:65039)
at useMemo (http://10.9.1.8:5601/50723/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:435:5229)
at i (http://10.9.1.8:5601/50723/bundles/plugin/securitySolution/8.0.0/securitySolution.chunk.4.js:3:7554)
at b (http://10.9.1.8:5601/50723/bundles/plugin/securitySolution/8.0.0/securitySolution.chunk.6.js:3:365702)
at http://10.9.1.8:5601/50723/bundles/plugin/securitySolution/8.0.0/securitySolution.chunk.9.js:3:28473
at Nt (http://10.9.1.8:5601/50723/bundles/plugin/securitySolution/8.0.0/securitySolution.chunk.9.js:3:29035)
at http://10.9.1.8:5601/50723/bundles/plugin/securitySolution/8.0.0/securitySolution.chunk.9.js:3:30210
at Lt (http://10.9.1.8:5601/50723/bundles/plugin/securitySolution/8.0.0/securitySolution.chunk.9.js:3:30353)```
![image|690x220](upload://n57tznb9APebcWUbQwBY5UXMaMV.png)
Hello, I'm having the same problem when accessing https://.../app/security/get_started . I'm using v8.2.0. Any idea anyone?
Error: Cannot read properties of undefined (reading 'includes')
at c (https://elk.xwiki.org/52005/bundles/plugin/securitySolution/8.0.0/securitySolution.chunk.5.js:3:6185)
at https://elk.xwiki.org/52005/bundles/plugin/securitySolution/8.0.0/securitySolution.chunk.5.js:3:6708
at Object.useMemo (https://elk.xwiki.org/52005/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:451:64992)
at useMemo (https://elk.xwiki.org/52005/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:435:5226)
at o (https://elk.xwiki.org/52005/bundles/plugin/securitySolution/8.0.0/securitySolution.chunk.5.js:3:6663)
at O (https://elk.xwiki.org/52005/bundles/plugin/securitySolution/8.0.0/securitySolution.chunk.5.js:3:9203)
at ma (https://elk.xwiki.org/52005/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:451:59714)
at ns (https://elk.xwiki.org/52005/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:451:68051)
at Is (https://elk.xwiki.org/52005/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:451:108614)
at ju (https://elk.xwiki.org/52005/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:451:97190)
Apologies for the very late response here. It took time for this error to make it to the right team.
After tracing the errors, we think this has to do with user roles. Can you provide details on the the roles and user configuration you have set up for the user you are logged in as when you try to access the page?
My goal is to reproduce the problem by creating a similar user/role, so any details here will help. You can just post screenshots like I did above. If you don't want to post anything publicly, you can send the info to me directly.
Thanks for the reply. Indeed, after setting the right permissions the message disappeared. It just wasn't obvious that the error was caused by a security configuration. That could be something to improve
@Khalifa_Khalifi do you have system admin in your instance with admin privileges? Whoever created your users and granted you access to your system should have access to these views.
@Khalifa_Khalifi I saw from your screenshot earlier that you are running 8.2.3, however the instructions you used said it's specific to 7.7.1. I believe what has happened is that the installation you have doesn't have security properly configured.
I know this is confusing and there is certainly a bug on our side that we will address, but you should be able to work around the problem by configuring security. Note that "security" in this context doesn't refer to the Elastic Security product, rather general security settings such as TLS, users, and permissions.
You should have an elastic user created for you. The elastic user should have access to anything in the product, including managing Users and Roles that I referenced earlier. If you do not know the password for this user, you can update it following these steps and then try to log in as elastic/{password} . Setting passwords for native and built-in users | Elasticsearch Guide [8.2] | Elastic
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.