Security

Required capabilities to upload a file

pbalbasdtt
Path Finder

Hi all,

From one client is required that users, with a role similar to power, have to be able to upload files using the GUI.

With the following capabilities:

  • accelerate_search
  • change_own_password
  • delete_messages
  • edit_monitor
  • edit_search_schedule_window
  • edit_sourcetypes
  • edit_statsd_transforms
  • edit_tcp
  • embed_report
  • export_results_is_visible
  • get_metadata
  • get_typeahead
  • indexes_edit
  • input_file
  • list_accelerate_search
  • list_inputs
  • list_metrics_catalog
  • list_tokens_own
  • metric_alerts
  • output_file
  • pattern_detect
  • request_remote_tok
  • rest_apps_view
  • rest_properties_get
  • rest_properties_set
  • rtsearch
  • run_collect
  • run_mcollect
  • schedule_rtsearch
  • schedule_search
  • search
  • search_process_config_refresh
  • upload_lookup_files

Users are able only to reach this point:

pbalbasdtt_0-1614792773725.png

 

I tried to find in the docs what is the missing capability in here, but I cannot find it. Can someone give a hand on this? Many thanks in advance. 

Best regards.

Labels (1)
0 Karma
1 Solution

impurush
Contributor

https://community.splunk.com/t5/Archive/Why-am-I-getting-the-error-quot-You-do-not-have-the-capabili...

As mentioned here, looks like there is no index assigned in your roles, hence the add data is showing error like this. 

Go to setting->roles->Go to your role->index, assign some index to your user.

View solution in original post

impurush
Contributor

https://community.splunk.com/t5/Archive/Why-am-I-getting-the-error-quot-You-do-not-have-the-capabili...

As mentioned here, looks like there is no index assigned in your roles, hence the add data is showing error like this. 

Go to setting->roles->Go to your role->index, assign some index to your user.

manjunathmeti
Champion

hi @pbalbasdtt,

You need to inherit role user OR power to the new role.  Looks like only Splunk default roles have access to upload file and index.

If this reply helps you, an upvote/like would be appreciated.

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Thanks for the Memories! Splunk University, .conf25, and our Community

Thank you to everyone in the Splunk Community who joined us for .conf25, which kicked off with our iconic ...

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...

Introducing Splunk 10.0: Smarter, Faster, and More Powerful Than Ever

Now On Demand Whether you're managing complex deployments or looking to future-proof your data ...