Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Splunk Support wants capabilities above roles in authorize.conf #12

Open
ios7hash opened this issue May 1, 2024 · 1 comment
Open
Assignees

Comments

@ios7hash
Copy link

ios7hash commented May 1, 2024

The KV Store Tools Redux app is currently setting importRoles for role_admin which should not be done. Instead the app developer should be granting their custom capabilities to role_admin and role_sc_admin. Here is the current config in authorize.conf for the app:

[role_admin]
importRoles = power;user;kv_admin

[capability::read_kvst_config]
[capability::write_kvst_config]

It should look something more like this:

[capability::read_kvst_config]
[capability::write_kvst_config]

[role_admin]
read_kvst_config = enabled
write_kvst_config = enabled

@jrzmurray
Copy link
Member

For future reference to users having role issues in Splunk Cloud, here is a workaround:

  1. Delete the KV Store Tools app from Splunk Cloud
  2. Add a new role called kv_admin
  3. Add kv_admin to the inherited roles for sc_admin (or whatever role you have)
  4. Reinstall KV Store Tools

We'll be working on an official fix in the near future.

@jrzmurray jrzmurray self-assigned this May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants