Security

Why do I receive 'There was an error retrieving the configuration, can not process this page' when accessing certain manager pages?

hazekamp
Builder

When accessing a manager page for example:

manager/<app_name>/authentication/roles

I receive an error There was an error retrieving the configuration, can not process this page even though I have the edit_roles capability.

What gives?

0 Karma
1 Solution

hazekamp
Builder

The reason for this is simple. The ability to "read" manager pages is controlled by the search app's metadata regardless of capabilities assigned to the role/user accessing the page. In order to edit roles (in this example) using the manager/<app_name>/authentication/roles a role must meet the following criteria:

  1. Be allowed to read the manager page:

    ## $SPLUNK_HOME/etc/apps/search/metadata/local.meta
    [manager/authentication_roles]
    access = read : [ admin, my_role ], write : [ admin ]

  2. Be granted the appropriate capability (in this case edit_roles)

View solution in original post

hazekamp
Builder

The reason for this is simple. The ability to "read" manager pages is controlled by the search app's metadata regardless of capabilities assigned to the role/user accessing the page. In order to edit roles (in this example) using the manager/<app_name>/authentication/roles a role must meet the following criteria:

  1. Be allowed to read the manager page:

    ## $SPLUNK_HOME/etc/apps/search/metadata/local.meta
    [manager/authentication_roles]
    access = read : [ admin, my_role ], write : [ admin ]

  2. Be granted the appropriate capability (in this case edit_roles)

Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...