1. Registry
  2. Packages
  3. Azure Native
  4. API Docs
  5. securityinsights
  6. Hunt
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Viewing docs for Azure Native v3.32.0
published on Wednesday, Nov 18, 2026 by Pulumi
azure-native logo Azure Native
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Viewing docs for Azure Native v3.32.0
published on Wednesday, Nov 18, 2026 by Pulumi

    Represents a Hunt in Azure Security Insights.

    Uses Azure REST API version 2025-01-01-preview. In version 2.x of the Azure Native provider, it used API version 2023-06-01-preview.

    Other available API versions: 2023-04-01-preview, 2023-05-01-preview, 2023-06-01-preview, 2023-07-01-preview, 2023-08-01-preview, 2023-09-01-preview, 2023-10-01-preview, 2023-12-01-preview, 2024-01-01-preview, 2024-04-01-preview, 2024-10-01-preview, 2025-04-01-preview, 2025-07-01-preview, 2025-10-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native securityinsights [ApiVersion]. See the version guide for details.

    Example Usage

    Creates or updates a hunt.

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var hunt = new AzureNative.SecurityInsights.Hunt("hunt", new()
        {
            AttackTactics = 
            {
                AzureNative.SecurityInsights.AttackTactic.Reconnaissance,
            },
            AttackTechniques = new[]
            {
                "T1595",
            },
            Description = "Log4J Hunt Description",
            DisplayName = "Log4J new hunt",
            HuntId = "163e7b2a-a2ec-4041-aaba-d878a38f265f",
            HypothesisStatus = AzureNative.SecurityInsights.HypothesisStatus.Unknown,
            Labels = new[]
            {
                "Label1",
                "Label2",
            },
            Owner = new AzureNative.SecurityInsights.Inputs.HuntOwnerArgs
            {
                ObjectId = "873b5263-5d34-4149-b356-ad341b01e123",
            },
            ResourceGroupName = "myRg",
            Status = AzureNative.SecurityInsights.Status.New,
            WorkspaceName = "myWorkspace",
        });
    
    });
    
    package main
    
    import (
    	securityinsights "github.com/pulumi/pulumi-azure-native-sdk/securityinsights/v3"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := securityinsights.NewHunt(ctx, "hunt", &securityinsights.HuntArgs{
    			AttackTactics: pulumi.StringArray{
    				pulumi.String(securityinsights.AttackTacticReconnaissance),
    			},
    			AttackTechniques: pulumi.StringArray{
    				pulumi.String("T1595"),
    			},
    			Description:      pulumi.String("Log4J Hunt Description"),
    			DisplayName:      pulumi.String("Log4J new hunt"),
    			HuntId:           pulumi.String("163e7b2a-a2ec-4041-aaba-d878a38f265f"),
    			HypothesisStatus: pulumi.String(securityinsights.HypothesisStatusUnknown),
    			Labels: pulumi.StringArray{
    				pulumi.String("Label1"),
    				pulumi.String("Label2"),
    			},
    			Owner: &securityinsights.HuntOwnerArgs{
    				ObjectId: pulumi.String("873b5263-5d34-4149-b356-ad341b01e123"),
    			},
    			ResourceGroupName: pulumi.String("myRg"),
    			Status:            pulumi.String(securityinsights.StatusNew),
    			WorkspaceName:     pulumi.String("myWorkspace"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    terraform {
      required_providers {
        azure-native = {
          source = "pulumi/azure-native"
        }
      }
    }
    
    resource "azure-native_securityinsights_hunt" "hunt" {
      lifecycle {
        create_before_destroy = true
      }
      attack_tactics    = ["Reconnaissance"]
      attack_techniques = ["T1595"]
      description       = "Log4J Hunt Description"
      display_name      = "Log4J new hunt"
      hunt_id           = "163e7b2a-a2ec-4041-aaba-d878a38f265f"
      hypothesis_status = "Unknown"
      labels            = ["Label1", "Label2"]
      owner = {
        object_id = "873b5263-5d34-4149-b356-ad341b01e123"
      }
      resource_group_name = "myRg"
      status              = "New"
      workspace_name      = "myWorkspace"
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.securityinsights.Hunt;
    import com.pulumi.azurenative.securityinsights.HuntArgs;
    import com.pulumi.azurenative.securityinsights.inputs.HuntOwnerArgs;
    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) {
            var hunt = new Hunt("hunt", HuntArgs.builder()
                .attackTactics("Reconnaissance")
                .attackTechniques("T1595")
                .description("Log4J Hunt Description")
                .displayName("Log4J new hunt")
                .huntId("163e7b2a-a2ec-4041-aaba-d878a38f265f")
                .hypothesisStatus("Unknown")
                .labels(            
                    "Label1",
                    "Label2")
                .owner(HuntOwnerArgs.builder()
                    .objectId("873b5263-5d34-4149-b356-ad341b01e123")
                    .build())
                .resourceGroupName("myRg")
                .status("New")
                .workspaceName("myWorkspace")
                .build());
    
        }
    }
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const hunt = new azure_native.securityinsights.Hunt("hunt", {
        attackTactics: [azure_native.securityinsights.AttackTactic.Reconnaissance],
        attackTechniques: ["T1595"],
        description: "Log4J Hunt Description",
        displayName: "Log4J new hunt",
        huntId: "163e7b2a-a2ec-4041-aaba-d878a38f265f",
        hypothesisStatus: azure_native.securityinsights.HypothesisStatus.Unknown,
        labels: [
            "Label1",
            "Label2",
        ],
        owner: {
            objectId: "873b5263-5d34-4149-b356-ad341b01e123",
        },
        resourceGroupName: "myRg",
        status: azure_native.securityinsights.Status.New,
        workspaceName: "myWorkspace",
    });
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    hunt = azure_native.securityinsights.Hunt("hunt",
        attack_tactics=[azure_native.securityinsights.AttackTactic.RECONNAISSANCE],
        attack_techniques=["T1595"],
        description="Log4J Hunt Description",
        display_name="Log4J new hunt",
        hunt_id="163e7b2a-a2ec-4041-aaba-d878a38f265f",
        hypothesis_status=azure_native.securityinsights.HypothesisStatus.UNKNOWN,
        labels=[
            "Label1",
            "Label2",
        ],
        owner={
            "object_id": "873b5263-5d34-4149-b356-ad341b01e123",
        },
        resource_group_name="myRg",
        status=azure_native.securityinsights.Status.NEW,
        workspace_name="myWorkspace")
    
    resources:
      hunt:
        type: azure-native:securityinsights:Hunt
        properties:
          attackTactics:
            - Reconnaissance
          attackTechniques:
            - T1595
          description: Log4J Hunt Description
          displayName: Log4J new hunt
          huntId: 163e7b2a-a2ec-4041-aaba-d878a38f265f
          hypothesisStatus: Unknown
          labels:
            - Label1
            - Label2
          owner:
            objectId: 873b5263-5d34-4149-b356-ad341b01e123
          resourceGroupName: myRg
          status: New
          workspaceName: myWorkspace
    

    Create Hunt Resource

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

    Constructor syntax

    new Hunt(name: string, args: HuntArgs, opts?: CustomResourceOptions);
    @overload
    def Hunt(resource_name: str,
             args: HuntArgs,
             opts: Optional[ResourceOptions] = None)
    
    @overload
    def Hunt(resource_name: str,
             opts: Optional[ResourceOptions] = None,
             description: Optional[str] = None,
             display_name: Optional[str] = None,
             resource_group_name: Optional[str] = None,
             workspace_name: Optional[str] = None,
             attack_tactics: Optional[Sequence[Union[str, AttackTactic]]] = None,
             attack_techniques: Optional[Sequence[str]] = None,
             hunt_id: Optional[str] = None,
             hypothesis_status: Optional[Union[str, HypothesisStatus]] = None,
             labels: Optional[Sequence[str]] = None,
             owner: Optional[HuntOwnerArgs] = None,
             status: Optional[Union[str, Status]] = None)
    func NewHunt(ctx *Context, name string, args HuntArgs, opts ...ResourceOption) (*Hunt, error)
    public Hunt(string name, HuntArgs args, CustomResourceOptions? opts = null)
    public Hunt(String name, HuntArgs args)
    public Hunt(String name, HuntArgs args, CustomResourceOptions options)
    
    type: azure-native:securityinsights:Hunt
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "azure-native_securityinsights_hunt" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args HuntArgs
    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 HuntArgs
    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 HuntArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args HuntArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args HuntArgs
    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 huntResource = new AzureNative.SecurityInsights.Hunt("huntResource", new()
    {
        Description = "string",
        DisplayName = "string",
        ResourceGroupName = "string",
        WorkspaceName = "string",
        AttackTactics = 
        {
            "string",
        },
        AttackTechniques = new[]
        {
            "string",
        },
        HuntId = "string",
        HypothesisStatus = "string",
        Labels = new[]
        {
            "string",
        },
        Owner = new AzureNative.SecurityInsights.Inputs.HuntOwnerArgs
        {
            AssignedTo = "string",
            Email = "string",
            ObjectId = "string",
            OwnerType = "string",
            UserPrincipalName = "string",
        },
        Status = "string",
    });
    
    example, err := securityinsights.NewHunt(ctx, "huntResource", &securityinsights.HuntArgs{
    	Description:       pulumi.String("string"),
    	DisplayName:       pulumi.String("string"),
    	ResourceGroupName: pulumi.String("string"),
    	WorkspaceName:     pulumi.String("string"),
    	AttackTactics: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	AttackTechniques: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	HuntId:           pulumi.String("string"),
    	HypothesisStatus: pulumi.String("string"),
    	Labels: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Owner: &securityinsights.HuntOwnerArgs{
    		AssignedTo:        pulumi.String("string"),
    		Email:             pulumi.String("string"),
    		ObjectId:          pulumi.String("string"),
    		OwnerType:         pulumi.String("string"),
    		UserPrincipalName: pulumi.String("string"),
    	},
    	Status: pulumi.String("string"),
    })
    
    resource "azure-native_securityinsights_hunt" "huntResource" {
      lifecycle {
        create_before_destroy = true
      }
      description         = "string"
      display_name        = "string"
      resource_group_name = "string"
      workspace_name      = "string"
      attack_tactics      = ["string"]
      attack_techniques   = ["string"]
      hunt_id             = "string"
      hypothesis_status   = "string"
      labels              = ["string"]
      owner = {
        assigned_to         = "string"
        email               = "string"
        object_id           = "string"
        owner_type          = "string"
        user_principal_name = "string"
      }
      status = "string"
    }
    
    var huntResource = new Hunt("huntResource", HuntArgs.builder()
        .description("string")
        .displayName("string")
        .resourceGroupName("string")
        .workspaceName("string")
        .attackTactics("string")
        .attackTechniques("string")
        .huntId("string")
        .hypothesisStatus("string")
        .labels("string")
        .owner(HuntOwnerArgs.builder()
            .assignedTo("string")
            .email("string")
            .objectId("string")
            .ownerType("string")
            .userPrincipalName("string")
            .build())
        .status("string")
        .build());
    
    hunt_resource = azure_native.securityinsights.Hunt("huntResource",
        description="string",
        display_name="string",
        resource_group_name="string",
        workspace_name="string",
        attack_tactics=["string"],
        attack_techniques=["string"],
        hunt_id="string",
        hypothesis_status="string",
        labels=["string"],
        owner={
            "assigned_to": "string",
            "email": "string",
            "object_id": "string",
            "owner_type": "string",
            "user_principal_name": "string",
        },
        status="string")
    
    const huntResource = new azure_native.securityinsights.Hunt("huntResource", {
        description: "string",
        displayName: "string",
        resourceGroupName: "string",
        workspaceName: "string",
        attackTactics: ["string"],
        attackTechniques: ["string"],
        huntId: "string",
        hypothesisStatus: "string",
        labels: ["string"],
        owner: {
            assignedTo: "string",
            email: "string",
            objectId: "string",
            ownerType: "string",
            userPrincipalName: "string",
        },
        status: "string",
    });
    
    type: azure-native:securityinsights:Hunt
    properties:
        attackTactics:
            - string
        attackTechniques:
            - string
        description: string
        displayName: string
        huntId: string
        hypothesisStatus: string
        labels:
            - string
        owner:
            assignedTo: string
            email: string
            objectId: string
            ownerType: string
            userPrincipalName: string
        resourceGroupName: string
        status: string
        workspaceName: string
    

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

    Description string
    The description of the hunt
    DisplayName string
    The display name of the hunt
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    WorkspaceName string
    The name of the workspace.
    AttackTactics List<Union<string, Pulumi.AzureNative.SecurityInsights.AttackTactic>>
    A list of mitre attack tactics the hunt is associated with
    AttackTechniques List<string>
    A list of a mitre attack techniques the hunt is associated with
    HuntId string
    The hunt id (GUID)
    HypothesisStatus string | Pulumi.AzureNative.SecurityInsights.HypothesisStatus
    The hypothesis status of the hunt.
    Labels List<string>
    List of labels relevant to this hunt
    Owner Pulumi.AzureNative.SecurityInsights.Inputs.HuntOwner
    Describes a user that the hunt is assigned to
    Status string | Pulumi.AzureNative.SecurityInsights.Status
    The status of the hunt.
    Description string
    The description of the hunt
    DisplayName string
    The display name of the hunt
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    WorkspaceName string
    The name of the workspace.
    AttackTactics []string
    A list of mitre attack tactics the hunt is associated with
    AttackTechniques []string
    A list of a mitre attack techniques the hunt is associated with
    HuntId string
    The hunt id (GUID)
    HypothesisStatus string | HypothesisStatus
    The hypothesis status of the hunt.
    Labels []string
    List of labels relevant to this hunt
    Owner HuntOwnerArgs
    Describes a user that the hunt is assigned to
    Status string | Status
    The status of the hunt.
    description string
    The description of the hunt
    display_name string
    The display name of the hunt
    resource_group_name string
    The name of the resource group. The name is case insensitive.
    workspace_name string
    The name of the workspace.
    attack_tactics list(string | "Reconnaissance" | "ResourceDevelopment" | "InitialAccess" | "Execution" | "Persistence" | "PrivilegeEscalation" | "DefenseEvasion" | "CredentialAccess" | "Discovery" | "LateralMovement" | "Collection" | "Exfiltration" | "CommandAndControl" | "Impact" | "PreAttack" | "ImpairProcessControl" | "InhibitResponseFunction")
    A list of mitre attack tactics the hunt is associated with
    attack_techniques list(string)
    A list of a mitre attack techniques the hunt is associated with
    hunt_id string
    The hunt id (GUID)
    hypothesis_status string | "Unknown" | "Invalidated" | "Validated"
    The hypothesis status of the hunt.
    labels list(string)
    List of labels relevant to this hunt
    owner object
    Describes a user that the hunt is assigned to
    status string | "New" | "Active" | "Closed" | "Backlog" | "Approved"
    The status of the hunt.
    description String
    The description of the hunt
    displayName String
    The display name of the hunt
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    workspaceName String
    The name of the workspace.
    attackTactics List<Either<String,AttackTactic>>
    A list of mitre attack tactics the hunt is associated with
    attackTechniques List<String>
    A list of a mitre attack techniques the hunt is associated with
    huntId String
    The hunt id (GUID)
    hypothesisStatus String | HypothesisStatus
    The hypothesis status of the hunt.
    labels List<String>
    List of labels relevant to this hunt
    owner HuntOwner
    Describes a user that the hunt is assigned to
    status String | Status
    The status of the hunt.
    description string
    The description of the hunt
    displayName string
    The display name of the hunt
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    workspaceName string
    The name of the workspace.
    attackTactics (string | AttackTactic)[]
    A list of mitre attack tactics the hunt is associated with
    attackTechniques string[]
    A list of a mitre attack techniques the hunt is associated with
    huntId string
    The hunt id (GUID)
    hypothesisStatus string | HypothesisStatus
    The hypothesis status of the hunt.
    labels string[]
    List of labels relevant to this hunt
    owner HuntOwner
    Describes a user that the hunt is assigned to
    status string | Status
    The status of the hunt.
    description str
    The description of the hunt
    display_name str
    The display name of the hunt
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    workspace_name str
    The name of the workspace.
    attack_tactics Sequence[Union[str, AttackTactic]]
    A list of mitre attack tactics the hunt is associated with
    attack_techniques Sequence[str]
    A list of a mitre attack techniques the hunt is associated with
    hunt_id str
    The hunt id (GUID)
    hypothesis_status str | HypothesisStatus
    The hypothesis status of the hunt.
    labels Sequence[str]
    List of labels relevant to this hunt
    owner HuntOwnerArgs
    Describes a user that the hunt is assigned to
    status str | Status
    The status of the hunt.
    description String
    The description of the hunt
    displayName String
    The display name of the hunt
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    workspaceName String
    The name of the workspace.
    attackTactics List<String | "Reconnaissance" | "ResourceDevelopment" | "InitialAccess" | "Execution" | "Persistence" | "PrivilegeEscalation" | "DefenseEvasion" | "CredentialAccess" | "Discovery" | "LateralMovement" | "Collection" | "Exfiltration" | "CommandAndControl" | "Impact" | "PreAttack" | "ImpairProcessControl" | "InhibitResponseFunction">
    A list of mitre attack tactics the hunt is associated with
    attackTechniques List<String>
    A list of a mitre attack techniques the hunt is associated with
    huntId String
    The hunt id (GUID)
    hypothesisStatus String | "Unknown" | "Invalidated" | "Validated"
    The hypothesis status of the hunt.
    labels List<String>
    List of labels relevant to this hunt
    owner Property Map
    Describes a user that the hunt is assigned to
    status String | "New" | "Active" | "Closed" | "Backlog" | "Approved"
    The status of the hunt.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Hunt resource produces the following output properties:

    AzureApiVersion string
    The Azure API version of the resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the resource
    SystemData Pulumi.AzureNative.SecurityInsights.Outputs.SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    Etag string
    Etag of the azure resource
    AzureApiVersion string
    The Azure API version of the resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the resource
    SystemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    Etag string
    Etag of the azure resource
    azure_api_version string
    The Azure API version of the resource.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The name of the resource
    system_data object
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    etag string
    Etag of the azure resource
    azureApiVersion String
    The Azure API version of the resource.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the resource
    systemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    etag String
    Etag of the azure resource
    azureApiVersion string
    The Azure API version of the resource.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The name of the resource
    systemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    etag string
    Etag of the azure resource
    azure_api_version str
    The Azure API version of the resource.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    The name of the resource
    system_data SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type str
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    etag str
    Etag of the azure resource
    azureApiVersion String
    The Azure API version of the resource.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the resource
    systemData Property Map
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    etag String
    Etag of the azure resource

    Look up Existing Hunt Resource

    Get an existing Hunt 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>, opts?: CustomResourceOptions): Hunt
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None) -> Hunt
    func GetHunt(ctx *Context, name string, id IDInput, state *HuntState, opts ...ResourceOption) (*Hunt, error)
    public static Hunt Get(string name, Input<string> id, CustomResourceOptions? opts = null)
    public static Hunt get(String name, Output<String> id, CustomResourceOptions options)
    resources:  existingHunt:    type: azure-native:securityinsights:Hunt    get:      id: ${id}
    import {
      to = azure-native_securityinsights_hunt.example
      id = "${id}"
    }
    
    name string
    The unique name of the resulting resource.
    id Input<ID>
    The unique provider ID of the resource to look up.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resulting resource.
    id str
    The unique provider ID of the resource to look up.
    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 resulting resource.
    id IDInput
    The unique provider ID of the resource to look up.
    state HuntState
    Pass nil. This resource has no state arguments.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resulting resource.
    id Input<string>
    The unique provider ID of the resource to look up.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resulting resource.
    id Output<String>
    The unique provider ID of the resource to look up.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Supporting Types

    AttackTactic

    The severity for alerts created by this alert rule.

    NameValue
    ReconnaissanceReconnaissance
    ResourceDevelopmentResourceDevelopment
    InitialAccessInitialAccess
    ExecutionExecution
    PersistencePersistence
    PrivilegeEscalationPrivilegeEscalation
    DefenseEvasionDefenseEvasion
    CredentialAccessCredentialAccess
    DiscoveryDiscovery
    LateralMovementLateralMovement
    CollectionCollection
    ExfiltrationExfiltration
    CommandAndControlCommandAndControl
    ImpactImpact
    PreAttackPreAttack
    ImpairProcessControlImpairProcessControl
    InhibitResponseFunctionInhibitResponseFunction
    NameValue
    AttackTacticReconnaissanceReconnaissance
    AttackTacticResourceDevelopmentResourceDevelopment
    AttackTacticInitialAccessInitialAccess
    AttackTacticExecutionExecution
    AttackTacticPersistencePersistence
    AttackTacticPrivilegeEscalationPrivilegeEscalation
    AttackTacticDefenseEvasionDefenseEvasion
    AttackTacticCredentialAccessCredentialAccess
    AttackTacticDiscoveryDiscovery
    AttackTacticLateralMovementLateralMovement
    AttackTacticCollectionCollection
    AttackTacticExfiltrationExfiltration
    AttackTacticCommandAndControlCommandAndControl
    AttackTacticImpactImpact
    AttackTacticPreAttackPreAttack
    AttackTacticImpairProcessControlImpairProcessControl
    AttackTacticInhibitResponseFunctionInhibitResponseFunction
    Value
    Reconnaissance
    ResourceDevelopment
    InitialAccess
    Execution
    Persistence
    PrivilegeEscalation
    DefenseEvasion
    CredentialAccess
    Discovery
    LateralMovement
    Collection
    Exfiltration
    CommandAndControl
    Impact
    PreAttack
    ImpairProcessControl
    InhibitResponseFunction
    NameValue
    ReconnaissanceReconnaissance
    ResourceDevelopmentResourceDevelopment
    InitialAccessInitialAccess
    ExecutionExecution
    PersistencePersistence
    PrivilegeEscalationPrivilegeEscalation
    DefenseEvasionDefenseEvasion
    CredentialAccessCredentialAccess
    DiscoveryDiscovery
    LateralMovementLateralMovement
    CollectionCollection
    ExfiltrationExfiltration
    CommandAndControlCommandAndControl
    ImpactImpact
    PreAttackPreAttack
    ImpairProcessControlImpairProcessControl
    InhibitResponseFunctionInhibitResponseFunction
    NameValue
    ReconnaissanceReconnaissance
    ResourceDevelopmentResourceDevelopment
    InitialAccessInitialAccess
    ExecutionExecution
    PersistencePersistence
    PrivilegeEscalationPrivilegeEscalation
    DefenseEvasionDefenseEvasion
    CredentialAccessCredentialAccess
    DiscoveryDiscovery
    LateralMovementLateralMovement
    CollectionCollection
    ExfiltrationExfiltration
    CommandAndControlCommandAndControl
    ImpactImpact
    PreAttackPreAttack
    ImpairProcessControlImpairProcessControl
    InhibitResponseFunctionInhibitResponseFunction
    NameValue
    RECONNAISSANCEReconnaissance
    RESOURCE_DEVELOPMENTResourceDevelopment
    INITIAL_ACCESSInitialAccess
    EXECUTIONExecution
    PERSISTENCEPersistence
    PRIVILEGE_ESCALATIONPrivilegeEscalation
    DEFENSE_EVASIONDefenseEvasion
    CREDENTIAL_ACCESSCredentialAccess
    DISCOVERYDiscovery
    LATERAL_MOVEMENTLateralMovement
    COLLECTIONCollection
    EXFILTRATIONExfiltration
    COMMAND_AND_CONTROLCommandAndControl
    IMPACTImpact
    PRE_ATTACKPreAttack
    IMPAIR_PROCESS_CONTROLImpairProcessControl
    INHIBIT_RESPONSE_FUNCTIONInhibitResponseFunction
    Value
    Reconnaissance
    ResourceDevelopment
    InitialAccess
    Execution
    Persistence
    PrivilegeEscalation
    DefenseEvasion
    CredentialAccess
    Discovery
    LateralMovement
    Collection
    Exfiltration
    CommandAndControl
    Impact
    PreAttack
    ImpairProcessControl
    InhibitResponseFunction

    HuntOwner, HuntOwnerArgs

    Describes a user that the hunt is assigned to

    AssignedTo string
    The name of the user the hunt is assigned to.
    Email string
    The email of the user the hunt is assigned to.
    ObjectId string
    The object id of the user the hunt is assigned to.
    OwnerType string | Pulumi.AzureNative.SecurityInsights.OwnerType
    The type of the owner the hunt is assigned to.
    UserPrincipalName string
    The user principal name of the user the hunt is assigned to.
    AssignedTo string
    The name of the user the hunt is assigned to.
    Email string
    The email of the user the hunt is assigned to.
    ObjectId string
    The object id of the user the hunt is assigned to.
    OwnerType string | OwnerType
    The type of the owner the hunt is assigned to.
    UserPrincipalName string
    The user principal name of the user the hunt is assigned to.
    assigned_to string
    The name of the user the hunt is assigned to.
    email string
    The email of the user the hunt is assigned to.
    object_id string
    The object id of the user the hunt is assigned to.
    owner_type string | "Unknown" | "User" | "Group"
    The type of the owner the hunt is assigned to.
    user_principal_name string
    The user principal name of the user the hunt is assigned to.
    assignedTo String
    The name of the user the hunt is assigned to.
    email String
    The email of the user the hunt is assigned to.
    objectId String
    The object id of the user the hunt is assigned to.
    ownerType String | OwnerType
    The type of the owner the hunt is assigned to.
    userPrincipalName String
    The user principal name of the user the hunt is assigned to.
    assignedTo string
    The name of the user the hunt is assigned to.
    email string
    The email of the user the hunt is assigned to.
    objectId string
    The object id of the user the hunt is assigned to.
    ownerType string | OwnerType
    The type of the owner the hunt is assigned to.
    userPrincipalName string
    The user principal name of the user the hunt is assigned to.
    assigned_to str
    The name of the user the hunt is assigned to.
    email str
    The email of the user the hunt is assigned to.
    object_id str
    The object id of the user the hunt is assigned to.
    owner_type str | OwnerType
    The type of the owner the hunt is assigned to.
    user_principal_name str
    The user principal name of the user the hunt is assigned to.
    assignedTo String
    The name of the user the hunt is assigned to.
    email String
    The email of the user the hunt is assigned to.
    objectId String
    The object id of the user the hunt is assigned to.
    ownerType String | "Unknown" | "User" | "Group"
    The type of the owner the hunt is assigned to.
    userPrincipalName String
    The user principal name of the user the hunt is assigned to.

    HuntOwnerResponse

    Describes a user that the hunt is assigned to

    AssignedTo string
    The name of the user the hunt is assigned to.
    Email string
    The email of the user the hunt is assigned to.
    ObjectId string
    The object id of the user the hunt is assigned to.
    OwnerType string
    The type of the owner the hunt is assigned to.
    UserPrincipalName string
    The user principal name of the user the hunt is assigned to.
    AssignedTo string
    The name of the user the hunt is assigned to.
    Email string
    The email of the user the hunt is assigned to.
    ObjectId string
    The object id of the user the hunt is assigned to.
    OwnerType string
    The type of the owner the hunt is assigned to.
    UserPrincipalName string
    The user principal name of the user the hunt is assigned to.
    assigned_to string
    The name of the user the hunt is assigned to.
    email string
    The email of the user the hunt is assigned to.
    object_id string
    The object id of the user the hunt is assigned to.
    owner_type string
    The type of the owner the hunt is assigned to.
    user_principal_name string
    The user principal name of the user the hunt is assigned to.
    assignedTo String
    The name of the user the hunt is assigned to.
    email String
    The email of the user the hunt is assigned to.
    objectId String
    The object id of the user the hunt is assigned to.
    ownerType String
    The type of the owner the hunt is assigned to.
    userPrincipalName String
    The user principal name of the user the hunt is assigned to.
    assignedTo string
    The name of the user the hunt is assigned to.
    email string
    The email of the user the hunt is assigned to.
    objectId string
    The object id of the user the hunt is assigned to.
    ownerType string
    The type of the owner the hunt is assigned to.
    userPrincipalName string
    The user principal name of the user the hunt is assigned to.
    assigned_to str
    The name of the user the hunt is assigned to.
    email str
    The email of the user the hunt is assigned to.
    object_id str
    The object id of the user the hunt is assigned to.
    owner_type str
    The type of the owner the hunt is assigned to.
    user_principal_name str
    The user principal name of the user the hunt is assigned to.
    assignedTo String
    The name of the user the hunt is assigned to.
    email String
    The email of the user the hunt is assigned to.
    objectId String
    The object id of the user the hunt is assigned to.
    ownerType String
    The type of the owner the hunt is assigned to.
    userPrincipalName String
    The user principal name of the user the hunt is assigned to.

    HypothesisStatus

    The hypothesis status of the hunt.

    NameValue
    UnknownUnknown
    InvalidatedInvalidated
    ValidatedValidated
    NameValue
    HypothesisStatusUnknownUnknown
    HypothesisStatusInvalidatedInvalidated
    HypothesisStatusValidatedValidated
    Value
    Unknown
    Invalidated
    Validated
    NameValue
    UnknownUnknown
    InvalidatedInvalidated
    ValidatedValidated
    NameValue
    UnknownUnknown
    InvalidatedInvalidated
    ValidatedValidated
    NameValue
    UNKNOWNUnknown
    INVALIDATEDInvalidated
    VALIDATEDValidated
    Value
    Unknown
    Invalidated
    Validated

    OwnerType

    The type of the owner the incident is assigned to.

    NameValueDescription
    UnknownUnknownThe incident owner type is unknown
    UserUserThe incident owner type is an AAD user
    GroupGroupThe incident owner type is an AAD group
    NameValueDescription
    OwnerTypeUnknownUnknownThe incident owner type is unknown
    OwnerTypeUserUserThe incident owner type is an AAD user
    OwnerTypeGroupGroupThe incident owner type is an AAD group
    ValueDescription
    UnknownThe incident owner type is unknown
    UserThe incident owner type is an AAD user
    GroupThe incident owner type is an AAD group
    NameValueDescription
    UnknownUnknownThe incident owner type is unknown
    UserUserThe incident owner type is an AAD user
    GroupGroupThe incident owner type is an AAD group
    NameValueDescription
    UnknownUnknownThe incident owner type is unknown
    UserUserThe incident owner type is an AAD user
    GroupGroupThe incident owner type is an AAD group
    NameValueDescription
    UNKNOWNUnknownThe incident owner type is unknown
    USERUserThe incident owner type is an AAD user
    GROUPGroupThe incident owner type is an AAD group
    ValueDescription
    UnknownThe incident owner type is unknown
    UserThe incident owner type is an AAD user
    GroupThe incident owner type is an AAD group

    Status

    The status of the hunt.

    NameValue
    NewNew
    ActiveActive
    ClosedClosed
    BacklogBacklog
    ApprovedApproved
    NameValue
    StatusNewNew
    StatusActiveActive
    StatusClosedClosed
    StatusBacklogBacklog
    StatusApprovedApproved
    Value
    New
    Active
    Closed
    Backlog
    Approved
    NameValue
    NewNew
    ActiveActive
    ClosedClosed
    BacklogBacklog
    ApprovedApproved
    NameValue
    NewNew
    ActiveActive
    ClosedClosed
    BacklogBacklog
    ApprovedApproved
    NameValue
    NEWNew
    ACTIVEActive
    CLOSEDClosed
    BACKLOGBacklog
    APPROVEDApproved
    Value
    New
    Active
    Closed
    Backlog
    Approved

    SystemDataResponse

    Metadata pertaining to creation and last modification of the resource.

    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    created_at string
    The timestamp of resource creation (UTC).
    created_by string
    The identity that created the resource.
    created_by_type string
    The type of identity that created the resource.
    last_modified_at string
    The timestamp of resource last modification (UTC)
    last_modified_by string
    The identity that last modified the resource.
    last_modified_by_type string
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.
    createdAt string
    The timestamp of resource creation (UTC).
    createdBy string
    The identity that created the resource.
    createdByType string
    The type of identity that created the resource.
    lastModifiedAt string
    The timestamp of resource last modification (UTC)
    lastModifiedBy string
    The identity that last modified the resource.
    lastModifiedByType string
    The type of identity that last modified the resource.
    created_at str
    The timestamp of resource creation (UTC).
    created_by str
    The identity that created the resource.
    created_by_type str
    The type of identity that created the resource.
    last_modified_at str
    The timestamp of resource last modification (UTC)
    last_modified_by str
    The identity that last modified the resource.
    last_modified_by_type str
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.

    Import

    An existing resource can be imported using its type token, name, and identifier, e.g.

    $ pulumi import azure-native:securityinsights:Hunt 163e7b2a-a2ec-4041-aaba-d878a38f265f /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/hunts/{huntId} 
    

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

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo Azure Native
    This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
    Viewing docs for Azure Native v3.32.0
    published on Wednesday, Nov 18, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial