1. Registry
  2. Packages
  3. Okta Provider
  4. API Docs
  5. getThreatInsightSettings
Viewing docs for Okta v7.0.0
published on Friday, Sep 11, 2026 by Pulumi
okta logo
Viewing docs for Okta v7.0.0
published on Friday, Sep 11, 2026 by Pulumi

    Retrieves Okta ThreatInsight Settings.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as okta from "@pulumi/okta";
    
    const example = okta.getThreatInsightSettings({});
    
    import pulumi
    import pulumi_okta as okta
    
    example = okta.get_threat_insight_settings()
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-okta/sdk/v7/go/okta"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := okta.GetThreatInsightSettings(ctx, &okta.LookupThreatInsightSettingsArgs{}, nil)
    		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 example = Okta.GetThreatInsightSettings.Invoke();
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.okta.OktaFunctions;
    import com.pulumi.okta.inputs.GetThreatInsightSettingsArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    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) {
            final var example = OktaFunctions.getThreatInsightSettings(GetThreatInsightSettingsArgs.builder()
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: okta:getThreatInsightSettings
          arguments: {}
    
    pulumi {
      required_providers {
        okta = {
          source = "pulumi/okta"
        }
      }
    }
    
    data "okta_getthreatinsightsettings" "example" {
    }
    

    Using getThreatInsightSettings

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getThreatInsightSettings(args: GetThreatInsightSettingsArgs, opts?: InvokeOptions): Promise<GetThreatInsightSettingsResult>
    function getThreatInsightSettingsOutput(args: GetThreatInsightSettingsOutputArgs, opts?: InvokeOutputOptions): Output<GetThreatInsightSettingsResult>
    def get_threat_insight_settings(id: Optional[str] = None,
                                    items: Optional[Sequence[GetThreatInsightSettingsItem]] = None,
                                    opts: Optional[InvokeOptions] = None) -> GetThreatInsightSettingsResult
    def get_threat_insight_settings_output(id: pulumi.Input[Optional[str]] = None,
                                    items: pulumi.Input[Optional[Sequence[pulumi.Input[GetThreatInsightSettingsItemArgs]]]] = None,
                                    opts: Optional[InvokeOutputOptions] = None) -> Output[GetThreatInsightSettingsResult]
    func LookupThreatInsightSettings(ctx *Context, args *LookupThreatInsightSettingsArgs, opts ...InvokeOption) (*LookupThreatInsightSettingsResult, error)
    func LookupThreatInsightSettingsOutput(ctx *Context, args *LookupThreatInsightSettingsOutputArgs, opts ...InvokeOption) LookupThreatInsightSettingsResultOutput

    > Note: This function is named LookupThreatInsightSettings in the Go SDK.

    public static class GetThreatInsightSettings 
    {
        public static Task<GetThreatInsightSettingsResult> InvokeAsync(GetThreatInsightSettingsArgs args, InvokeOptions? opts = null)
        public static Output<GetThreatInsightSettingsResult> Invoke(GetThreatInsightSettingsInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetThreatInsightSettingsResult> Invoke(GetThreatInsightSettingsInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetThreatInsightSettingsResult> getThreatInsightSettings(GetThreatInsightSettingsArgs args, InvokeOptions options)
    public static Output<GetThreatInsightSettingsResult> getThreatInsightSettings(GetThreatInsightSettingsArgs args, InvokeOptions options)
    public static Output<GetThreatInsightSettingsResult> getThreatInsightSettings(GetThreatInsightSettingsArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: okta:index/getThreatInsightSettings:getThreatInsightSettings
      arguments:
        # arguments dictionary
    data "okta_get_threat_insight_settings" "name" {
        # arguments
    }

    The following arguments are supported:

    Id string
    Unique identifier of the threatinsightsettings.
    Items List<GetThreatInsightSettingsItem>
    List of ThreatInsight settings.
    Id string
    Unique identifier of the threatinsightsettings.
    Items []GetThreatInsightSettingsItem
    List of ThreatInsight settings.
    id string
    Unique identifier of the threatinsightsettings.
    items list(object)
    List of ThreatInsight settings.
    id String
    Unique identifier of the threatinsightsettings.
    items List<GetThreatInsightSettingsItem>
    List of ThreatInsight settings.
    id string
    Unique identifier of the threatinsightsettings.
    items GetThreatInsightSettingsItem[]
    List of ThreatInsight settings.
    id str
    Unique identifier of the threatinsightsettings.
    items Sequence[GetThreatInsightSettingsItem]
    List of ThreatInsight settings.
    id String
    Unique identifier of the threatinsightsettings.
    items List<Property Map>
    List of ThreatInsight settings.

    getThreatInsightSettings Result

    The following output properties are available:

    Id string
    Unique identifier of the threatinsightsettings.
    Items List<GetThreatInsightSettingsItem>
    List of ThreatInsight settings.
    Id string
    Unique identifier of the threatinsightsettings.
    Items []GetThreatInsightSettingsItem
    List of ThreatInsight settings.
    id string
    Unique identifier of the threatinsightsettings.
    items list(object)
    List of ThreatInsight settings.
    id String
    Unique identifier of the threatinsightsettings.
    items List<GetThreatInsightSettingsItem>
    List of ThreatInsight settings.
    id string
    Unique identifier of the threatinsightsettings.
    items GetThreatInsightSettingsItem[]
    List of ThreatInsight settings.
    id str
    Unique identifier of the threatinsightsettings.
    items Sequence[GetThreatInsightSettingsItem]
    List of ThreatInsight settings.
    id String
    Unique identifier of the threatinsightsettings.
    items List<Property Map>
    List of ThreatInsight settings.

    Supporting Types

    GetThreatInsightSettingsItem

    Action string
    Specifies how Okta responds to authentication requests from suspicious IPs.
    Created string
    Timestamp when the ThreatInsight Configuration object was created.
    ExcludeZones List<string>
    List of Network Zone IDs excluded from ThreatInsight evaluation.
    Id string
    The unique identifier for the item.
    LastUpdated string
    Timestamp when the ThreatInsight Configuration object was last updated.
    Action string
    Specifies how Okta responds to authentication requests from suspicious IPs.
    Created string
    Timestamp when the ThreatInsight Configuration object was created.
    ExcludeZones []string
    List of Network Zone IDs excluded from ThreatInsight evaluation.
    Id string
    The unique identifier for the item.
    LastUpdated string
    Timestamp when the ThreatInsight Configuration object was last updated.
    action string
    Specifies how Okta responds to authentication requests from suspicious IPs.
    created string
    Timestamp when the ThreatInsight Configuration object was created.
    exclude_zones list(string)
    List of Network Zone IDs excluded from ThreatInsight evaluation.
    id string
    The unique identifier for the item.
    last_updated string
    Timestamp when the ThreatInsight Configuration object was last updated.
    action String
    Specifies how Okta responds to authentication requests from suspicious IPs.
    created String
    Timestamp when the ThreatInsight Configuration object was created.
    excludeZones List<String>
    List of Network Zone IDs excluded from ThreatInsight evaluation.
    id String
    The unique identifier for the item.
    lastUpdated String
    Timestamp when the ThreatInsight Configuration object was last updated.
    action string
    Specifies how Okta responds to authentication requests from suspicious IPs.
    created string
    Timestamp when the ThreatInsight Configuration object was created.
    excludeZones string[]
    List of Network Zone IDs excluded from ThreatInsight evaluation.
    id string
    The unique identifier for the item.
    lastUpdated string
    Timestamp when the ThreatInsight Configuration object was last updated.
    action str
    Specifies how Okta responds to authentication requests from suspicious IPs.
    created str
    Timestamp when the ThreatInsight Configuration object was created.
    exclude_zones Sequence[str]
    List of Network Zone IDs excluded from ThreatInsight evaluation.
    id str
    The unique identifier for the item.
    last_updated str
    Timestamp when the ThreatInsight Configuration object was last updated.
    action String
    Specifies how Okta responds to authentication requests from suspicious IPs.
    created String
    Timestamp when the ThreatInsight Configuration object was created.
    excludeZones List<String>
    List of Network Zone IDs excluded from ThreatInsight evaluation.
    id String
    The unique identifier for the item.
    lastUpdated String
    Timestamp when the ThreatInsight Configuration object was last updated.

    Package Details

    Repository
    Okta pulumi/pulumi-okta
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the okta Terraform Provider.
    okta logo
    Viewing docs for Okta v7.0.0
    published on Friday, Sep 11, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial