Modifier and Type | Method and Description |
---|---|
String[] |
getCapabilities()
Returns an array of capabilities assigned to this role.
|
String |
getDefaultApp()
Returns the app to use as the default app for this role.
|
String[] |
getImportedCapabilities()
Returns an array of capabilities imported for this role.
|
String[] |
getImportedIndexesAllowed()
Returns an array of indexes that a user with this role has permissions to
search.
|
String[] |
getImportedIndexesDefault()
Returns an array of indexes to search by default when no index is
specified for a user with this role.
|
int |
getImportedRealTimeSearchJobsQuota()
Returns the maximum number of concurrent real-time search jobs a user
with this role is allowed to run.
|
String[] |
getImportedRoles()
Returns an array of roles to import attributes from, such as capabilities
and allowed indexes to search.
|
int |
getImportedRtSearchJobsQuota()
Deprecated.
Use
getImportedRealTimeSearchJobsQuota() instead. |
int |
getImportedSearchDiskQuota()
Returns the maximum disk space that can be used for search jobs by a user
with this role.
|
String |
getImportedSearchFilter()
Returns a search string that restricts the scope of searches run by this
role.
|
int |
getImportedSearchJobsQuota()
Returns the maximum number of concurrent searches a user with this role
is allowed to run.
|
int |
getImportedSearchTimeWindow()
Returns the maximum time span of a search, in seconds.
|
int |
getRealTimeSearchJobsQuota()
Returns the maximum number of concurrent real-time search jobs a user
with this role is allowed to run.
|
int |
getRtSearchJobsQuota()
Deprecated.
Use
getRealTimeSearchJobsQuota() instead. |
int |
getSearchDiskQuota()
Returns the maximum disk space that can be used for search jobs by a user
with this role.
|
String |
getSearchFilter()
Returns a search string that restricts the scope of searches run by this
role.
|
String[] |
getSearchIndexesAllowed()
Returns an array of indexes that a user with this role has permissions
to search.
|
String[] |
getSearchIndexesDefault()
Returns an array of indexes to search by default when no index is
specified for a user with this role.
|
int |
getSearchJobsQuota()
Returns the maximum number of concurrent searches a user with this role
is allowed to run.
|
int |
getSearchTimeWin()
Deprecated.
Use
getSearchTimeWindow() instead. |
int |
getSearchTimeWindow()
Returns the maximum time span of a search that is allowed for users in
this role.
|
void |
setCapabilities(String capability)
Assigns a single capability to this role.
|
void |
setCapabilities(String[] capabilities)
Assigns an array of capabilities to this role.
|
void |
setDefaultApp(String defaultApp)
Sets the default app for this role.
|
void |
setImportedRoles(String importedRole)
Sets a role to import attributes from, such as capabilities and allowed
indexes to search.
|
void |
setImportedRoles(String[] importedRoles)
Sets a list of roles to import attributes from, such as capabilities and
allowed indexes to search.
|
void |
setRealTimeSearchJobsQuota(int numJobs)
Sets the maximum number of concurrent real-time search jobs a user with
this role is allowed to run.
|
void |
setSearchDiskQuota(int srchDiskQuota)
Sets the maximum disk space that can be used for search jobs by a user
with this role.
|
void |
setSearchFilter(String srchFilter)
Sets a search string that restricts the scope of searches run by this
role.
|
void |
setSearchIndexesAllowed(String indexAllowed)
Sets the index that a user with this role has permissions to search.
|
void |
setSearchIndexesAllowed(String[] indexesAllowed)
Sets the indexes that a user with this role has permissions to search.
|
void |
setSearchIndexesDefault(String srchIndexDefault)
Sets the index to search by default when no index is specified for a
user with this role.
|
void |
setSearchIndexesDefault(String[] srchIndexesDefault)
Sets the indexes to search by default when no index is specified for a
user with this role.
|
void |
setSearchJobsQuota(int srchJobsQuota)
Sets the maximum number of concurrent searches a user with this role is
allowed to run.
|
void |
setSearchTimeWindow(int srchTimeWin)
Sets the maximum time span of a search that is allowed for users in this
role.
|
actionPath, clear, containsKey, containsValue, disable, enable, entrySet, get, getContent, getMetadata, isDisabled, isEmpty, isNameChangeAllowed, keySet, put, putAll, refresh, remove, remove, size, update, update, validate, values
getName, getPath, getService, getTitle, getUpdated, invalidate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
public String[] getCapabilities()
public String getDefaultApp()
public String[] getImportedCapabilities()
public String[] getImportedRoles()
public int getImportedRtSearchJobsQuota()
getImportedRealTimeSearchJobsQuota()
instead.public int getImportedRealTimeSearchJobsQuota()
public int getImportedSearchDiskQuota()
public String getImportedSearchFilter()
OR
.public String[] getImportedIndexesAllowed()
public String[] getImportedIndexesDefault()
public int getImportedSearchJobsQuota()
public int getImportedSearchTimeWindow()
public int getRtSearchJobsQuota()
getRealTimeSearchJobsQuota()
instead.public int getRealTimeSearchJobsQuota()
public int getSearchDiskQuota()
public String getSearchFilter()
public String[] getSearchIndexesAllowed()
public String[] getSearchIndexesDefault()
public int getSearchJobsQuota()
public int getSearchTimeWin()
getSearchTimeWindow()
instead.public int getSearchTimeWindow()
public void setCapabilities(String[] capabilities)
capabilities
- An array of capabilities.public void setCapabilities(String capability)
capability
- The capability to set.public void setDefaultApp(String defaultApp)
defaultApp
- The default app (the name of the folder that contains
the app).public void setImportedRoles(String[] importedRoles)
Default Splunk roles are:
You also can specify additional roles that have been created.
importedRoles
- An array of roles from which to import attributes.public void setImportedRoles(String importedRole)
Importing other roles imports all aspects of that role, such as capabilities and allowed indexes to search.
Default Splunk roles are:
You also can specify additional roles that have been created.
importedRole
- A role from which to import attributes.public void setRealTimeSearchJobsQuota(int numJobs)
numJobs
- The maximum number of real-time search jobs.public void setSearchDiskQuota(int srchDiskQuota)
srchDiskQuota
- The maximum disk space to allocate, in megabytes.public void setSearchFilter(String srchFilter)
OR
.srchFilter
- The restrictive search string.public void setSearchIndexesAllowed(String[] indexesAllowed)
indexesAllowed
- An array of allowed indexes.public void setSearchIndexesAllowed(String indexAllowed)
indexAllowed
- The allowed index.public void setSearchIndexesDefault(String[] srchIndexesDefault)
srchIndexesDefault
- An array of default indexes.public void setSearchIndexesDefault(String srchIndexDefault)
srchIndexDefault
- The default index.public void setSearchJobsQuota(int srchJobsQuota)
srchJobsQuota
- The maximum number of concurrent jobs.public void setSearchTimeWindow(int srchTimeWin)
srchTimeWin
- The maximum time span of a search, in seconds.Copyright © 2022 Splunk, Inc.. All rights reserved.