Security

having problem opening the tab Access Controls

shariinPH
Contributor
2015-05-04 14:09:58,693 ERROR   [55470d36594692be0] __init__:328 - Mako failed to render: 
Traceback (most recent call last):
  File "C:\Program Files\Splunk\Python-2.7\Lib\site-packages\splunk\appserver\mrsparkle\controllers\__init__.py", line 324, in render_template
    return templateInstance.render(**template_args)
  File "C:\Program Files\Splunk\Python-2.7\Lib\site-packages\mako\template.py", line 283, in render
    return runtime._render(self, self.callable_, args, data)
  File "C:\Program Files\Splunk\Python-2.7\Lib\site-packages\mako\runtime.py", line 575, in _render
    **_kwargs_for_callable(callable_, data))
  File "C:\Program Files\Splunk\Python-2.7\Lib\site-packages\mako\runtime.py", line 607, in _render_context
    _exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
  File "C:\Program Files\Splunk\Python-2.7\Lib\site-packages\mako\runtime.py", line 633, in _exec_template
    callable_(context, *args, **kwargs)
  File "C:\Program Files\Splunk\share\splunk\search_mrsparkle\templates/layout/base.html", line 22, in render_body
    <%self:render/>
  File "C:\Program Files\Splunk\share\splunk\search_mrsparkle\templates/layout/base.html", line 37, in render_render
    ## define main HTML wrapper
  File "C:\Program Files\Splunk\share\splunk\search_mrsparkle\templates/layout/base.html", line 79, in render_pagedoc
    % elif APP and APP.get('id'):
  File "C:\Program Files\Splunk\Python-2.7\Lib\site-packages\splunk\appserver\mrsparkle\lib\config.py", line 153, in getConfig
    args.update(_get_app_config(namespace))
  File "C:\Program Files\Splunk\Python-2.7\Lib\site-packages\splunk\appserver\mrsparkle\lib\config.py", line 98, in _get_app_config
    rawConfig = splunk.bundle.getConf('app', namespace=app)
  File "C:\Program Files\Splunk\Python-2.7\Lib\site-packages\splunk\bundle.py", line 39, in getConf
    serverResponse, serverContent = rest.simpleRequest(uri, getargs={'fillcontents':1}, sessionKey=sessionKey)
  File "C:\Program Files\Splunk\Python-2.7\Lib\site-packages\splunk\rest\__init__.py", line 514, in simpleRequest
    raise splunk.AuthorizationFailed(extendedMessages=uri)
AuthorizationFailed: [HTTP 403] Client is not authorized to perform requested action; https://127.0.0.1:8089/servicesNS/admin/search/properties/app?fillcontents=1
Collapse

pls send me some help

Tags (2)
0 Karma

jeffland
SplunkTrust
SplunkTrust

With regard to your comment here about what you did that possibly caused this problem (removing the search capability), you could try to give it back to your users (roles) by setting authorize.conf directly. Have a look at the file in your etc/system/local and see if re-adding the capability fixes the issue; it should be [capability::search] (see the docs for more information). If you don't know how to do it, it might be helpful to have a look at the file in default to see what the default capabilities for your admin are.

0 Karma

shariinPH
Contributor

im sorry for the trouble @jeffland. please bear with me with this. I need to fix this ASAP 😞 moving forward please have a look with what my authorize.conf contains

[role_user]
accelerate_search = disabled
change_own_password = disabled
edit_win_admon = disabled
edit_win_perfmon = disabled
edit_win_regmon = disabled
edit_win_wmiconf = disabled
get_metadata = disabled
get_typeahead = disabled
input_file = disabled
list_inputs = disabled
list_pdfserver = disabled
list_win_localavailablelogs = disabled
output_file = disabled
pattern_detect = disabled
request_remote_tok = disabled
rest_apps_view = disabled
rest_properties_get = disabled
rest_properties_set = disabled
schedule_rtsearch = disabled
srchMaxTime = 8640000

0 Karma

jeffland
SplunkTrust
SplunkTrust

What I think you need to do is get back the search capability, especially for your admin role. So look for the [admin] stanza and make sure it says search=enabled under it (This could work based on the assumption this is the cause for the above error).

0 Karma

shariinPH
Contributor

what i did was I change the stanza role_user to role_Admin .. then it works, for now. I can view already the tabs.

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...