published on Wednesday, Nov 11, 2026 by sumologic
published on Wednesday, Nov 11, 2026 by sumologic
Sets the Sumologic Policies. Since each policy is global for the entire organization, please ensure that only a single instance of this resource is defined. The behavior for defining more than one policies resource is undefined.
The six policies marked Required below are always managed by this resource. The OAuth Clients, Unused Access Keys and Access Keys Expiration policies are optional: leave them out to keep their current value.
The following policies are supported:
- Audit Policy
- Data Access Level Policy
- Maximum Web Session Timeout Policy
- Search Audit Policy
- Share a Dashboard Outside Organization Policy
- User Concurrent Sessions Limit Policy
- OAuth Clients Policy (Client ID Metadata Documents, CIMD)
- Unused Access Keys Deactivation Policy
- Access Keys Expiration Policy
Example Usage
Defaults
Every required argument at the value Sumo Logic uses when the resource is destroyed.
import * as pulumi from "@pulumi/pulumi";
import * as sumologic from "@pulumi/sumologic";
const defaults = new sumologic.Policies("defaults", {
audit: false,
dataAccessLevel: false,
maxUserSessionTimeout: "7d",
searchAudit: false,
shareDashboardsOutsideOrganization: false,
userConcurrentSessionsLimit: {
enabled: false,
},
});
import pulumi
import pulumi_sumologic as sumologic
defaults = sumologic.Policies("defaults",
audit=False,
data_access_level=False,
max_user_session_timeout="7d",
search_audit=False,
share_dashboards_outside_organization=False,
user_concurrent_sessions_limit={
"enabled": False,
})
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/sumologic/v3/sumologic"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := sumologic.NewPolicies(ctx, "defaults", &sumologic.PoliciesArgs{
Audit: pulumi.Bool(false),
DataAccessLevel: pulumi.Bool(false),
MaxUserSessionTimeout: pulumi.String("7d"),
SearchAudit: pulumi.Bool(false),
ShareDashboardsOutsideOrganization: pulumi.Bool(false),
UserConcurrentSessionsLimit: &sumologic.PoliciesUserConcurrentSessionsLimitArgs{
Enabled: pulumi.Bool(false),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Sumologic = Pulumi.Sumologic;
return await Deployment.RunAsync(() =>
{
var defaults = new Sumologic.Policies("defaults", new()
{
Audit = false,
DataAccessLevel = false,
MaxUserSessionTimeout = "7d",
SearchAudit = false,
ShareDashboardsOutsideOrganization = false,
UserConcurrentSessionsLimit = new Sumologic.Inputs.PoliciesUserConcurrentSessionsLimitArgs
{
Enabled = false,
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.sumologic.Policies;
import com.pulumi.sumologic.PoliciesArgs;
import com.pulumi.sumologic.inputs.PoliciesUserConcurrentSessionsLimitArgs;
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 defaults = new Policies("defaults", PoliciesArgs.builder()
.audit(false)
.dataAccessLevel(false)
.maxUserSessionTimeout("7d")
.searchAudit(false)
.shareDashboardsOutsideOrganization(false)
.userConcurrentSessionsLimit(PoliciesUserConcurrentSessionsLimitArgs.builder()
.enabled(false)
.build())
.build());
}
}
resources:
defaults:
type: sumologic:Policies
properties:
audit: false
dataAccessLevel: false
maxUserSessionTimeout: 7d
searchAudit: false
shareDashboardsOutsideOrganization: false
userConcurrentSessionsLimit:
enabled: false
Example coming soon!
Audit and compliance
Turn on the Audit and Search Audit indexes and cap web sessions at 1 hour.
import * as pulumi from "@pulumi/pulumi";
import * as sumologic from "@pulumi/sumologic";
const compliance = new sumologic.Policies("compliance", {
audit: true,
searchAudit: true,
dataAccessLevel: true,
maxUserSessionTimeout: "1h",
shareDashboardsOutsideOrganization: false,
userConcurrentSessionsLimit: {
enabled: true,
maxConcurrentSessions: 3,
},
});
import pulumi
import pulumi_sumologic as sumologic
compliance = sumologic.Policies("compliance",
audit=True,
search_audit=True,
data_access_level=True,
max_user_session_timeout="1h",
share_dashboards_outside_organization=False,
user_concurrent_sessions_limit={
"enabled": True,
"max_concurrent_sessions": 3,
})
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/sumologic/v3/sumologic"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := sumologic.NewPolicies(ctx, "compliance", &sumologic.PoliciesArgs{
Audit: pulumi.Bool(true),
SearchAudit: pulumi.Bool(true),
DataAccessLevel: pulumi.Bool(true),
MaxUserSessionTimeout: pulumi.String("1h"),
ShareDashboardsOutsideOrganization: pulumi.Bool(false),
UserConcurrentSessionsLimit: &sumologic.PoliciesUserConcurrentSessionsLimitArgs{
Enabled: pulumi.Bool(true),
MaxConcurrentSessions: pulumi.Float64(3),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Sumologic = Pulumi.Sumologic;
return await Deployment.RunAsync(() =>
{
var compliance = new Sumologic.Policies("compliance", new()
{
Audit = true,
SearchAudit = true,
DataAccessLevel = true,
MaxUserSessionTimeout = "1h",
ShareDashboardsOutsideOrganization = false,
UserConcurrentSessionsLimit = new Sumologic.Inputs.PoliciesUserConcurrentSessionsLimitArgs
{
Enabled = true,
MaxConcurrentSessions = 3,
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.sumologic.Policies;
import com.pulumi.sumologic.PoliciesArgs;
import com.pulumi.sumologic.inputs.PoliciesUserConcurrentSessionsLimitArgs;
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 compliance = new Policies("compliance", PoliciesArgs.builder()
.audit(true)
.searchAudit(true)
.dataAccessLevel(true)
.maxUserSessionTimeout("1h")
.shareDashboardsOutsideOrganization(false)
.userConcurrentSessionsLimit(PoliciesUserConcurrentSessionsLimitArgs.builder()
.enabled(true)
.maxConcurrentSessions(3.0)
.build())
.build());
}
}
resources:
compliance:
type: sumologic:Policies
properties:
audit: true
searchAudit: true
dataAccessLevel: true
maxUserSessionTimeout: 1h
shareDashboardsOutsideOrganization: false
userConcurrentSessionsLimit:
enabled: true
maxConcurrentSessions: 3
Example coming soon!
Access key hygiene
Deactivate access keys unused for 60 days and expire all keys after 90 days.
import * as pulumi from "@pulumi/pulumi";
import * as sumologic from "@pulumi/sumologic";
const accessKeys = new sumologic.Policies("access_keys", {
audit: true,
dataAccessLevel: false,
maxUserSessionTimeout: "7d",
searchAudit: true,
shareDashboardsOutsideOrganization: false,
unusedAccessKeysDisableAfterInDays: 60,
accessKeysLifetimeInDays: "90",
userConcurrentSessionsLimit: {
enabled: false,
},
});
import pulumi
import pulumi_sumologic as sumologic
access_keys = sumologic.Policies("access_keys",
audit=True,
data_access_level=False,
max_user_session_timeout="7d",
search_audit=True,
share_dashboards_outside_organization=False,
unused_access_keys_disable_after_in_days=60,
access_keys_lifetime_in_days="90",
user_concurrent_sessions_limit={
"enabled": False,
})
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/sumologic/v3/sumologic"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := sumologic.NewPolicies(ctx, "access_keys", &sumologic.PoliciesArgs{
Audit: pulumi.Bool(true),
DataAccessLevel: pulumi.Bool(false),
MaxUserSessionTimeout: pulumi.String("7d"),
SearchAudit: pulumi.Bool(true),
ShareDashboardsOutsideOrganization: pulumi.Bool(false),
UnusedAccessKeysDisableAfterInDays: pulumi.Float64(60),
AccessKeysLifetimeInDays: pulumi.String("90"),
UserConcurrentSessionsLimit: &sumologic.PoliciesUserConcurrentSessionsLimitArgs{
Enabled: pulumi.Bool(false),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Sumologic = Pulumi.Sumologic;
return await Deployment.RunAsync(() =>
{
var accessKeys = new Sumologic.Policies("access_keys", new()
{
Audit = true,
DataAccessLevel = false,
MaxUserSessionTimeout = "7d",
SearchAudit = true,
ShareDashboardsOutsideOrganization = false,
UnusedAccessKeysDisableAfterInDays = 60,
AccessKeysLifetimeInDays = "90",
UserConcurrentSessionsLimit = new Sumologic.Inputs.PoliciesUserConcurrentSessionsLimitArgs
{
Enabled = false,
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.sumologic.Policies;
import com.pulumi.sumologic.PoliciesArgs;
import com.pulumi.sumologic.inputs.PoliciesUserConcurrentSessionsLimitArgs;
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 accessKeys = new Policies("accessKeys", PoliciesArgs.builder()
.audit(true)
.dataAccessLevel(false)
.maxUserSessionTimeout("7d")
.searchAudit(true)
.shareDashboardsOutsideOrganization(false)
.unusedAccessKeysDisableAfterInDays(60.0)
.accessKeysLifetimeInDays("90")
.userConcurrentSessionsLimit(PoliciesUserConcurrentSessionsLimitArgs.builder()
.enabled(false)
.build())
.build());
}
}
resources:
accessKeys:
type: sumologic:Policies
name: access_keys
properties:
audit: true
dataAccessLevel: false
maxUserSessionTimeout: 7d
searchAudit: true
shareDashboardsOutsideOrganization: false
unusedAccessKeysDisableAfterInDays: 60
accessKeysLifetimeInDays: '90'
userConcurrentSessionsLimit:
enabled: false
Example coming soon!
OAuth clients
Allow only OAuth clients that an administrator created manually on the OAuth Clients page.
import * as pulumi from "@pulumi/pulumi";
import * as sumologic from "@pulumi/sumologic";
const oauth = new sumologic.Policies("oauth", {
audit: true,
dataAccessLevel: false,
maxUserSessionTimeout: "7d",
searchAudit: true,
shareDashboardsOutsideOrganization: false,
oauthCimdPolicy: "enabled-pre-registered-only",
userConcurrentSessionsLimit: {
enabled: false,
},
});
import pulumi
import pulumi_sumologic as sumologic
oauth = sumologic.Policies("oauth",
audit=True,
data_access_level=False,
max_user_session_timeout="7d",
search_audit=True,
share_dashboards_outside_organization=False,
oauth_cimd_policy="enabled-pre-registered-only",
user_concurrent_sessions_limit={
"enabled": False,
})
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/sumologic/v3/sumologic"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := sumologic.NewPolicies(ctx, "oauth", &sumologic.PoliciesArgs{
Audit: pulumi.Bool(true),
DataAccessLevel: pulumi.Bool(false),
MaxUserSessionTimeout: pulumi.String("7d"),
SearchAudit: pulumi.Bool(true),
ShareDashboardsOutsideOrganization: pulumi.Bool(false),
OauthCimdPolicy: pulumi.String("enabled-pre-registered-only"),
UserConcurrentSessionsLimit: &sumologic.PoliciesUserConcurrentSessionsLimitArgs{
Enabled: pulumi.Bool(false),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Sumologic = Pulumi.Sumologic;
return await Deployment.RunAsync(() =>
{
var oauth = new Sumologic.Policies("oauth", new()
{
Audit = true,
DataAccessLevel = false,
MaxUserSessionTimeout = "7d",
SearchAudit = true,
ShareDashboardsOutsideOrganization = false,
OauthCimdPolicy = "enabled-pre-registered-only",
UserConcurrentSessionsLimit = new Sumologic.Inputs.PoliciesUserConcurrentSessionsLimitArgs
{
Enabled = false,
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.sumologic.Policies;
import com.pulumi.sumologic.PoliciesArgs;
import com.pulumi.sumologic.inputs.PoliciesUserConcurrentSessionsLimitArgs;
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 oauth = new Policies("oauth", PoliciesArgs.builder()
.audit(true)
.dataAccessLevel(false)
.maxUserSessionTimeout("7d")
.searchAudit(true)
.shareDashboardsOutsideOrganization(false)
.oauthCimdPolicy("enabled-pre-registered-only")
.userConcurrentSessionsLimit(PoliciesUserConcurrentSessionsLimitArgs.builder()
.enabled(false)
.build())
.build());
}
}
resources:
oauth:
type: sumologic:Policies
properties:
audit: true
dataAccessLevel: false
maxUserSessionTimeout: 7d
searchAudit: true
shareDashboardsOutsideOrganization: false
oauthCimdPolicy: enabled-pre-registered-only
userConcurrentSessionsLimit:
enabled: false
Example coming soon!
Create Policies Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Policies(name: string, args: PoliciesArgs, opts?: CustomResourceOptions);@overload
def Policies(resource_name: str,
args: PoliciesArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Policies(resource_name: str,
opts: Optional[ResourceOptions] = None,
audit: Optional[bool] = None,
data_access_level: Optional[bool] = None,
max_user_session_timeout: Optional[str] = None,
search_audit: Optional[bool] = None,
share_dashboards_outside_organization: Optional[bool] = None,
user_concurrent_sessions_limit: Optional[PoliciesUserConcurrentSessionsLimitArgs] = None,
access_keys_lifetime_in_days: Optional[str] = None,
oauth_cimd_policy: Optional[str] = None,
policies_id: Optional[str] = None,
unused_access_keys_disable_after_in_days: Optional[float] = None)func NewPolicies(ctx *Context, name string, args PoliciesArgs, opts ...ResourceOption) (*Policies, error)public Policies(string name, PoliciesArgs args, CustomResourceOptions? opts = null)
public Policies(String name, PoliciesArgs args)
public Policies(String name, PoliciesArgs args, CustomResourceOptions options)
type: sumologic:Policies
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "sumologic_policies" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args PoliciesArgs
- 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 PoliciesArgs
- 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 PoliciesArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PoliciesArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PoliciesArgs
- 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 policiesResource = new Sumologic.Policies("policiesResource", new()
{
Audit = false,
DataAccessLevel = false,
MaxUserSessionTimeout = "string",
SearchAudit = false,
ShareDashboardsOutsideOrganization = false,
UserConcurrentSessionsLimit = new Sumologic.Inputs.PoliciesUserConcurrentSessionsLimitArgs
{
Enabled = false,
MaxConcurrentSessions = 0.0,
},
AccessKeysLifetimeInDays = "string",
OauthCimdPolicy = "string",
PoliciesId = "string",
UnusedAccessKeysDisableAfterInDays = 0.0,
});
example, err := sumologic.NewPolicies(ctx, "policiesResource", &sumologic.PoliciesArgs{
Audit: pulumi.Bool(false),
DataAccessLevel: pulumi.Bool(false),
MaxUserSessionTimeout: pulumi.String("string"),
SearchAudit: pulumi.Bool(false),
ShareDashboardsOutsideOrganization: pulumi.Bool(false),
UserConcurrentSessionsLimit: &sumologic.PoliciesUserConcurrentSessionsLimitArgs{
Enabled: pulumi.Bool(false),
MaxConcurrentSessions: pulumi.Float64(0),
},
AccessKeysLifetimeInDays: pulumi.String("string"),
OauthCimdPolicy: pulumi.String("string"),
PoliciesId: pulumi.String("string"),
UnusedAccessKeysDisableAfterInDays: pulumi.Float64(0),
})
resource "sumologic_policies" "policiesResource" {
lifecycle {
create_before_destroy = true
}
audit = false
data_access_level = false
max_user_session_timeout = "string"
search_audit = false
share_dashboards_outside_organization = false
user_concurrent_sessions_limit = {
enabled = false
max_concurrent_sessions = 0
}
access_keys_lifetime_in_days = "string"
oauth_cimd_policy = "string"
policies_id = "string"
unused_access_keys_disable_after_in_days = 0
}
var policiesResource = new Policies("policiesResource", PoliciesArgs.builder()
.audit(false)
.dataAccessLevel(false)
.maxUserSessionTimeout("string")
.searchAudit(false)
.shareDashboardsOutsideOrganization(false)
.userConcurrentSessionsLimit(PoliciesUserConcurrentSessionsLimitArgs.builder()
.enabled(false)
.maxConcurrentSessions(0.0)
.build())
.accessKeysLifetimeInDays("string")
.oauthCimdPolicy("string")
.policiesId("string")
.unusedAccessKeysDisableAfterInDays(0.0)
.build());
policies_resource = sumologic.Policies("policiesResource",
audit=False,
data_access_level=False,
max_user_session_timeout="string",
search_audit=False,
share_dashboards_outside_organization=False,
user_concurrent_sessions_limit={
"enabled": False,
"max_concurrent_sessions": float(0),
},
access_keys_lifetime_in_days="string",
oauth_cimd_policy="string",
policies_id="string",
unused_access_keys_disable_after_in_days=float(0))
const policiesResource = new sumologic.Policies("policiesResource", {
audit: false,
dataAccessLevel: false,
maxUserSessionTimeout: "string",
searchAudit: false,
shareDashboardsOutsideOrganization: false,
userConcurrentSessionsLimit: {
enabled: false,
maxConcurrentSessions: 0,
},
accessKeysLifetimeInDays: "string",
oauthCimdPolicy: "string",
policiesId: "string",
unusedAccessKeysDisableAfterInDays: 0,
});
type: sumologic:Policies
properties:
accessKeysLifetimeInDays: string
audit: false
dataAccessLevel: false
maxUserSessionTimeout: string
oauthCimdPolicy: string
policiesId: string
searchAudit: false
shareDashboardsOutsideOrganization: false
unusedAccessKeysDisableAfterInDays: 0
userConcurrentSessionsLimit:
enabled: false
maxConcurrentSessions: 0
Policies 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 Policies resource accepts the following input properties:
- Audit bool
- Whether the Audit Policy is enabled. When
true, audit records for your organization are written to the Audit Index. - Data
Access boolLevel - Whether the Data Access Level Policy is enabled. When
true, newly created dashboards default to the viewer's role access filter. Whenfalse, they default to the sharer's role access filter and may show data that viewers' roles do not allow them to view. - Max
User stringSession Timeout - The maximum web session timeout users are able to configure within their user preferences. One of
5m,15m,30m,1h,2h,6h,12h,1d,2d,3d,5dor7d. Users whose preference is higher than this value are lowered to it; users with a lower preference are not changed. - Search
Audit bool - Whether the Search Audit Policy is enabled. When
true, search records for your organization are written to the Search Audit Index. - bool
- Whether the Share a Dashboard Outside Organization Policy is enabled. Users also need the matching capability on their role. Setting it to
falsedisables every dashboard that is currently shared outside the organization. - User
Concurrent PoliciesSessions Limit User Concurrent Sessions Limit - The User Concurrent Sessions Limit Policy. See user_concurrent_sessions_limit schema for details.
- Access
Keys stringLifetime In Days - Oauth
Cimd stringPolicy - The OAuth Clients policy, shown as OAuth Clients in the UI. Controls whether OAuth clients can authenticate with Client ID Metadata Documents (CIMD); it does not manage individual OAuth clients. One of
disabled,enabledorenabled-pre-registered-only. Withdisabled, CIMD authentication is off and no new CIMD clients can be created. Withenabled, CIMD authentication is on and new CIMD clients are created automatically during authentication. Withenabled-pre-registered-only, CIMD authentication is on but CIMD clients can only be created manually on the OAuth Clients page. If not set, the current value in Sumo Logic is kept. - Policies
Id string - Always
org-policies. - Unused
Access doubleKeys Disable After In Days - Number of days after which an unused access key is automatically deactivated, from
0to365.0means never. If not set, the current value in Sumo Logic is kept.
- Audit bool
- Whether the Audit Policy is enabled. When
true, audit records for your organization are written to the Audit Index. - Data
Access boolLevel - Whether the Data Access Level Policy is enabled. When
true, newly created dashboards default to the viewer's role access filter. Whenfalse, they default to the sharer's role access filter and may show data that viewers' roles do not allow them to view. - Max
User stringSession Timeout - The maximum web session timeout users are able to configure within their user preferences. One of
5m,15m,30m,1h,2h,6h,12h,1d,2d,3d,5dor7d. Users whose preference is higher than this value are lowered to it; users with a lower preference are not changed. - Search
Audit bool - Whether the Search Audit Policy is enabled. When
true, search records for your organization are written to the Search Audit Index. - bool
- Whether the Share a Dashboard Outside Organization Policy is enabled. Users also need the matching capability on their role. Setting it to
falsedisables every dashboard that is currently shared outside the organization. - User
Concurrent PoliciesSessions Limit User Concurrent Sessions Limit Args - The User Concurrent Sessions Limit Policy. See user_concurrent_sessions_limit schema for details.
- Access
Keys stringLifetime In Days - Oauth
Cimd stringPolicy - The OAuth Clients policy, shown as OAuth Clients in the UI. Controls whether OAuth clients can authenticate with Client ID Metadata Documents (CIMD); it does not manage individual OAuth clients. One of
disabled,enabledorenabled-pre-registered-only. Withdisabled, CIMD authentication is off and no new CIMD clients can be created. Withenabled, CIMD authentication is on and new CIMD clients are created automatically during authentication. Withenabled-pre-registered-only, CIMD authentication is on but CIMD clients can only be created manually on the OAuth Clients page. If not set, the current value in Sumo Logic is kept. - Policies
Id string - Always
org-policies. - Unused
Access float64Keys Disable After In Days - Number of days after which an unused access key is automatically deactivated, from
0to365.0means never. If not set, the current value in Sumo Logic is kept.
- audit bool
- Whether the Audit Policy is enabled. When
true, audit records for your organization are written to the Audit Index. - data_
access_ boollevel - Whether the Data Access Level Policy is enabled. When
true, newly created dashboards default to the viewer's role access filter. Whenfalse, they default to the sharer's role access filter and may show data that viewers' roles do not allow them to view. - max_
user_ stringsession_ timeout - The maximum web session timeout users are able to configure within their user preferences. One of
5m,15m,30m,1h,2h,6h,12h,1d,2d,3d,5dor7d. Users whose preference is higher than this value are lowered to it; users with a lower preference are not changed. - search_
audit bool - Whether the Search Audit Policy is enabled. When
true, search records for your organization are written to the Search Audit Index. - bool
- Whether the Share a Dashboard Outside Organization Policy is enabled. Users also need the matching capability on their role. Setting it to
falsedisables every dashboard that is currently shared outside the organization. - user_
concurrent_ objectsessions_ limit - The User Concurrent Sessions Limit Policy. See user_concurrent_sessions_limit schema for details.
- access_
keys_ stringlifetime_ in_ days - oauth_
cimd_ stringpolicy - The OAuth Clients policy, shown as OAuth Clients in the UI. Controls whether OAuth clients can authenticate with Client ID Metadata Documents (CIMD); it does not manage individual OAuth clients. One of
disabled,enabledorenabled-pre-registered-only. Withdisabled, CIMD authentication is off and no new CIMD clients can be created. Withenabled, CIMD authentication is on and new CIMD clients are created automatically during authentication. Withenabled-pre-registered-only, CIMD authentication is on but CIMD clients can only be created manually on the OAuth Clients page. If not set, the current value in Sumo Logic is kept. - policies_
id string - Always
org-policies. - unused_
access_ numberkeys_ disable_ after_ in_ days - Number of days after which an unused access key is automatically deactivated, from
0to365.0means never. If not set, the current value in Sumo Logic is kept.
- audit Boolean
- Whether the Audit Policy is enabled. When
true, audit records for your organization are written to the Audit Index. - data
Access BooleanLevel - Whether the Data Access Level Policy is enabled. When
true, newly created dashboards default to the viewer's role access filter. Whenfalse, they default to the sharer's role access filter and may show data that viewers' roles do not allow them to view. - max
User StringSession Timeout - The maximum web session timeout users are able to configure within their user preferences. One of
5m,15m,30m,1h,2h,6h,12h,1d,2d,3d,5dor7d. Users whose preference is higher than this value are lowered to it; users with a lower preference are not changed. - search
Audit Boolean - Whether the Search Audit Policy is enabled. When
true, search records for your organization are written to the Search Audit Index. - Boolean
- Whether the Share a Dashboard Outside Organization Policy is enabled. Users also need the matching capability on their role. Setting it to
falsedisables every dashboard that is currently shared outside the organization. - user
Concurrent PoliciesSessions Limit User Concurrent Sessions Limit - The User Concurrent Sessions Limit Policy. See user_concurrent_sessions_limit schema for details.
- access
Keys StringLifetime In Days - oauth
Cimd StringPolicy - The OAuth Clients policy, shown as OAuth Clients in the UI. Controls whether OAuth clients can authenticate with Client ID Metadata Documents (CIMD); it does not manage individual OAuth clients. One of
disabled,enabledorenabled-pre-registered-only. Withdisabled, CIMD authentication is off and no new CIMD clients can be created. Withenabled, CIMD authentication is on and new CIMD clients are created automatically during authentication. Withenabled-pre-registered-only, CIMD authentication is on but CIMD clients can only be created manually on the OAuth Clients page. If not set, the current value in Sumo Logic is kept. - policies
Id String - Always
org-policies. - unused
Access DoubleKeys Disable After In Days - Number of days after which an unused access key is automatically deactivated, from
0to365.0means never. If not set, the current value in Sumo Logic is kept.
- audit boolean
- Whether the Audit Policy is enabled. When
true, audit records for your organization are written to the Audit Index. - data
Access booleanLevel - Whether the Data Access Level Policy is enabled. When
true, newly created dashboards default to the viewer's role access filter. Whenfalse, they default to the sharer's role access filter and may show data that viewers' roles do not allow them to view. - max
User stringSession Timeout - The maximum web session timeout users are able to configure within their user preferences. One of
5m,15m,30m,1h,2h,6h,12h,1d,2d,3d,5dor7d. Users whose preference is higher than this value are lowered to it; users with a lower preference are not changed. - search
Audit boolean - Whether the Search Audit Policy is enabled. When
true, search records for your organization are written to the Search Audit Index. - boolean
- Whether the Share a Dashboard Outside Organization Policy is enabled. Users also need the matching capability on their role. Setting it to
falsedisables every dashboard that is currently shared outside the organization. - user
Concurrent PoliciesSessions Limit User Concurrent Sessions Limit - The User Concurrent Sessions Limit Policy. See user_concurrent_sessions_limit schema for details.
- access
Keys stringLifetime In Days - oauth
Cimd stringPolicy - The OAuth Clients policy, shown as OAuth Clients in the UI. Controls whether OAuth clients can authenticate with Client ID Metadata Documents (CIMD); it does not manage individual OAuth clients. One of
disabled,enabledorenabled-pre-registered-only. Withdisabled, CIMD authentication is off and no new CIMD clients can be created. Withenabled, CIMD authentication is on and new CIMD clients are created automatically during authentication. Withenabled-pre-registered-only, CIMD authentication is on but CIMD clients can only be created manually on the OAuth Clients page. If not set, the current value in Sumo Logic is kept. - policies
Id string - Always
org-policies. - unused
Access numberKeys Disable After In Days - Number of days after which an unused access key is automatically deactivated, from
0to365.0means never. If not set, the current value in Sumo Logic is kept.
- audit bool
- Whether the Audit Policy is enabled. When
true, audit records for your organization are written to the Audit Index. - data_
access_ boollevel - Whether the Data Access Level Policy is enabled. When
true, newly created dashboards default to the viewer's role access filter. Whenfalse, they default to the sharer's role access filter and may show data that viewers' roles do not allow them to view. - max_
user_ strsession_ timeout - The maximum web session timeout users are able to configure within their user preferences. One of
5m,15m,30m,1h,2h,6h,12h,1d,2d,3d,5dor7d. Users whose preference is higher than this value are lowered to it; users with a lower preference are not changed. - search_
audit bool - Whether the Search Audit Policy is enabled. When
true, search records for your organization are written to the Search Audit Index. - bool
- Whether the Share a Dashboard Outside Organization Policy is enabled. Users also need the matching capability on their role. Setting it to
falsedisables every dashboard that is currently shared outside the organization. - user_
concurrent_ Policiessessions_ limit User Concurrent Sessions Limit Args - The User Concurrent Sessions Limit Policy. See user_concurrent_sessions_limit schema for details.
- access_
keys_ strlifetime_ in_ days - oauth_
cimd_ strpolicy - The OAuth Clients policy, shown as OAuth Clients in the UI. Controls whether OAuth clients can authenticate with Client ID Metadata Documents (CIMD); it does not manage individual OAuth clients. One of
disabled,enabledorenabled-pre-registered-only. Withdisabled, CIMD authentication is off and no new CIMD clients can be created. Withenabled, CIMD authentication is on and new CIMD clients are created automatically during authentication. Withenabled-pre-registered-only, CIMD authentication is on but CIMD clients can only be created manually on the OAuth Clients page. If not set, the current value in Sumo Logic is kept. - policies_
id str - Always
org-policies. - unused_
access_ floatkeys_ disable_ after_ in_ days - Number of days after which an unused access key is automatically deactivated, from
0to365.0means never. If not set, the current value in Sumo Logic is kept.
- audit Boolean
- Whether the Audit Policy is enabled. When
true, audit records for your organization are written to the Audit Index. - data
Access BooleanLevel - Whether the Data Access Level Policy is enabled. When
true, newly created dashboards default to the viewer's role access filter. Whenfalse, they default to the sharer's role access filter and may show data that viewers' roles do not allow them to view. - max
User StringSession Timeout - The maximum web session timeout users are able to configure within their user preferences. One of
5m,15m,30m,1h,2h,6h,12h,1d,2d,3d,5dor7d. Users whose preference is higher than this value are lowered to it; users with a lower preference are not changed. - search
Audit Boolean - Whether the Search Audit Policy is enabled. When
true, search records for your organization are written to the Search Audit Index. - Boolean
- Whether the Share a Dashboard Outside Organization Policy is enabled. Users also need the matching capability on their role. Setting it to
falsedisables every dashboard that is currently shared outside the organization. - user
Concurrent Property MapSessions Limit - The User Concurrent Sessions Limit Policy. See user_concurrent_sessions_limit schema for details.
- access
Keys StringLifetime In Days - oauth
Cimd StringPolicy - The OAuth Clients policy, shown as OAuth Clients in the UI. Controls whether OAuth clients can authenticate with Client ID Metadata Documents (CIMD); it does not manage individual OAuth clients. One of
disabled,enabledorenabled-pre-registered-only. Withdisabled, CIMD authentication is off and no new CIMD clients can be created. Withenabled, CIMD authentication is on and new CIMD clients are created automatically during authentication. Withenabled-pre-registered-only, CIMD authentication is on but CIMD clients can only be created manually on the OAuth Clients page. If not set, the current value in Sumo Logic is kept. - policies
Id String - Always
org-policies. - unused
Access NumberKeys Disable After In Days - Number of days after which an unused access key is automatically deactivated, from
0to365.0means never. If not set, the current value in Sumo Logic is kept.
Outputs
All input properties are implicitly available as output properties. Additionally, the Policies 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 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 Policies Resource
Get an existing Policies 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?: PoliciesState, opts?: CustomResourceOptions): Policies@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
access_keys_lifetime_in_days: Optional[str] = None,
audit: Optional[bool] = None,
data_access_level: Optional[bool] = None,
max_user_session_timeout: Optional[str] = None,
oauth_cimd_policy: Optional[str] = None,
policies_id: Optional[str] = None,
search_audit: Optional[bool] = None,
share_dashboards_outside_organization: Optional[bool] = None,
unused_access_keys_disable_after_in_days: Optional[float] = None,
user_concurrent_sessions_limit: Optional[PoliciesUserConcurrentSessionsLimitArgs] = None) -> Policiesfunc GetPolicies(ctx *Context, name string, id IDInput, state *PoliciesState, opts ...ResourceOption) (*Policies, error)public static Policies Get(string name, Input<string> id, PoliciesState? state, CustomResourceOptions? opts = null)public static Policies get(String name, Output<String> id, PoliciesState state, CustomResourceOptions options)resources: _: type: sumologic:Policies get: id: ${id}import {
to = sumologic_policies.example
id = "${id}"
}
- 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.
- Access
Keys stringLifetime In Days - Audit bool
- Whether the Audit Policy is enabled. When
true, audit records for your organization are written to the Audit Index. - Data
Access boolLevel - Whether the Data Access Level Policy is enabled. When
true, newly created dashboards default to the viewer's role access filter. Whenfalse, they default to the sharer's role access filter and may show data that viewers' roles do not allow them to view. - Max
User stringSession Timeout - The maximum web session timeout users are able to configure within their user preferences. One of
5m,15m,30m,1h,2h,6h,12h,1d,2d,3d,5dor7d. Users whose preference is higher than this value are lowered to it; users with a lower preference are not changed. - Oauth
Cimd stringPolicy - The OAuth Clients policy, shown as OAuth Clients in the UI. Controls whether OAuth clients can authenticate with Client ID Metadata Documents (CIMD); it does not manage individual OAuth clients. One of
disabled,enabledorenabled-pre-registered-only. Withdisabled, CIMD authentication is off and no new CIMD clients can be created. Withenabled, CIMD authentication is on and new CIMD clients are created automatically during authentication. Withenabled-pre-registered-only, CIMD authentication is on but CIMD clients can only be created manually on the OAuth Clients page. If not set, the current value in Sumo Logic is kept. - Policies
Id string - Always
org-policies. - Search
Audit bool - Whether the Search Audit Policy is enabled. When
true, search records for your organization are written to the Search Audit Index. - bool
- Whether the Share a Dashboard Outside Organization Policy is enabled. Users also need the matching capability on their role. Setting it to
falsedisables every dashboard that is currently shared outside the organization. - Unused
Access doubleKeys Disable After In Days - Number of days after which an unused access key is automatically deactivated, from
0to365.0means never. If not set, the current value in Sumo Logic is kept. - User
Concurrent PoliciesSessions Limit User Concurrent Sessions Limit - The User Concurrent Sessions Limit Policy. See user_concurrent_sessions_limit schema for details.
- Access
Keys stringLifetime In Days - Audit bool
- Whether the Audit Policy is enabled. When
true, audit records for your organization are written to the Audit Index. - Data
Access boolLevel - Whether the Data Access Level Policy is enabled. When
true, newly created dashboards default to the viewer's role access filter. Whenfalse, they default to the sharer's role access filter and may show data that viewers' roles do not allow them to view. - Max
User stringSession Timeout - The maximum web session timeout users are able to configure within their user preferences. One of
5m,15m,30m,1h,2h,6h,12h,1d,2d,3d,5dor7d. Users whose preference is higher than this value are lowered to it; users with a lower preference are not changed. - Oauth
Cimd stringPolicy - The OAuth Clients policy, shown as OAuth Clients in the UI. Controls whether OAuth clients can authenticate with Client ID Metadata Documents (CIMD); it does not manage individual OAuth clients. One of
disabled,enabledorenabled-pre-registered-only. Withdisabled, CIMD authentication is off and no new CIMD clients can be created. Withenabled, CIMD authentication is on and new CIMD clients are created automatically during authentication. Withenabled-pre-registered-only, CIMD authentication is on but CIMD clients can only be created manually on the OAuth Clients page. If not set, the current value in Sumo Logic is kept. - Policies
Id string - Always
org-policies. - Search
Audit bool - Whether the Search Audit Policy is enabled. When
true, search records for your organization are written to the Search Audit Index. - bool
- Whether the Share a Dashboard Outside Organization Policy is enabled. Users also need the matching capability on their role. Setting it to
falsedisables every dashboard that is currently shared outside the organization. - Unused
Access float64Keys Disable After In Days - Number of days after which an unused access key is automatically deactivated, from
0to365.0means never. If not set, the current value in Sumo Logic is kept. - User
Concurrent PoliciesSessions Limit User Concurrent Sessions Limit Args - The User Concurrent Sessions Limit Policy. See user_concurrent_sessions_limit schema for details.
- access_
keys_ stringlifetime_ in_ days - audit bool
- Whether the Audit Policy is enabled. When
true, audit records for your organization are written to the Audit Index. - data_
access_ boollevel - Whether the Data Access Level Policy is enabled. When
true, newly created dashboards default to the viewer's role access filter. Whenfalse, they default to the sharer's role access filter and may show data that viewers' roles do not allow them to view. - max_
user_ stringsession_ timeout - The maximum web session timeout users are able to configure within their user preferences. One of
5m,15m,30m,1h,2h,6h,12h,1d,2d,3d,5dor7d. Users whose preference is higher than this value are lowered to it; users with a lower preference are not changed. - oauth_
cimd_ stringpolicy - The OAuth Clients policy, shown as OAuth Clients in the UI. Controls whether OAuth clients can authenticate with Client ID Metadata Documents (CIMD); it does not manage individual OAuth clients. One of
disabled,enabledorenabled-pre-registered-only. Withdisabled, CIMD authentication is off and no new CIMD clients can be created. Withenabled, CIMD authentication is on and new CIMD clients are created automatically during authentication. Withenabled-pre-registered-only, CIMD authentication is on but CIMD clients can only be created manually on the OAuth Clients page. If not set, the current value in Sumo Logic is kept. - policies_
id string - Always
org-policies. - search_
audit bool - Whether the Search Audit Policy is enabled. When
true, search records for your organization are written to the Search Audit Index. - bool
- Whether the Share a Dashboard Outside Organization Policy is enabled. Users also need the matching capability on their role. Setting it to
falsedisables every dashboard that is currently shared outside the organization. - unused_
access_ numberkeys_ disable_ after_ in_ days - Number of days after which an unused access key is automatically deactivated, from
0to365.0means never. If not set, the current value in Sumo Logic is kept. - user_
concurrent_ objectsessions_ limit - The User Concurrent Sessions Limit Policy. See user_concurrent_sessions_limit schema for details.
- access
Keys StringLifetime In Days - audit Boolean
- Whether the Audit Policy is enabled. When
true, audit records for your organization are written to the Audit Index. - data
Access BooleanLevel - Whether the Data Access Level Policy is enabled. When
true, newly created dashboards default to the viewer's role access filter. Whenfalse, they default to the sharer's role access filter and may show data that viewers' roles do not allow them to view. - max
User StringSession Timeout - The maximum web session timeout users are able to configure within their user preferences. One of
5m,15m,30m,1h,2h,6h,12h,1d,2d,3d,5dor7d. Users whose preference is higher than this value are lowered to it; users with a lower preference are not changed. - oauth
Cimd StringPolicy - The OAuth Clients policy, shown as OAuth Clients in the UI. Controls whether OAuth clients can authenticate with Client ID Metadata Documents (CIMD); it does not manage individual OAuth clients. One of
disabled,enabledorenabled-pre-registered-only. Withdisabled, CIMD authentication is off and no new CIMD clients can be created. Withenabled, CIMD authentication is on and new CIMD clients are created automatically during authentication. Withenabled-pre-registered-only, CIMD authentication is on but CIMD clients can only be created manually on the OAuth Clients page. If not set, the current value in Sumo Logic is kept. - policies
Id String - Always
org-policies. - search
Audit Boolean - Whether the Search Audit Policy is enabled. When
true, search records for your organization are written to the Search Audit Index. - Boolean
- Whether the Share a Dashboard Outside Organization Policy is enabled. Users also need the matching capability on their role. Setting it to
falsedisables every dashboard that is currently shared outside the organization. - unused
Access DoubleKeys Disable After In Days - Number of days after which an unused access key is automatically deactivated, from
0to365.0means never. If not set, the current value in Sumo Logic is kept. - user
Concurrent PoliciesSessions Limit User Concurrent Sessions Limit - The User Concurrent Sessions Limit Policy. See user_concurrent_sessions_limit schema for details.
- access
Keys stringLifetime In Days - audit boolean
- Whether the Audit Policy is enabled. When
true, audit records for your organization are written to the Audit Index. - data
Access booleanLevel - Whether the Data Access Level Policy is enabled. When
true, newly created dashboards default to the viewer's role access filter. Whenfalse, they default to the sharer's role access filter and may show data that viewers' roles do not allow them to view. - max
User stringSession Timeout - The maximum web session timeout users are able to configure within their user preferences. One of
5m,15m,30m,1h,2h,6h,12h,1d,2d,3d,5dor7d. Users whose preference is higher than this value are lowered to it; users with a lower preference are not changed. - oauth
Cimd stringPolicy - The OAuth Clients policy, shown as OAuth Clients in the UI. Controls whether OAuth clients can authenticate with Client ID Metadata Documents (CIMD); it does not manage individual OAuth clients. One of
disabled,enabledorenabled-pre-registered-only. Withdisabled, CIMD authentication is off and no new CIMD clients can be created. Withenabled, CIMD authentication is on and new CIMD clients are created automatically during authentication. Withenabled-pre-registered-only, CIMD authentication is on but CIMD clients can only be created manually on the OAuth Clients page. If not set, the current value in Sumo Logic is kept. - policies
Id string - Always
org-policies. - search
Audit boolean - Whether the Search Audit Policy is enabled. When
true, search records for your organization are written to the Search Audit Index. - boolean
- Whether the Share a Dashboard Outside Organization Policy is enabled. Users also need the matching capability on their role. Setting it to
falsedisables every dashboard that is currently shared outside the organization. - unused
Access numberKeys Disable After In Days - Number of days after which an unused access key is automatically deactivated, from
0to365.0means never. If not set, the current value in Sumo Logic is kept. - user
Concurrent PoliciesSessions Limit User Concurrent Sessions Limit - The User Concurrent Sessions Limit Policy. See user_concurrent_sessions_limit schema for details.
- access_
keys_ strlifetime_ in_ days - audit bool
- Whether the Audit Policy is enabled. When
true, audit records for your organization are written to the Audit Index. - data_
access_ boollevel - Whether the Data Access Level Policy is enabled. When
true, newly created dashboards default to the viewer's role access filter. Whenfalse, they default to the sharer's role access filter and may show data that viewers' roles do not allow them to view. - max_
user_ strsession_ timeout - The maximum web session timeout users are able to configure within their user preferences. One of
5m,15m,30m,1h,2h,6h,12h,1d,2d,3d,5dor7d. Users whose preference is higher than this value are lowered to it; users with a lower preference are not changed. - oauth_
cimd_ strpolicy - The OAuth Clients policy, shown as OAuth Clients in the UI. Controls whether OAuth clients can authenticate with Client ID Metadata Documents (CIMD); it does not manage individual OAuth clients. One of
disabled,enabledorenabled-pre-registered-only. Withdisabled, CIMD authentication is off and no new CIMD clients can be created. Withenabled, CIMD authentication is on and new CIMD clients are created automatically during authentication. Withenabled-pre-registered-only, CIMD authentication is on but CIMD clients can only be created manually on the OAuth Clients page. If not set, the current value in Sumo Logic is kept. - policies_
id str - Always
org-policies. - search_
audit bool - Whether the Search Audit Policy is enabled. When
true, search records for your organization are written to the Search Audit Index. - bool
- Whether the Share a Dashboard Outside Organization Policy is enabled. Users also need the matching capability on their role. Setting it to
falsedisables every dashboard that is currently shared outside the organization. - unused_
access_ floatkeys_ disable_ after_ in_ days - Number of days after which an unused access key is automatically deactivated, from
0to365.0means never. If not set, the current value in Sumo Logic is kept. - user_
concurrent_ Policiessessions_ limit User Concurrent Sessions Limit Args - The User Concurrent Sessions Limit Policy. See user_concurrent_sessions_limit schema for details.
- access
Keys StringLifetime In Days - audit Boolean
- Whether the Audit Policy is enabled. When
true, audit records for your organization are written to the Audit Index. - data
Access BooleanLevel - Whether the Data Access Level Policy is enabled. When
true, newly created dashboards default to the viewer's role access filter. Whenfalse, they default to the sharer's role access filter and may show data that viewers' roles do not allow them to view. - max
User StringSession Timeout - The maximum web session timeout users are able to configure within their user preferences. One of
5m,15m,30m,1h,2h,6h,12h,1d,2d,3d,5dor7d. Users whose preference is higher than this value are lowered to it; users with a lower preference are not changed. - oauth
Cimd StringPolicy - The OAuth Clients policy, shown as OAuth Clients in the UI. Controls whether OAuth clients can authenticate with Client ID Metadata Documents (CIMD); it does not manage individual OAuth clients. One of
disabled,enabledorenabled-pre-registered-only. Withdisabled, CIMD authentication is off and no new CIMD clients can be created. Withenabled, CIMD authentication is on and new CIMD clients are created automatically during authentication. Withenabled-pre-registered-only, CIMD authentication is on but CIMD clients can only be created manually on the OAuth Clients page. If not set, the current value in Sumo Logic is kept. - policies
Id String - Always
org-policies. - search
Audit Boolean - Whether the Search Audit Policy is enabled. When
true, search records for your organization are written to the Search Audit Index. - Boolean
- Whether the Share a Dashboard Outside Organization Policy is enabled. Users also need the matching capability on their role. Setting it to
falsedisables every dashboard that is currently shared outside the organization. - unused
Access NumberKeys Disable After In Days - Number of days after which an unused access key is automatically deactivated, from
0to365.0means never. If not set, the current value in Sumo Logic is kept. - user
Concurrent Property MapSessions Limit - The User Concurrent Sessions Limit Policy. See user_concurrent_sessions_limit schema for details.
Supporting Types
PoliciesUserConcurrentSessionsLimit, PoliciesUserConcurrentSessionsLimitArgs
- Enabled bool
- Whether the User Concurrent Sessions Limit Policy is enabled. When
false, users may have an unlimited number of sessions. - Max
Concurrent doubleSessions - Maximum number of concurrent sessions a user may have, from
1to100. Defaults to100. When a user exceeds the limit, their oldest session is logged out.
- Enabled bool
- Whether the User Concurrent Sessions Limit Policy is enabled. When
false, users may have an unlimited number of sessions. - Max
Concurrent float64Sessions - Maximum number of concurrent sessions a user may have, from
1to100. Defaults to100. When a user exceeds the limit, their oldest session is logged out.
- enabled bool
- Whether the User Concurrent Sessions Limit Policy is enabled. When
false, users may have an unlimited number of sessions. - max_
concurrent_ numbersessions - Maximum number of concurrent sessions a user may have, from
1to100. Defaults to100. When a user exceeds the limit, their oldest session is logged out.
- enabled Boolean
- Whether the User Concurrent Sessions Limit Policy is enabled. When
false, users may have an unlimited number of sessions. - max
Concurrent DoubleSessions - Maximum number of concurrent sessions a user may have, from
1to100. Defaults to100. When a user exceeds the limit, their oldest session is logged out.
- enabled boolean
- Whether the User Concurrent Sessions Limit Policy is enabled. When
false, users may have an unlimited number of sessions. - max
Concurrent numberSessions - Maximum number of concurrent sessions a user may have, from
1to100. Defaults to100. When a user exceeds the limit, their oldest session is logged out.
- enabled bool
- Whether the User Concurrent Sessions Limit Policy is enabled. When
false, users may have an unlimited number of sessions. - max_
concurrent_ floatsessions - Maximum number of concurrent sessions a user may have, from
1to100. Defaults to100. When a user exceeds the limit, their oldest session is logged out.
- enabled Boolean
- Whether the User Concurrent Sessions Limit Policy is enabled. When
false, users may have an unlimited number of sessions. - max
Concurrent NumberSessions - Maximum number of concurrent sessions a user may have, from
1to100. Defaults to100. When a user exceeds the limit, their oldest session is logged out.
Import
Policies can be imported using the id org-policies.
hcl
$ pulumi import sumologic:index/policies:Policies example_policies org-policies
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Sumo Logic sumologic/terraform-provider-sumologic
- License
- Notes
- This Pulumi package is based on the
sumologicTerraform Provider.
published on Wednesday, Nov 11, 2026 by sumologic