1. Packages
  2. Okta
  3. API Docs
  4. Behaviour
Okta v4.8.1 published on Thursday, Apr 18, 2024 by Pulumi

okta.Behaviour

Explore with Pulumi AI

okta logo
Okta v4.8.1 published on Thursday, Apr 18, 2024 by Pulumi

    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("myLocation", {
        locationGranularityType: "LAT_LONG",
        numberOfAuthentications: 50,
        radiusFromLocation: 20,
        type: "ANOMALOUS_LOCATION",
    });
    const myCity = new okta.Behaviour("myCity", {
        locationGranularityType: "CITY",
        numberOfAuthentications: 50,
        type: "ANOMALOUS_LOCATION",
    });
    const myDevice = new okta.Behaviour("myDevice", {
        numberOfAuthentications: 50,
        type: "ANOMALOUS_DEVICE",
    });
    const myIp = new okta.Behaviour("myIp", {
        numberOfAuthentications: 50,
        type: "ANOMALOUS_IP",
    });
    const myVelocity = new okta.Behaviour("myVelocity", {
        type: "VELOCITY",
        velocity: 25,
    });
    
    import pulumi
    import pulumi_okta as okta
    
    my_location = okta.Behaviour("myLocation",
        location_granularity_type="LAT_LONG",
        number_of_authentications=50,
        radius_from_location=20,
        type="ANOMALOUS_LOCATION")
    my_city = okta.Behaviour("myCity",
        location_granularity_type="CITY",
        number_of_authentications=50,
        type="ANOMALOUS_LOCATION")
    my_device = okta.Behaviour("myDevice",
        number_of_authentications=50,
        type="ANOMALOUS_DEVICE")
    my_ip = okta.Behaviour("myIp",
        number_of_authentications=50,
        type="ANOMALOUS_IP")
    my_velocity = okta.Behaviour("myVelocity",
        type="VELOCITY",
        velocity=25)
    
    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, "myLocation", &okta.BehaviourArgs{
    			LocationGranularityType: pulumi.String("LAT_LONG"),
    			NumberOfAuthentications: pulumi.Int(50),
    			RadiusFromLocation:      pulumi.Int(20),
    			Type:                    pulumi.String("ANOMALOUS_LOCATION"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = okta.NewBehaviour(ctx, "myCity", &okta.BehaviourArgs{
    			LocationGranularityType: pulumi.String("CITY"),
    			NumberOfAuthentications: pulumi.Int(50),
    			Type:                    pulumi.String("ANOMALOUS_LOCATION"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = okta.NewBehaviour(ctx, "myDevice", &okta.BehaviourArgs{
    			NumberOfAuthentications: pulumi.Int(50),
    			Type:                    pulumi.String("ANOMALOUS_DEVICE"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = okta.NewBehaviour(ctx, "myIp", &okta.BehaviourArgs{
    			NumberOfAuthentications: pulumi.Int(50),
    			Type:                    pulumi.String("ANOMALOUS_IP"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = okta.NewBehaviour(ctx, "myVelocity", &okta.BehaviourArgs{
    			Type:     pulumi.String("VELOCITY"),
    			Velocity: pulumi.Int(25),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Okta = Pulumi.Okta;
    
    return await Deployment.RunAsync(() => 
    {
        var myLocation = new Okta.Behaviour("myLocation", new()
        {
            LocationGranularityType = "LAT_LONG",
            NumberOfAuthentications = 50,
            RadiusFromLocation = 20,
            Type = "ANOMALOUS_LOCATION",
        });
    
        var myCity = new Okta.Behaviour("myCity", new()
        {
            LocationGranularityType = "CITY",
            NumberOfAuthentications = 50,
            Type = "ANOMALOUS_LOCATION",
        });
    
        var myDevice = new Okta.Behaviour("myDevice", new()
        {
            NumberOfAuthentications = 50,
            Type = "ANOMALOUS_DEVICE",
        });
    
        var myIp = new Okta.Behaviour("myIp", new()
        {
            NumberOfAuthentications = 50,
            Type = "ANOMALOUS_IP",
        });
    
        var myVelocity = new Okta.Behaviour("myVelocity", new()
        {
            Type = "VELOCITY",
            Velocity = 25,
        });
    
    });
    
    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()        
                .locationGranularityType("LAT_LONG")
                .numberOfAuthentications(50)
                .radiusFromLocation(20)
                .type("ANOMALOUS_LOCATION")
                .build());
    
            var myCity = new Behaviour("myCity", BehaviourArgs.builder()        
                .locationGranularityType("CITY")
                .numberOfAuthentications(50)
                .type("ANOMALOUS_LOCATION")
                .build());
    
            var myDevice = new Behaviour("myDevice", BehaviourArgs.builder()        
                .numberOfAuthentications(50)
                .type("ANOMALOUS_DEVICE")
                .build());
    
            var myIp = new Behaviour("myIp", BehaviourArgs.builder()        
                .numberOfAuthentications(50)
                .type("ANOMALOUS_IP")
                .build());
    
            var myVelocity = new Behaviour("myVelocity", BehaviourArgs.builder()        
                .type("VELOCITY")
                .velocity(25)
                .build());
    
        }
    }
    
    resources:
      myLocation:
        type: okta:Behaviour
        properties:
          locationGranularityType: LAT_LONG
          numberOfAuthentications: 50
          radiusFromLocation: 20
          type: ANOMALOUS_LOCATION
      myCity:
        type: okta:Behaviour
        properties:
          locationGranularityType: CITY
          numberOfAuthentications: 50
          type: ANOMALOUS_LOCATION
      myDevice:
        type: okta:Behaviour
        properties:
          numberOfAuthentications: 50
          type: ANOMALOUS_DEVICE
      myIp:
        type: okta:Behaviour
        properties:
          numberOfAuthentications: 50
          type: ANOMALOUS_IP
      myVelocity:
        type: okta:Behaviour
        properties:
          type: VELOCITY
          velocity: 25
    

    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 string
    The unique name of the resource.
    args BehaviourArgs
    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 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 string
    The unique name of the resource.
    args BehaviourArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args BehaviourArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args BehaviourArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    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,
    });
    
    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),
    })
    
    var behaviourResource = new Behaviour("behaviourResource", BehaviourArgs.builder()        
        .type("string")
        .locationGranularityType("string")
        .name("string")
        .numberOfAuthentications(0)
        .radiusFromLocation(0)
        .status("string")
        .velocity(0)
        .build());
    
    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)
    
    const behaviourResource = new okta.Behaviour("behaviourResource", {
        type: "string",
        locationGranularityType: "string",
        name: "string",
        numberOfAuthentications: 0,
        radiusFromLocation: 0,
        status: "string",
        velocity: 0,
    });
    
    type: okta:Behaviour
    properties:
        locationGranularityType: string
        name: string
        numberOfAuthentications: 0
        radiusFromLocation: 0
        status: string
        type: string
        velocity: 0
    

    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

    The Behaviour resource accepts the following input properties:

    Type 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.
    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
    The status of the behavior. By default, it is"ACTIVE".
    Velocity int
    Velocity (in kilometers per hour). Should be at least 1. Required for "VELOCITY" behavior type.
    Type 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.
    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
    The status of the behavior. By default, it is"ACTIVE".
    Velocity int
    Velocity (in kilometers per hour). Should be at least 1. Required for "VELOCITY" behavior type.
    type 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.
    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
    The status of the behavior. By default, it is"ACTIVE".
    velocity Integer
    Velocity (in kilometers per hour). Should be at least 1. Required for "VELOCITY" behavior type.
    type 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.
    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
    The status of the behavior. By default, it is"ACTIVE".
    velocity number
    Velocity (in kilometers per hour). Should be at least 1. Required for "VELOCITY" behavior type.
    type 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.
    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
    The status of the behavior. By default, it is"ACTIVE".
    velocity int
    Velocity (in kilometers per hour). Should be at least 1. Required for "VELOCITY" behavior type.
    type 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.
    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
    The status of the behavior. By default, it is"ACTIVE".
    velocity Number
    Velocity (in kilometers per hour). Should be at least 1. Required for "VELOCITY" behavior type.

    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)
    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.
    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
    The status of the behavior. By default, it is"ACTIVE".
    Type 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.
    Velocity int
    Velocity (in kilometers per hour). Should be at least 1. Required for "VELOCITY" behavior type.
    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
    The status of the behavior. By default, it is"ACTIVE".
    Type 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.
    Velocity int
    Velocity (in kilometers per hour). Should be at least 1. Required for "VELOCITY" behavior type.
    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
    The status of the behavior. By default, it is"ACTIVE".
    type 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.
    velocity Integer
    Velocity (in kilometers per hour). Should be at least 1. Required for "VELOCITY" behavior type.
    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
    The status of the behavior. By default, it is"ACTIVE".
    type 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.
    velocity number
    Velocity (in kilometers per hour). Should be at least 1. Required for "VELOCITY" behavior type.
    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
    The status of the behavior. By default, it is"ACTIVE".
    type 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.
    velocity int
    Velocity (in kilometers per hour). Should be at least 1. Required for "VELOCITY" behavior type.
    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
    The status of the behavior. By default, it is"ACTIVE".
    type 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.
    velocity Number
    Velocity (in kilometers per hour). Should be at least 1. Required for "VELOCITY" behavior type.

    Import

    Behavior can be imported via the Okta ID.

    $ pulumi import okta:index/behaviour:Behaviour example &#60;behavior id&#62;
    

    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.
    okta logo
    Okta v4.8.1 published on Thursday, Apr 18, 2024 by Pulumi