1. Packages
  2. Okta Provider
  3. API Docs
  4. Behaviour
Okta v4.16.0 published on Wednesday, Apr 9, 2025 by Pulumi

okta.Behaviour

Explore with Pulumi AI

This resource allows you to create and configure a behavior.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as okta from "@pulumi/okta";

const myLocation = new okta.Behaviour("my_location", {
    name: "My Location",
    type: "ANOMALOUS_LOCATION",
    numberOfAuthentications: 50,
    locationGranularityType: "LAT_LONG",
    radiusFromLocation: 20,
});
const myCity = new okta.Behaviour("my_city", {
    name: "My City",
    type: "ANOMALOUS_LOCATION",
    numberOfAuthentications: 50,
    locationGranularityType: "CITY",
});
const myDevice = new okta.Behaviour("my_device", {
    name: "My Device",
    type: "ANOMALOUS_DEVICE",
    numberOfAuthentications: 50,
});
const myIp = new okta.Behaviour("my_ip", {
    name: "My IP",
    type: "ANOMALOUS_IP",
    numberOfAuthentications: 50,
});
const myVelocity = new okta.Behaviour("my_velocity", {
    name: "My Velocity",
    type: "VELOCITY",
    velocity: 25,
});
Copy
import pulumi
import pulumi_okta as okta

my_location = okta.Behaviour("my_location",
    name="My Location",
    type="ANOMALOUS_LOCATION",
    number_of_authentications=50,
    location_granularity_type="LAT_LONG",
    radius_from_location=20)
my_city = okta.Behaviour("my_city",
    name="My City",
    type="ANOMALOUS_LOCATION",
    number_of_authentications=50,
    location_granularity_type="CITY")
my_device = okta.Behaviour("my_device",
    name="My Device",
    type="ANOMALOUS_DEVICE",
    number_of_authentications=50)
my_ip = okta.Behaviour("my_ip",
    name="My IP",
    type="ANOMALOUS_IP",
    number_of_authentications=50)
my_velocity = okta.Behaviour("my_velocity",
    name="My Velocity",
    type="VELOCITY",
    velocity=25)
Copy
package main

import (
	"github.com/pulumi/pulumi-okta/sdk/v4/go/okta"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := okta.NewBehaviour(ctx, "my_location", &okta.BehaviourArgs{
			Name:                    pulumi.String("My Location"),
			Type:                    pulumi.String("ANOMALOUS_LOCATION"),
			NumberOfAuthentications: pulumi.Int(50),
			LocationGranularityType: pulumi.String("LAT_LONG"),
			RadiusFromLocation:      pulumi.Int(20),
		})
		if err != nil {
			return err
		}
		_, err = okta.NewBehaviour(ctx, "my_city", &okta.BehaviourArgs{
			Name:                    pulumi.String("My City"),
			Type:                    pulumi.String("ANOMALOUS_LOCATION"),
			NumberOfAuthentications: pulumi.Int(50),
			LocationGranularityType: pulumi.String("CITY"),
		})
		if err != nil {
			return err
		}
		_, err = okta.NewBehaviour(ctx, "my_device", &okta.BehaviourArgs{
			Name:                    pulumi.String("My Device"),
			Type:                    pulumi.String("ANOMALOUS_DEVICE"),
			NumberOfAuthentications: pulumi.Int(50),
		})
		if err != nil {
			return err
		}
		_, err = okta.NewBehaviour(ctx, "my_ip", &okta.BehaviourArgs{
			Name:                    pulumi.String("My IP"),
			Type:                    pulumi.String("ANOMALOUS_IP"),
			NumberOfAuthentications: pulumi.Int(50),
		})
		if err != nil {
			return err
		}
		_, err = okta.NewBehaviour(ctx, "my_velocity", &okta.BehaviourArgs{
			Name:     pulumi.String("My Velocity"),
			Type:     pulumi.String("VELOCITY"),
			Velocity: pulumi.Int(25),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Okta = Pulumi.Okta;

return await Deployment.RunAsync(() => 
{
    var myLocation = new Okta.Behaviour("my_location", new()
    {
        Name = "My Location",
        Type = "ANOMALOUS_LOCATION",
        NumberOfAuthentications = 50,
        LocationGranularityType = "LAT_LONG",
        RadiusFromLocation = 20,
    });

    var myCity = new Okta.Behaviour("my_city", new()
    {
        Name = "My City",
        Type = "ANOMALOUS_LOCATION",
        NumberOfAuthentications = 50,
        LocationGranularityType = "CITY",
    });

    var myDevice = new Okta.Behaviour("my_device", new()
    {
        Name = "My Device",
        Type = "ANOMALOUS_DEVICE",
        NumberOfAuthentications = 50,
    });

    var myIp = new Okta.Behaviour("my_ip", new()
    {
        Name = "My IP",
        Type = "ANOMALOUS_IP",
        NumberOfAuthentications = 50,
    });

    var myVelocity = new Okta.Behaviour("my_velocity", new()
    {
        Name = "My Velocity",
        Type = "VELOCITY",
        Velocity = 25,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.okta.Behaviour;
import com.pulumi.okta.BehaviourArgs;
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 myLocation = new Behaviour("myLocation", BehaviourArgs.builder()
            .name("My Location")
            .type("ANOMALOUS_LOCATION")
            .numberOfAuthentications(50)
            .locationGranularityType("LAT_LONG")
            .radiusFromLocation(20)
            .build());

        var myCity = new Behaviour("myCity", BehaviourArgs.builder()
            .name("My City")
            .type("ANOMALOUS_LOCATION")
            .numberOfAuthentications(50)
            .locationGranularityType("CITY")
            .build());

        var myDevice = new Behaviour("myDevice", BehaviourArgs.builder()
            .name("My Device")
            .type("ANOMALOUS_DEVICE")
            .numberOfAuthentications(50)
            .build());

        var myIp = new Behaviour("myIp", BehaviourArgs.builder()
            .name("My IP")
            .type("ANOMALOUS_IP")
            .numberOfAuthentications(50)
            .build());

        var myVelocity = new Behaviour("myVelocity", BehaviourArgs.builder()
            .name("My Velocity")
            .type("VELOCITY")
            .velocity(25)
            .build());

    }
}
Copy
resources:
  myLocation:
    type: okta:Behaviour
    name: my_location
    properties:
      name: My Location
      type: ANOMALOUS_LOCATION
      numberOfAuthentications: 50
      locationGranularityType: LAT_LONG
      radiusFromLocation: 20
  myCity:
    type: okta:Behaviour
    name: my_city
    properties:
      name: My City
      type: ANOMALOUS_LOCATION
      numberOfAuthentications: 50
      locationGranularityType: CITY
  myDevice:
    type: okta:Behaviour
    name: my_device
    properties:
      name: My Device
      type: ANOMALOUS_DEVICE
      numberOfAuthentications: 50
  myIp:
    type: okta:Behaviour
    name: my_ip
    properties:
      name: My IP
      type: ANOMALOUS_IP
      numberOfAuthentications: 50
  myVelocity:
    type: okta:Behaviour
    name: my_velocity
    properties:
      name: My Velocity
      type: VELOCITY
      velocity: 25
Copy

Create Behaviour Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new Behaviour(name: string, args: BehaviourArgs, opts?: CustomResourceOptions);
@overload
def Behaviour(resource_name: str,
              args: BehaviourArgs,
              opts: Optional[ResourceOptions] = None)

@overload
def Behaviour(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              type: Optional[str] = None,
              location_granularity_type: Optional[str] = None,
              name: Optional[str] = None,
              number_of_authentications: Optional[int] = None,
              radius_from_location: Optional[int] = None,
              status: Optional[str] = None,
              velocity: Optional[int] = None)
func NewBehaviour(ctx *Context, name string, args BehaviourArgs, opts ...ResourceOption) (*Behaviour, error)
public Behaviour(string name, BehaviourArgs args, CustomResourceOptions? opts = null)
public Behaviour(String name, BehaviourArgs args)
public Behaviour(String name, BehaviourArgs args, CustomResourceOptions options)
type: okta:Behaviour
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. BehaviourArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. BehaviourArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. BehaviourArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. BehaviourArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. BehaviourArgs
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 behaviourResource = new Okta.Behaviour("behaviourResource", new()
{
    Type = "string",
    LocationGranularityType = "string",
    Name = "string",
    NumberOfAuthentications = 0,
    RadiusFromLocation = 0,
    Status = "string",
    Velocity = 0,
});
Copy
example, err := okta.NewBehaviour(ctx, "behaviourResource", &okta.BehaviourArgs{
	Type:                    pulumi.String("string"),
	LocationGranularityType: pulumi.String("string"),
	Name:                    pulumi.String("string"),
	NumberOfAuthentications: pulumi.Int(0),
	RadiusFromLocation:      pulumi.Int(0),
	Status:                  pulumi.String("string"),
	Velocity:                pulumi.Int(0),
})
Copy
var behaviourResource = new Behaviour("behaviourResource", BehaviourArgs.builder()
    .type("string")
    .locationGranularityType("string")
    .name("string")
    .numberOfAuthentications(0)
    .radiusFromLocation(0)
    .status("string")
    .velocity(0)
    .build());
Copy
behaviour_resource = okta.Behaviour("behaviourResource",
    type="string",
    location_granularity_type="string",
    name="string",
    number_of_authentications=0,
    radius_from_location=0,
    status="string",
    velocity=0)
Copy
const behaviourResource = new okta.Behaviour("behaviourResource", {
    type: "string",
    locationGranularityType: "string",
    name: "string",
    numberOfAuthentications: 0,
    radiusFromLocation: 0,
    status: "string",
    velocity: 0,
});
Copy
type: okta:Behaviour
properties:
    locationGranularityType: string
    name: string
    numberOfAuthentications: 0
    radiusFromLocation: 0
    status: string
    type: string
    velocity: 0
Copy

Behaviour 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 Behaviour resource accepts the following input properties:

Type
This property is required.
Changes to this property will trigger replacement.
string
Type of the behavior. Can be set to ANOMALOUS_LOCATION, ANOMALOUS_DEVICE, ANOMALOUS_IP or VELOCITY. Resource will be recreated when the type changes.e
LocationGranularityType string
Determines the method and level of detail used to evaluate the behavior. Required for ANOMALOUS_LOCATION behavior type. Can be set to LAT_LONG, CITY, COUNTRY or SUBDIVISION.
Name string
Name of the behavior
NumberOfAuthentications int
The number of recent authentications used to evaluate the behavior. Required for ANOMALOUS_LOCATION, ANOMALOUS_DEVICE and ANOMALOUS_IP behavior types.
RadiusFromLocation int
Radius from location (in kilometers). Should be at least 5. Required when location_granularity_type is set to LAT_LONG.
Status string
Behavior status: ACTIVE or INACTIVE. Default: ACTIVE
Velocity int
Velocity (in kilometers per hour). Should be at least 1. Required for VELOCITY behavior
Type
This property is required.
Changes to this property will trigger replacement.
string
Type of the behavior. Can be set to ANOMALOUS_LOCATION, ANOMALOUS_DEVICE, ANOMALOUS_IP or VELOCITY. Resource will be recreated when the type changes.e
LocationGranularityType string
Determines the method and level of detail used to evaluate the behavior. Required for ANOMALOUS_LOCATION behavior type. Can be set to LAT_LONG, CITY, COUNTRY or SUBDIVISION.
Name string
Name of the behavior
NumberOfAuthentications int
The number of recent authentications used to evaluate the behavior. Required for ANOMALOUS_LOCATION, ANOMALOUS_DEVICE and ANOMALOUS_IP behavior types.
RadiusFromLocation int
Radius from location (in kilometers). Should be at least 5. Required when location_granularity_type is set to LAT_LONG.
Status string
Behavior status: ACTIVE or INACTIVE. Default: ACTIVE
Velocity int
Velocity (in kilometers per hour). Should be at least 1. Required for VELOCITY behavior
type
This property is required.
Changes to this property will trigger replacement.
String
Type of the behavior. Can be set to ANOMALOUS_LOCATION, ANOMALOUS_DEVICE, ANOMALOUS_IP or VELOCITY. Resource will be recreated when the type changes.e
locationGranularityType String
Determines the method and level of detail used to evaluate the behavior. Required for ANOMALOUS_LOCATION behavior type. Can be set to LAT_LONG, CITY, COUNTRY or SUBDIVISION.
name String
Name of the behavior
numberOfAuthentications Integer
The number of recent authentications used to evaluate the behavior. Required for ANOMALOUS_LOCATION, ANOMALOUS_DEVICE and ANOMALOUS_IP behavior types.
radiusFromLocation Integer
Radius from location (in kilometers). Should be at least 5. Required when location_granularity_type is set to LAT_LONG.
status String
Behavior status: ACTIVE or INACTIVE. Default: ACTIVE
velocity Integer
Velocity (in kilometers per hour). Should be at least 1. Required for VELOCITY behavior
type
This property is required.
Changes to this property will trigger replacement.
string
Type of the behavior. Can be set to ANOMALOUS_LOCATION, ANOMALOUS_DEVICE, ANOMALOUS_IP or VELOCITY. Resource will be recreated when the type changes.e
locationGranularityType string
Determines the method and level of detail used to evaluate the behavior. Required for ANOMALOUS_LOCATION behavior type. Can be set to LAT_LONG, CITY, COUNTRY or SUBDIVISION.
name string
Name of the behavior
numberOfAuthentications number
The number of recent authentications used to evaluate the behavior. Required for ANOMALOUS_LOCATION, ANOMALOUS_DEVICE and ANOMALOUS_IP behavior types.
radiusFromLocation number
Radius from location (in kilometers). Should be at least 5. Required when location_granularity_type is set to LAT_LONG.
status string
Behavior status: ACTIVE or INACTIVE. Default: ACTIVE
velocity number
Velocity (in kilometers per hour). Should be at least 1. Required for VELOCITY behavior
type
This property is required.
Changes to this property will trigger replacement.
str
Type of the behavior. Can be set to ANOMALOUS_LOCATION, ANOMALOUS_DEVICE, ANOMALOUS_IP or VELOCITY. Resource will be recreated when the type changes.e
location_granularity_type str
Determines the method and level of detail used to evaluate the behavior. Required for ANOMALOUS_LOCATION behavior type. Can be set to LAT_LONG, CITY, COUNTRY or SUBDIVISION.
name str
Name of the behavior
number_of_authentications int
The number of recent authentications used to evaluate the behavior. Required for ANOMALOUS_LOCATION, ANOMALOUS_DEVICE and ANOMALOUS_IP behavior types.
radius_from_location int
Radius from location (in kilometers). Should be at least 5. Required when location_granularity_type is set to LAT_LONG.
status str
Behavior status: ACTIVE or INACTIVE. Default: ACTIVE
velocity int
Velocity (in kilometers per hour). Should be at least 1. Required for VELOCITY behavior
type
This property is required.
Changes to this property will trigger replacement.
String
Type of the behavior. Can be set to ANOMALOUS_LOCATION, ANOMALOUS_DEVICE, ANOMALOUS_IP or VELOCITY. Resource will be recreated when the type changes.e
locationGranularityType String
Determines the method and level of detail used to evaluate the behavior. Required for ANOMALOUS_LOCATION behavior type. Can be set to LAT_LONG, CITY, COUNTRY or SUBDIVISION.
name String
Name of the behavior
numberOfAuthentications Number
The number of recent authentications used to evaluate the behavior. Required for ANOMALOUS_LOCATION, ANOMALOUS_DEVICE and ANOMALOUS_IP behavior types.
radiusFromLocation Number
Radius from location (in kilometers). Should be at least 5. Required when location_granularity_type is set to LAT_LONG.
status String
Behavior status: ACTIVE or INACTIVE. Default: ACTIVE
velocity Number
Velocity (in kilometers per hour). Should be at least 1. Required for VELOCITY behavior

Outputs

All input properties are implicitly available as output properties. Additionally, the Behaviour 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 Behaviour Resource

Get an existing Behaviour 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?: BehaviourState, opts?: CustomResourceOptions): Behaviour
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        location_granularity_type: Optional[str] = None,
        name: Optional[str] = None,
        number_of_authentications: Optional[int] = None,
        radius_from_location: Optional[int] = None,
        status: Optional[str] = None,
        type: Optional[str] = None,
        velocity: Optional[int] = None) -> Behaviour
func GetBehaviour(ctx *Context, name string, id IDInput, state *BehaviourState, opts ...ResourceOption) (*Behaviour, error)
public static Behaviour Get(string name, Input<string> id, BehaviourState? state, CustomResourceOptions? opts = null)
public static Behaviour get(String name, Output<String> id, BehaviourState state, CustomResourceOptions options)
resources:  _:    type: okta:Behaviour    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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.
The following state arguments are supported:
LocationGranularityType string
Determines the method and level of detail used to evaluate the behavior. Required for ANOMALOUS_LOCATION behavior type. Can be set to LAT_LONG, CITY, COUNTRY or SUBDIVISION.
Name string
Name of the behavior
NumberOfAuthentications int
The number of recent authentications used to evaluate the behavior. Required for ANOMALOUS_LOCATION, ANOMALOUS_DEVICE and ANOMALOUS_IP behavior types.
RadiusFromLocation int
Radius from location (in kilometers). Should be at least 5. Required when location_granularity_type is set to LAT_LONG.
Status string
Behavior status: ACTIVE or INACTIVE. Default: ACTIVE
Type Changes to this property will trigger replacement. string
Type of the behavior. Can be set to ANOMALOUS_LOCATION, ANOMALOUS_DEVICE, ANOMALOUS_IP or VELOCITY. Resource will be recreated when the type changes.e
Velocity int
Velocity (in kilometers per hour). Should be at least 1. Required for VELOCITY behavior
LocationGranularityType string
Determines the method and level of detail used to evaluate the behavior. Required for ANOMALOUS_LOCATION behavior type. Can be set to LAT_LONG, CITY, COUNTRY or SUBDIVISION.
Name string
Name of the behavior
NumberOfAuthentications int
The number of recent authentications used to evaluate the behavior. Required for ANOMALOUS_LOCATION, ANOMALOUS_DEVICE and ANOMALOUS_IP behavior types.
RadiusFromLocation int
Radius from location (in kilometers). Should be at least 5. Required when location_granularity_type is set to LAT_LONG.
Status string
Behavior status: ACTIVE or INACTIVE. Default: ACTIVE
Type Changes to this property will trigger replacement. string
Type of the behavior. Can be set to ANOMALOUS_LOCATION, ANOMALOUS_DEVICE, ANOMALOUS_IP or VELOCITY. Resource will be recreated when the type changes.e
Velocity int
Velocity (in kilometers per hour). Should be at least 1. Required for VELOCITY behavior
locationGranularityType String
Determines the method and level of detail used to evaluate the behavior. Required for ANOMALOUS_LOCATION behavior type. Can be set to LAT_LONG, CITY, COUNTRY or SUBDIVISION.
name String
Name of the behavior
numberOfAuthentications Integer
The number of recent authentications used to evaluate the behavior. Required for ANOMALOUS_LOCATION, ANOMALOUS_DEVICE and ANOMALOUS_IP behavior types.
radiusFromLocation Integer
Radius from location (in kilometers). Should be at least 5. Required when location_granularity_type is set to LAT_LONG.
status String
Behavior status: ACTIVE or INACTIVE. Default: ACTIVE
type Changes to this property will trigger replacement. String
Type of the behavior. Can be set to ANOMALOUS_LOCATION, ANOMALOUS_DEVICE, ANOMALOUS_IP or VELOCITY. Resource will be recreated when the type changes.e
velocity Integer
Velocity (in kilometers per hour). Should be at least 1. Required for VELOCITY behavior
locationGranularityType string
Determines the method and level of detail used to evaluate the behavior. Required for ANOMALOUS_LOCATION behavior type. Can be set to LAT_LONG, CITY, COUNTRY or SUBDIVISION.
name string
Name of the behavior
numberOfAuthentications number
The number of recent authentications used to evaluate the behavior. Required for ANOMALOUS_LOCATION, ANOMALOUS_DEVICE and ANOMALOUS_IP behavior types.
radiusFromLocation number
Radius from location (in kilometers). Should be at least 5. Required when location_granularity_type is set to LAT_LONG.
status string
Behavior status: ACTIVE or INACTIVE. Default: ACTIVE
type Changes to this property will trigger replacement. string
Type of the behavior. Can be set to ANOMALOUS_LOCATION, ANOMALOUS_DEVICE, ANOMALOUS_IP or VELOCITY. Resource will be recreated when the type changes.e
velocity number
Velocity (in kilometers per hour). Should be at least 1. Required for VELOCITY behavior
location_granularity_type str
Determines the method and level of detail used to evaluate the behavior. Required for ANOMALOUS_LOCATION behavior type. Can be set to LAT_LONG, CITY, COUNTRY or SUBDIVISION.
name str
Name of the behavior
number_of_authentications int
The number of recent authentications used to evaluate the behavior. Required for ANOMALOUS_LOCATION, ANOMALOUS_DEVICE and ANOMALOUS_IP behavior types.
radius_from_location int
Radius from location (in kilometers). Should be at least 5. Required when location_granularity_type is set to LAT_LONG.
status str
Behavior status: ACTIVE or INACTIVE. Default: ACTIVE
type Changes to this property will trigger replacement. str
Type of the behavior. Can be set to ANOMALOUS_LOCATION, ANOMALOUS_DEVICE, ANOMALOUS_IP or VELOCITY. Resource will be recreated when the type changes.e
velocity int
Velocity (in kilometers per hour). Should be at least 1. Required for VELOCITY behavior
locationGranularityType String
Determines the method and level of detail used to evaluate the behavior. Required for ANOMALOUS_LOCATION behavior type. Can be set to LAT_LONG, CITY, COUNTRY or SUBDIVISION.
name String
Name of the behavior
numberOfAuthentications Number
The number of recent authentications used to evaluate the behavior. Required for ANOMALOUS_LOCATION, ANOMALOUS_DEVICE and ANOMALOUS_IP behavior types.
radiusFromLocation Number
Radius from location (in kilometers). Should be at least 5. Required when location_granularity_type is set to LAT_LONG.
status String
Behavior status: ACTIVE or INACTIVE. Default: ACTIVE
type Changes to this property will trigger replacement. String
Type of the behavior. Can be set to ANOMALOUS_LOCATION, ANOMALOUS_DEVICE, ANOMALOUS_IP or VELOCITY. Resource will be recreated when the type changes.e
velocity Number
Velocity (in kilometers per hour). Should be at least 1. Required for VELOCITY behavior

Import

$ pulumi import okta:index/behaviour:Behaviour example <behavior_id>
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
Okta pulumi/pulumi-okta
License
Apache-2.0
Notes
This Pulumi package is based on the okta Terraform Provider.