The authorization/roles API allows for lists of indexes to be provided for srchIndexesAllowed and srchIndexesDefault but the provider treats them as strings. This means only one index value can be provided. By comparison, capabilities is treated appropriately as a list.
The below, for example, works. A single string can be provided for search_indexes_allowed and/or search_indexes_default.
There's also a copy-paste issue in the documentation for splunk_authorization_role - the example usage seems to be from the splunk_authentication_users documentation.
The
authorization/roles
API allows for lists of indexes to be provided forsrchIndexesAllowed
andsrchIndexesDefault
but the provider treats them as strings. This means only one index value can be provided. By comparison,capabilities
is treated appropriately as a list.The below, for example, works. A single string can be provided for
search_indexes_allowed
and/orsearch_indexes_default
.This, however, should work, in order to better fit the functionality provided by the API:
There's also a copy-paste issue in the documentation for splunk_authorization_role - the example usage seems to be from the splunk_authentication_users documentation.