splunk.AuthorizationRoles
Explore with Pulumi AI
# Resource: splunk.AuthorizationRoles
Create and update role information.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as splunk from "@pulumi/splunk";
const role01 = new splunk.AuthorizationRoles("role01", {
name: "terraform-user01-role",
defaultApp: "search",
importedRoles: [
"power",
"user",
],
capabilities: [
"accelerate_datamodel",
"change_authentication",
"restart_splunkd",
],
searchIndexesAlloweds: [
"_audit",
"_internal",
"main",
],
searchIndexesDefaults: [
"_audit",
"_internal",
"main",
],
});
import pulumi
import pulumi_splunk as splunk
role01 = splunk.AuthorizationRoles("role01",
name="terraform-user01-role",
default_app="search",
imported_roles=[
"power",
"user",
],
capabilities=[
"accelerate_datamodel",
"change_authentication",
"restart_splunkd",
],
search_indexes_alloweds=[
"_audit",
"_internal",
"main",
],
search_indexes_defaults=[
"_audit",
"_internal",
"main",
])
package main
import (
"github.com/pulumi/pulumi-splunk/sdk/go/splunk"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := splunk.NewAuthorizationRoles(ctx, "role01", &splunk.AuthorizationRolesArgs{
Name: pulumi.String("terraform-user01-role"),
DefaultApp: pulumi.String("search"),
ImportedRoles: pulumi.StringArray{
pulumi.String("power"),
pulumi.String("user"),
},
Capabilities: pulumi.StringArray{
pulumi.String("accelerate_datamodel"),
pulumi.String("change_authentication"),
pulumi.String("restart_splunkd"),
},
SearchIndexesAlloweds: pulumi.StringArray{
pulumi.String("_audit"),
pulumi.String("_internal"),
pulumi.String("main"),
},
SearchIndexesDefaults: pulumi.StringArray{
pulumi.String("_audit"),
pulumi.String("_internal"),
pulumi.String("main"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Splunk = Pulumi.Splunk;
return await Deployment.RunAsync(() =>
{
var role01 = new Splunk.AuthorizationRoles("role01", new()
{
Name = "terraform-user01-role",
DefaultApp = "search",
ImportedRoles = new[]
{
"power",
"user",
},
Capabilities = new[]
{
"accelerate_datamodel",
"change_authentication",
"restart_splunkd",
},
SearchIndexesAlloweds = new[]
{
"_audit",
"_internal",
"main",
},
SearchIndexesDefaults = new[]
{
"_audit",
"_internal",
"main",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.splunk.AuthorizationRoles;
import com.pulumi.splunk.AuthorizationRolesArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var role01 = new AuthorizationRoles("role01", AuthorizationRolesArgs.builder()
.name("terraform-user01-role")
.defaultApp("search")
.importedRoles(
"power",
"user")
.capabilities(
"accelerate_datamodel",
"change_authentication",
"restart_splunkd")
.searchIndexesAlloweds(
"_audit",
"_internal",
"main")
.searchIndexesDefaults(
"_audit",
"_internal",
"main")
.build());
}
}
resources:
role01:
type: splunk:AuthorizationRoles
properties:
name: terraform-user01-role
defaultApp: search
importedRoles:
- power
- user
capabilities:
- accelerate_datamodel
- change_authentication
- restart_splunkd
searchIndexesAlloweds:
- _audit
- _internal
- main
searchIndexesDefaults:
- _audit
- _internal
- main
Create AuthorizationRoles Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AuthorizationRoles(name: string, args?: AuthorizationRolesArgs, opts?: CustomResourceOptions);
@overload
def AuthorizationRoles(resource_name: str,
args: Optional[AuthorizationRolesArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def AuthorizationRoles(resource_name: str,
opts: Optional[ResourceOptions] = None,
capabilities: Optional[Sequence[str]] = None,
cumulative_realtime_search_jobs_quota: Optional[int] = None,
cumulative_search_jobs_quota: Optional[int] = None,
default_app: Optional[str] = None,
imported_roles: Optional[Sequence[str]] = None,
name: Optional[str] = None,
realtime_search_jobs_quota: Optional[int] = None,
search_disk_quota: Optional[int] = None,
search_filter: Optional[str] = None,
search_indexes_alloweds: Optional[Sequence[str]] = None,
search_indexes_defaults: Optional[Sequence[str]] = None,
search_jobs_quota: Optional[int] = None,
search_time_win: Optional[int] = None)
func NewAuthorizationRoles(ctx *Context, name string, args *AuthorizationRolesArgs, opts ...ResourceOption) (*AuthorizationRoles, error)
public AuthorizationRoles(string name, AuthorizationRolesArgs? args = null, CustomResourceOptions? opts = null)
public AuthorizationRoles(String name, AuthorizationRolesArgs args)
public AuthorizationRoles(String name, AuthorizationRolesArgs args, CustomResourceOptions options)
type: splunk:AuthorizationRoles
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args AuthorizationRolesArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args AuthorizationRolesArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args AuthorizationRolesArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AuthorizationRolesArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AuthorizationRolesArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var authorizationRolesResource = new Splunk.AuthorizationRoles("authorizationRolesResource", new()
{
Capabilities = new[]
{
"string",
},
CumulativeRealtimeSearchJobsQuota = 0,
CumulativeSearchJobsQuota = 0,
DefaultApp = "string",
ImportedRoles = new[]
{
"string",
},
Name = "string",
RealtimeSearchJobsQuota = 0,
SearchDiskQuota = 0,
SearchFilter = "string",
SearchIndexesAlloweds = new[]
{
"string",
},
SearchIndexesDefaults = new[]
{
"string",
},
SearchJobsQuota = 0,
SearchTimeWin = 0,
});
example, err := splunk.NewAuthorizationRoles(ctx, "authorizationRolesResource", &splunk.AuthorizationRolesArgs{
Capabilities: pulumi.StringArray{
pulumi.String("string"),
},
CumulativeRealtimeSearchJobsQuota: pulumi.Int(0),
CumulativeSearchJobsQuota: pulumi.Int(0),
DefaultApp: pulumi.String("string"),
ImportedRoles: pulumi.StringArray{
pulumi.String("string"),
},
Name: pulumi.String("string"),
RealtimeSearchJobsQuota: pulumi.Int(0),
SearchDiskQuota: pulumi.Int(0),
SearchFilter: pulumi.String("string"),
SearchIndexesAlloweds: pulumi.StringArray{
pulumi.String("string"),
},
SearchIndexesDefaults: pulumi.StringArray{
pulumi.String("string"),
},
SearchJobsQuota: pulumi.Int(0),
SearchTimeWin: pulumi.Int(0),
})
var authorizationRolesResource = new AuthorizationRoles("authorizationRolesResource", AuthorizationRolesArgs.builder()
.capabilities("string")
.cumulativeRealtimeSearchJobsQuota(0)
.cumulativeSearchJobsQuota(0)
.defaultApp("string")
.importedRoles("string")
.name("string")
.realtimeSearchJobsQuota(0)
.searchDiskQuota(0)
.searchFilter("string")
.searchIndexesAlloweds("string")
.searchIndexesDefaults("string")
.searchJobsQuota(0)
.searchTimeWin(0)
.build());
authorization_roles_resource = splunk.AuthorizationRoles("authorizationRolesResource",
capabilities=["string"],
cumulative_realtime_search_jobs_quota=0,
cumulative_search_jobs_quota=0,
default_app="string",
imported_roles=["string"],
name="string",
realtime_search_jobs_quota=0,
search_disk_quota=0,
search_filter="string",
search_indexes_alloweds=["string"],
search_indexes_defaults=["string"],
search_jobs_quota=0,
search_time_win=0)
const authorizationRolesResource = new splunk.AuthorizationRoles("authorizationRolesResource", {
capabilities: ["string"],
cumulativeRealtimeSearchJobsQuota: 0,
cumulativeSearchJobsQuota: 0,
defaultApp: "string",
importedRoles: ["string"],
name: "string",
realtimeSearchJobsQuota: 0,
searchDiskQuota: 0,
searchFilter: "string",
searchIndexesAlloweds: ["string"],
searchIndexesDefaults: ["string"],
searchJobsQuota: 0,
searchTimeWin: 0,
});
type: splunk:AuthorizationRoles
properties:
capabilities:
- string
cumulativeRealtimeSearchJobsQuota: 0
cumulativeSearchJobsQuota: 0
defaultApp: string
importedRoles:
- string
name: string
realtimeSearchJobsQuota: 0
searchDiskQuota: 0
searchFilter: string
searchIndexesAlloweds:
- string
searchIndexesDefaults:
- string
searchJobsQuota: 0
searchTimeWin: 0
AuthorizationRoles Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The AuthorizationRoles resource accepts the following input properties:
- Capabilities List<string>
- List of capabilities assigned to role.
- Cumulative
Realtime intSearch Jobs Quota - Maximum number of concurrently running real-time searches that all members of this role can have.
- Cumulative
Search intJobs Quota - Maximum number of concurrently running searches for all role members. Warning message logged when limit is reached.
- Default
App string - Specify the folder name of the default app to use for this role. A user-specific default app overrides this.
- Imported
Roles List<string> - List of imported roles for this role. Importing other roles imports all aspects of that role, such as capabilities and allowed indexes to search. In combining multiple roles, the effective value for each attribute is value with the broadest permissions.
- Name string
- The name of the user role to create.
- Realtime
Search intJobs Quota - Specify the maximum number of concurrent real-time search jobs for this role. This count is independent from the normal search jobs limit.
- Search
Disk intQuota - Specifies the maximum disk space in MB that can be used by a user's search jobs. For example, a value of 100 limits this role to 100 MB total.
- Search
Filter string - Specify a search string that restricts the scope of searches run by this role. Search results for this role only show events that also match the search string you specify. In the case that a user has multiple roles with different search filters, they are combined with an OR.
- Search
Indexes List<string>Alloweds - List of indexes that this role has permissions to search. These may be wildcarded, but the index name must begin with an underscore to match internal indexes.
- Search
Indexes List<string>Defaults - List of indexes to search when no index is specified. These indexes can be wildcarded, with the exception that '' does not match internal indexes. To match internal indexes, start with ''. All internal indexes are represented by ''. A user with this role can search other indexes using "index= "
- Search
Jobs intQuota - The maximum number of concurrent searches a user with this role is allowed to run. For users with multiple roles, the maximum quota value among all of the roles applies.
- Search
Time intWin - Maximum time span of a search, in seconds. By default, searches are not limited to any specific time window. To override any search time windows from imported roles, set srchTimeWin to '0', as the 'admin' role does.
- Capabilities []string
- List of capabilities assigned to role.
- Cumulative
Realtime intSearch Jobs Quota - Maximum number of concurrently running real-time searches that all members of this role can have.
- Cumulative
Search intJobs Quota - Maximum number of concurrently running searches for all role members. Warning message logged when limit is reached.
- Default
App string - Specify the folder name of the default app to use for this role. A user-specific default app overrides this.
- Imported
Roles []string - List of imported roles for this role. Importing other roles imports all aspects of that role, such as capabilities and allowed indexes to search. In combining multiple roles, the effective value for each attribute is value with the broadest permissions.
- Name string
- The name of the user role to create.
- Realtime
Search intJobs Quota - Specify the maximum number of concurrent real-time search jobs for this role. This count is independent from the normal search jobs limit.
- Search
Disk intQuota - Specifies the maximum disk space in MB that can be used by a user's search jobs. For example, a value of 100 limits this role to 100 MB total.
- Search
Filter string - Specify a search string that restricts the scope of searches run by this role. Search results for this role only show events that also match the search string you specify. In the case that a user has multiple roles with different search filters, they are combined with an OR.
- Search
Indexes []stringAlloweds - List of indexes that this role has permissions to search. These may be wildcarded, but the index name must begin with an underscore to match internal indexes.
- Search
Indexes []stringDefaults - List of indexes to search when no index is specified. These indexes can be wildcarded, with the exception that '' does not match internal indexes. To match internal indexes, start with ''. All internal indexes are represented by ''. A user with this role can search other indexes using "index= "
- Search
Jobs intQuota - The maximum number of concurrent searches a user with this role is allowed to run. For users with multiple roles, the maximum quota value among all of the roles applies.
- Search
Time intWin - Maximum time span of a search, in seconds. By default, searches are not limited to any specific time window. To override any search time windows from imported roles, set srchTimeWin to '0', as the 'admin' role does.
- capabilities List<String>
- List of capabilities assigned to role.
- cumulative
Realtime IntegerSearch Jobs Quota - Maximum number of concurrently running real-time searches that all members of this role can have.
- cumulative
Search IntegerJobs Quota - Maximum number of concurrently running searches for all role members. Warning message logged when limit is reached.
- default
App String - Specify the folder name of the default app to use for this role. A user-specific default app overrides this.
- imported
Roles List<String> - List of imported roles for this role. Importing other roles imports all aspects of that role, such as capabilities and allowed indexes to search. In combining multiple roles, the effective value for each attribute is value with the broadest permissions.
- name String
- The name of the user role to create.
- realtime
Search IntegerJobs Quota - Specify the maximum number of concurrent real-time search jobs for this role. This count is independent from the normal search jobs limit.
- search
Disk IntegerQuota - Specifies the maximum disk space in MB that can be used by a user's search jobs. For example, a value of 100 limits this role to 100 MB total.
- search
Filter String - Specify a search string that restricts the scope of searches run by this role. Search results for this role only show events that also match the search string you specify. In the case that a user has multiple roles with different search filters, they are combined with an OR.
- search
Indexes List<String>Alloweds - List of indexes that this role has permissions to search. These may be wildcarded, but the index name must begin with an underscore to match internal indexes.
- search
Indexes List<String>Defaults - List of indexes to search when no index is specified. These indexes can be wildcarded, with the exception that '' does not match internal indexes. To match internal indexes, start with ''. All internal indexes are represented by ''. A user with this role can search other indexes using "index= "
- search
Jobs IntegerQuota - The maximum number of concurrent searches a user with this role is allowed to run. For users with multiple roles, the maximum quota value among all of the roles applies.
- search
Time IntegerWin - Maximum time span of a search, in seconds. By default, searches are not limited to any specific time window. To override any search time windows from imported roles, set srchTimeWin to '0', as the 'admin' role does.
- capabilities string[]
- List of capabilities assigned to role.
- cumulative
Realtime numberSearch Jobs Quota - Maximum number of concurrently running real-time searches that all members of this role can have.
- cumulative
Search numberJobs Quota - Maximum number of concurrently running searches for all role members. Warning message logged when limit is reached.
- default
App string - Specify the folder name of the default app to use for this role. A user-specific default app overrides this.
- imported
Roles string[] - List of imported roles for this role. Importing other roles imports all aspects of that role, such as capabilities and allowed indexes to search. In combining multiple roles, the effective value for each attribute is value with the broadest permissions.
- name string
- The name of the user role to create.
- realtime
Search numberJobs Quota - Specify the maximum number of concurrent real-time search jobs for this role. This count is independent from the normal search jobs limit.
- search
Disk numberQuota - Specifies the maximum disk space in MB that can be used by a user's search jobs. For example, a value of 100 limits this role to 100 MB total.
- search
Filter string - Specify a search string that restricts the scope of searches run by this role. Search results for this role only show events that also match the search string you specify. In the case that a user has multiple roles with different search filters, they are combined with an OR.
- search
Indexes string[]Alloweds - List of indexes that this role has permissions to search. These may be wildcarded, but the index name must begin with an underscore to match internal indexes.
- search
Indexes string[]Defaults - List of indexes to search when no index is specified. These indexes can be wildcarded, with the exception that '' does not match internal indexes. To match internal indexes, start with ''. All internal indexes are represented by ''. A user with this role can search other indexes using "index= "
- search
Jobs numberQuota - The maximum number of concurrent searches a user with this role is allowed to run. For users with multiple roles, the maximum quota value among all of the roles applies.
- search
Time numberWin - Maximum time span of a search, in seconds. By default, searches are not limited to any specific time window. To override any search time windows from imported roles, set srchTimeWin to '0', as the 'admin' role does.
- capabilities Sequence[str]
- List of capabilities assigned to role.
- cumulative_
realtime_ intsearch_ jobs_ quota - Maximum number of concurrently running real-time searches that all members of this role can have.
- cumulative_
search_ intjobs_ quota - Maximum number of concurrently running searches for all role members. Warning message logged when limit is reached.
- default_
app str - Specify the folder name of the default app to use for this role. A user-specific default app overrides this.
- imported_
roles Sequence[str] - List of imported roles for this role. Importing other roles imports all aspects of that role, such as capabilities and allowed indexes to search. In combining multiple roles, the effective value for each attribute is value with the broadest permissions.
- name str
- The name of the user role to create.
- realtime_
search_ intjobs_ quota - Specify the maximum number of concurrent real-time search jobs for this role. This count is independent from the normal search jobs limit.
- search_
disk_ intquota - Specifies the maximum disk space in MB that can be used by a user's search jobs. For example, a value of 100 limits this role to 100 MB total.
- search_
filter str - Specify a search string that restricts the scope of searches run by this role. Search results for this role only show events that also match the search string you specify. In the case that a user has multiple roles with different search filters, they are combined with an OR.
- search_
indexes_ Sequence[str]alloweds - List of indexes that this role has permissions to search. These may be wildcarded, but the index name must begin with an underscore to match internal indexes.
- search_
indexes_ Sequence[str]defaults - List of indexes to search when no index is specified. These indexes can be wildcarded, with the exception that '' does not match internal indexes. To match internal indexes, start with ''. All internal indexes are represented by ''. A user with this role can search other indexes using "index= "
- search_
jobs_ intquota - The maximum number of concurrent searches a user with this role is allowed to run. For users with multiple roles, the maximum quota value among all of the roles applies.
- search_
time_ intwin - Maximum time span of a search, in seconds. By default, searches are not limited to any specific time window. To override any search time windows from imported roles, set srchTimeWin to '0', as the 'admin' role does.
- capabilities List<String>
- List of capabilities assigned to role.
- cumulative
Realtime NumberSearch Jobs Quota - Maximum number of concurrently running real-time searches that all members of this role can have.
- cumulative
Search NumberJobs Quota - Maximum number of concurrently running searches for all role members. Warning message logged when limit is reached.
- default
App String - Specify the folder name of the default app to use for this role. A user-specific default app overrides this.
- imported
Roles List<String> - List of imported roles for this role. Importing other roles imports all aspects of that role, such as capabilities and allowed indexes to search. In combining multiple roles, the effective value for each attribute is value with the broadest permissions.
- name String
- The name of the user role to create.
- realtime
Search NumberJobs Quota - Specify the maximum number of concurrent real-time search jobs for this role. This count is independent from the normal search jobs limit.
- search
Disk NumberQuota - Specifies the maximum disk space in MB that can be used by a user's search jobs. For example, a value of 100 limits this role to 100 MB total.
- search
Filter String - Specify a search string that restricts the scope of searches run by this role. Search results for this role only show events that also match the search string you specify. In the case that a user has multiple roles with different search filters, they are combined with an OR.
- search
Indexes List<String>Alloweds - List of indexes that this role has permissions to search. These may be wildcarded, but the index name must begin with an underscore to match internal indexes.
- search
Indexes List<String>Defaults - List of indexes to search when no index is specified. These indexes can be wildcarded, with the exception that '' does not match internal indexes. To match internal indexes, start with ''. All internal indexes are represented by ''. A user with this role can search other indexes using "index= "
- search
Jobs NumberQuota - The maximum number of concurrent searches a user with this role is allowed to run. For users with multiple roles, the maximum quota value among all of the roles applies.
- search
Time NumberWin - Maximum time span of a search, in seconds. By default, searches are not limited to any specific time window. To override any search time windows from imported roles, set srchTimeWin to '0', as the 'admin' role does.
Outputs
All input properties are implicitly available as output properties. Additionally, the AuthorizationRoles resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing AuthorizationRoles Resource
Get an existing AuthorizationRoles resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: AuthorizationRolesState, opts?: CustomResourceOptions): AuthorizationRoles
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
capabilities: Optional[Sequence[str]] = None,
cumulative_realtime_search_jobs_quota: Optional[int] = None,
cumulative_search_jobs_quota: Optional[int] = None,
default_app: Optional[str] = None,
imported_roles: Optional[Sequence[str]] = None,
name: Optional[str] = None,
realtime_search_jobs_quota: Optional[int] = None,
search_disk_quota: Optional[int] = None,
search_filter: Optional[str] = None,
search_indexes_alloweds: Optional[Sequence[str]] = None,
search_indexes_defaults: Optional[Sequence[str]] = None,
search_jobs_quota: Optional[int] = None,
search_time_win: Optional[int] = None) -> AuthorizationRoles
func GetAuthorizationRoles(ctx *Context, name string, id IDInput, state *AuthorizationRolesState, opts ...ResourceOption) (*AuthorizationRoles, error)
public static AuthorizationRoles Get(string name, Input<string> id, AuthorizationRolesState? state, CustomResourceOptions? opts = null)
public static AuthorizationRoles get(String name, Output<String> id, AuthorizationRolesState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Capabilities List<string>
- List of capabilities assigned to role.
- Cumulative
Realtime intSearch Jobs Quota - Maximum number of concurrently running real-time searches that all members of this role can have.
- Cumulative
Search intJobs Quota - Maximum number of concurrently running searches for all role members. Warning message logged when limit is reached.
- Default
App string - Specify the folder name of the default app to use for this role. A user-specific default app overrides this.
- Imported
Roles List<string> - List of imported roles for this role. Importing other roles imports all aspects of that role, such as capabilities and allowed indexes to search. In combining multiple roles, the effective value for each attribute is value with the broadest permissions.
- Name string
- The name of the user role to create.
- Realtime
Search intJobs Quota - Specify the maximum number of concurrent real-time search jobs for this role. This count is independent from the normal search jobs limit.
- Search
Disk intQuota - Specifies the maximum disk space in MB that can be used by a user's search jobs. For example, a value of 100 limits this role to 100 MB total.
- Search
Filter string - Specify a search string that restricts the scope of searches run by this role. Search results for this role only show events that also match the search string you specify. In the case that a user has multiple roles with different search filters, they are combined with an OR.
- Search
Indexes List<string>Alloweds - List of indexes that this role has permissions to search. These may be wildcarded, but the index name must begin with an underscore to match internal indexes.
- Search
Indexes List<string>Defaults - List of indexes to search when no index is specified. These indexes can be wildcarded, with the exception that '' does not match internal indexes. To match internal indexes, start with ''. All internal indexes are represented by ''. A user with this role can search other indexes using "index= "
- Search
Jobs intQuota - The maximum number of concurrent searches a user with this role is allowed to run. For users with multiple roles, the maximum quota value among all of the roles applies.
- Search
Time intWin - Maximum time span of a search, in seconds. By default, searches are not limited to any specific time window. To override any search time windows from imported roles, set srchTimeWin to '0', as the 'admin' role does.
- Capabilities []string
- List of capabilities assigned to role.
- Cumulative
Realtime intSearch Jobs Quota - Maximum number of concurrently running real-time searches that all members of this role can have.
- Cumulative
Search intJobs Quota - Maximum number of concurrently running searches for all role members. Warning message logged when limit is reached.
- Default
App string - Specify the folder name of the default app to use for this role. A user-specific default app overrides this.
- Imported
Roles []string - List of imported roles for this role. Importing other roles imports all aspects of that role, such as capabilities and allowed indexes to search. In combining multiple roles, the effective value for each attribute is value with the broadest permissions.
- Name string
- The name of the user role to create.
- Realtime
Search intJobs Quota - Specify the maximum number of concurrent real-time search jobs for this role. This count is independent from the normal search jobs limit.
- Search
Disk intQuota - Specifies the maximum disk space in MB that can be used by a user's search jobs. For example, a value of 100 limits this role to 100 MB total.
- Search
Filter string - Specify a search string that restricts the scope of searches run by this role. Search results for this role only show events that also match the search string you specify. In the case that a user has multiple roles with different search filters, they are combined with an OR.
- Search
Indexes []stringAlloweds - List of indexes that this role has permissions to search. These may be wildcarded, but the index name must begin with an underscore to match internal indexes.
- Search
Indexes []stringDefaults - List of indexes to search when no index is specified. These indexes can be wildcarded, with the exception that '' does not match internal indexes. To match internal indexes, start with ''. All internal indexes are represented by ''. A user with this role can search other indexes using "index= "
- Search
Jobs intQuota - The maximum number of concurrent searches a user with this role is allowed to run. For users with multiple roles, the maximum quota value among all of the roles applies.
- Search
Time intWin - Maximum time span of a search, in seconds. By default, searches are not limited to any specific time window. To override any search time windows from imported roles, set srchTimeWin to '0', as the 'admin' role does.
- capabilities List<String>
- List of capabilities assigned to role.
- cumulative
Realtime IntegerSearch Jobs Quota - Maximum number of concurrently running real-time searches that all members of this role can have.
- cumulative
Search IntegerJobs Quota - Maximum number of concurrently running searches for all role members. Warning message logged when limit is reached.
- default
App String - Specify the folder name of the default app to use for this role. A user-specific default app overrides this.
- imported
Roles List<String> - List of imported roles for this role. Importing other roles imports all aspects of that role, such as capabilities and allowed indexes to search. In combining multiple roles, the effective value for each attribute is value with the broadest permissions.
- name String
- The name of the user role to create.
- realtime
Search IntegerJobs Quota - Specify the maximum number of concurrent real-time search jobs for this role. This count is independent from the normal search jobs limit.
- search
Disk IntegerQuota - Specifies the maximum disk space in MB that can be used by a user's search jobs. For example, a value of 100 limits this role to 100 MB total.
- search
Filter String - Specify a search string that restricts the scope of searches run by this role. Search results for this role only show events that also match the search string you specify. In the case that a user has multiple roles with different search filters, they are combined with an OR.
- search
Indexes List<String>Alloweds - List of indexes that this role has permissions to search. These may be wildcarded, but the index name must begin with an underscore to match internal indexes.
- search
Indexes List<String>Defaults - List of indexes to search when no index is specified. These indexes can be wildcarded, with the exception that '' does not match internal indexes. To match internal indexes, start with ''. All internal indexes are represented by ''. A user with this role can search other indexes using "index= "
- search
Jobs IntegerQuota - The maximum number of concurrent searches a user with this role is allowed to run. For users with multiple roles, the maximum quota value among all of the roles applies.
- search
Time IntegerWin - Maximum time span of a search, in seconds. By default, searches are not limited to any specific time window. To override any search time windows from imported roles, set srchTimeWin to '0', as the 'admin' role does.
- capabilities string[]
- List of capabilities assigned to role.
- cumulative
Realtime numberSearch Jobs Quota - Maximum number of concurrently running real-time searches that all members of this role can have.
- cumulative
Search numberJobs Quota - Maximum number of concurrently running searches for all role members. Warning message logged when limit is reached.
- default
App string - Specify the folder name of the default app to use for this role. A user-specific default app overrides this.
- imported
Roles string[] - List of imported roles for this role. Importing other roles imports all aspects of that role, such as capabilities and allowed indexes to search. In combining multiple roles, the effective value for each attribute is value with the broadest permissions.
- name string
- The name of the user role to create.
- realtime
Search numberJobs Quota - Specify the maximum number of concurrent real-time search jobs for this role. This count is independent from the normal search jobs limit.
- search
Disk numberQuota - Specifies the maximum disk space in MB that can be used by a user's search jobs. For example, a value of 100 limits this role to 100 MB total.
- search
Filter string - Specify a search string that restricts the scope of searches run by this role. Search results for this role only show events that also match the search string you specify. In the case that a user has multiple roles with different search filters, they are combined with an OR.
- search
Indexes string[]Alloweds - List of indexes that this role has permissions to search. These may be wildcarded, but the index name must begin with an underscore to match internal indexes.
- search
Indexes string[]Defaults - List of indexes to search when no index is specified. These indexes can be wildcarded, with the exception that '' does not match internal indexes. To match internal indexes, start with ''. All internal indexes are represented by ''. A user with this role can search other indexes using "index= "
- search
Jobs numberQuota - The maximum number of concurrent searches a user with this role is allowed to run. For users with multiple roles, the maximum quota value among all of the roles applies.
- search
Time numberWin - Maximum time span of a search, in seconds. By default, searches are not limited to any specific time window. To override any search time windows from imported roles, set srchTimeWin to '0', as the 'admin' role does.
- capabilities Sequence[str]
- List of capabilities assigned to role.
- cumulative_
realtime_ intsearch_ jobs_ quota - Maximum number of concurrently running real-time searches that all members of this role can have.
- cumulative_
search_ intjobs_ quota - Maximum number of concurrently running searches for all role members. Warning message logged when limit is reached.
- default_
app str - Specify the folder name of the default app to use for this role. A user-specific default app overrides this.
- imported_
roles Sequence[str] - List of imported roles for this role. Importing other roles imports all aspects of that role, such as capabilities and allowed indexes to search. In combining multiple roles, the effective value for each attribute is value with the broadest permissions.
- name str
- The name of the user role to create.
- realtime_
search_ intjobs_ quota - Specify the maximum number of concurrent real-time search jobs for this role. This count is independent from the normal search jobs limit.
- search_
disk_ intquota - Specifies the maximum disk space in MB that can be used by a user's search jobs. For example, a value of 100 limits this role to 100 MB total.
- search_
filter str - Specify a search string that restricts the scope of searches run by this role. Search results for this role only show events that also match the search string you specify. In the case that a user has multiple roles with different search filters, they are combined with an OR.
- search_
indexes_ Sequence[str]alloweds - List of indexes that this role has permissions to search. These may be wildcarded, but the index name must begin with an underscore to match internal indexes.
- search_
indexes_ Sequence[str]defaults - List of indexes to search when no index is specified. These indexes can be wildcarded, with the exception that '' does not match internal indexes. To match internal indexes, start with ''. All internal indexes are represented by ''. A user with this role can search other indexes using "index= "
- search_
jobs_ intquota - The maximum number of concurrent searches a user with this role is allowed to run. For users with multiple roles, the maximum quota value among all of the roles applies.
- search_
time_ intwin - Maximum time span of a search, in seconds. By default, searches are not limited to any specific time window. To override any search time windows from imported roles, set srchTimeWin to '0', as the 'admin' role does.
- capabilities List<String>
- List of capabilities assigned to role.
- cumulative
Realtime NumberSearch Jobs Quota - Maximum number of concurrently running real-time searches that all members of this role can have.
- cumulative
Search NumberJobs Quota - Maximum number of concurrently running searches for all role members. Warning message logged when limit is reached.
- default
App String - Specify the folder name of the default app to use for this role. A user-specific default app overrides this.
- imported
Roles List<String> - List of imported roles for this role. Importing other roles imports all aspects of that role, such as capabilities and allowed indexes to search. In combining multiple roles, the effective value for each attribute is value with the broadest permissions.
- name String
- The name of the user role to create.
- realtime
Search NumberJobs Quota - Specify the maximum number of concurrent real-time search jobs for this role. This count is independent from the normal search jobs limit.
- search
Disk NumberQuota - Specifies the maximum disk space in MB that can be used by a user's search jobs. For example, a value of 100 limits this role to 100 MB total.
- search
Filter String - Specify a search string that restricts the scope of searches run by this role. Search results for this role only show events that also match the search string you specify. In the case that a user has multiple roles with different search filters, they are combined with an OR.
- search
Indexes List<String>Alloweds - List of indexes that this role has permissions to search. These may be wildcarded, but the index name must begin with an underscore to match internal indexes.
- search
Indexes List<String>Defaults - List of indexes to search when no index is specified. These indexes can be wildcarded, with the exception that '' does not match internal indexes. To match internal indexes, start with ''. All internal indexes are represented by ''. A user with this role can search other indexes using "index= "
- search
Jobs NumberQuota - The maximum number of concurrent searches a user with this role is allowed to run. For users with multiple roles, the maximum quota value among all of the roles applies.
- search
Time NumberWin - Maximum time span of a search, in seconds. By default, searches are not limited to any specific time window. To override any search time windows from imported roles, set srchTimeWin to '0', as the 'admin' role does.
Package Details
- Repository
- Splunk pulumi/pulumi-splunk
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
splunk
Terraform Provider.