1. Packages
  2. Azure Classic
  3. API Docs
  4. sentinel
  5. AlertRuleAnomalyDuplicate

We recommend using Azure Native.

Azure v6.22.0 published on Tuesday, Apr 1, 2025 by Pulumi

azure.sentinel.AlertRuleAnomalyDuplicate

Explore with Pulumi AI

Manages a Duplicated Anomaly Alert Rule.

Example Usage

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

const exampleResourceGroup = new azure.core.ResourceGroup("example", {
    name: "example-resources",
    location: "West Europe",
});
const exampleAnalyticsWorkspace = new azure.operationalinsights.AnalyticsWorkspace("example", {
    name: "example-law",
    location: exampleResourceGroup.location,
    resourceGroupName: exampleResourceGroup.name,
    sku: "PerGB2018",
});
const exampleLogAnalyticsWorkspaceOnboarding = new azure.sentinel.LogAnalyticsWorkspaceOnboarding("example", {
    workspaceId: exampleAnalyticsWorkspace.id,
    customerManagedKeyEnabled: false,
});
const example = azure.sentinel.getAlertRuleAnomalyOutput({
    logAnalyticsWorkspaceId: exampleLogAnalyticsWorkspaceOnboarding.workspaceId,
    displayName: "UEBA Anomalous Sign In",
});
const exampleAlertRuleAnomalyDuplicate = new azure.sentinel.AlertRuleAnomalyDuplicate("example", {
    displayName: "example duplicated UEBA Anomalous Sign In",
    logAnalyticsWorkspaceId: exampleAnalyticsWorkspace.id,
    builtInRuleId: example.apply(example => example.id),
    enabled: true,
    mode: "Flighting",
    thresholdObservations: [{
        name: "Anomaly score threshold",
        value: "0.6",
    }],
});
Copy
import pulumi
import pulumi_azure as azure

example_resource_group = azure.core.ResourceGroup("example",
    name="example-resources",
    location="West Europe")
example_analytics_workspace = azure.operationalinsights.AnalyticsWorkspace("example",
    name="example-law",
    location=example_resource_group.location,
    resource_group_name=example_resource_group.name,
    sku="PerGB2018")
example_log_analytics_workspace_onboarding = azure.sentinel.LogAnalyticsWorkspaceOnboarding("example",
    workspace_id=example_analytics_workspace.id,
    customer_managed_key_enabled=False)
example = azure.sentinel.get_alert_rule_anomaly_output(log_analytics_workspace_id=example_log_analytics_workspace_onboarding.workspace_id,
    display_name="UEBA Anomalous Sign In")
example_alert_rule_anomaly_duplicate = azure.sentinel.AlertRuleAnomalyDuplicate("example",
    display_name="example duplicated UEBA Anomalous Sign In",
    log_analytics_workspace_id=example_analytics_workspace.id,
    built_in_rule_id=example.id,
    enabled=True,
    mode="Flighting",
    threshold_observations=[{
        "name": "Anomaly score threshold",
        "value": "0.6",
    }])
Copy
package main

import (
	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/operationalinsights"
	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/sentinel"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAnalyticsWorkspace, err := operationalinsights.NewAnalyticsWorkspace(ctx, "example", &operationalinsights.AnalyticsWorkspaceArgs{
			Name:              pulumi.String("example-law"),
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			Sku:               pulumi.String("PerGB2018"),
		})
		if err != nil {
			return err
		}
		exampleLogAnalyticsWorkspaceOnboarding, err := sentinel.NewLogAnalyticsWorkspaceOnboarding(ctx, "example", &sentinel.LogAnalyticsWorkspaceOnboardingArgs{
			WorkspaceId:               exampleAnalyticsWorkspace.ID(),
			CustomerManagedKeyEnabled: pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		example := sentinel.GetAlertRuleAnomalyOutput(ctx, sentinel.GetAlertRuleAnomalyOutputArgs{
			LogAnalyticsWorkspaceId: exampleLogAnalyticsWorkspaceOnboarding.WorkspaceId,
			DisplayName:             pulumi.String("UEBA Anomalous Sign In"),
		}, nil)
		_, err = sentinel.NewAlertRuleAnomalyDuplicate(ctx, "example", &sentinel.AlertRuleAnomalyDuplicateArgs{
			DisplayName:             pulumi.String("example duplicated UEBA Anomalous Sign In"),
			LogAnalyticsWorkspaceId: exampleAnalyticsWorkspace.ID(),
			BuiltInRuleId: pulumi.String(example.ApplyT(func(example sentinel.GetAlertRuleAnomalyResult) (*string, error) {
				return &example.Id, nil
			}).(pulumi.StringPtrOutput)),
			Enabled: pulumi.Bool(true),
			Mode:    pulumi.String("Flighting"),
			ThresholdObservations: sentinel.AlertRuleAnomalyDuplicateThresholdObservationArray{
				&sentinel.AlertRuleAnomalyDuplicateThresholdObservationArgs{
					Name:  pulumi.String("Anomaly score threshold"),
					Value: pulumi.String("0.6"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;

return await Deployment.RunAsync(() => 
{
    var exampleResourceGroup = new Azure.Core.ResourceGroup("example", new()
    {
        Name = "example-resources",
        Location = "West Europe",
    });

    var exampleAnalyticsWorkspace = new Azure.OperationalInsights.AnalyticsWorkspace("example", new()
    {
        Name = "example-law",
        Location = exampleResourceGroup.Location,
        ResourceGroupName = exampleResourceGroup.Name,
        Sku = "PerGB2018",
    });

    var exampleLogAnalyticsWorkspaceOnboarding = new Azure.Sentinel.LogAnalyticsWorkspaceOnboarding("example", new()
    {
        WorkspaceId = exampleAnalyticsWorkspace.Id,
        CustomerManagedKeyEnabled = false,
    });

    var example = Azure.Sentinel.GetAlertRuleAnomaly.Invoke(new()
    {
        LogAnalyticsWorkspaceId = exampleLogAnalyticsWorkspaceOnboarding.WorkspaceId,
        DisplayName = "UEBA Anomalous Sign In",
    });

    var exampleAlertRuleAnomalyDuplicate = new Azure.Sentinel.AlertRuleAnomalyDuplicate("example", new()
    {
        DisplayName = "example duplicated UEBA Anomalous Sign In",
        LogAnalyticsWorkspaceId = exampleAnalyticsWorkspace.Id,
        BuiltInRuleId = example.Apply(getAlertRuleAnomalyResult => getAlertRuleAnomalyResult.Id),
        Enabled = true,
        Mode = "Flighting",
        ThresholdObservations = new[]
        {
            new Azure.Sentinel.Inputs.AlertRuleAnomalyDuplicateThresholdObservationArgs
            {
                Name = "Anomaly score threshold",
                Value = "0.6",
            },
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.core.ResourceGroup;
import com.pulumi.azure.core.ResourceGroupArgs;
import com.pulumi.azure.operationalinsights.AnalyticsWorkspace;
import com.pulumi.azure.operationalinsights.AnalyticsWorkspaceArgs;
import com.pulumi.azure.sentinel.LogAnalyticsWorkspaceOnboarding;
import com.pulumi.azure.sentinel.LogAnalyticsWorkspaceOnboardingArgs;
import com.pulumi.azure.sentinel.SentinelFunctions;
import com.pulumi.azure.sentinel.inputs.GetAlertRuleAnomalyArgs;
import com.pulumi.azure.sentinel.AlertRuleAnomalyDuplicate;
import com.pulumi.azure.sentinel.AlertRuleAnomalyDuplicateArgs;
import com.pulumi.azure.sentinel.inputs.AlertRuleAnomalyDuplicateThresholdObservationArgs;
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 exampleResourceGroup = new ResourceGroup("exampleResourceGroup", ResourceGroupArgs.builder()
            .name("example-resources")
            .location("West Europe")
            .build());

        var exampleAnalyticsWorkspace = new AnalyticsWorkspace("exampleAnalyticsWorkspace", AnalyticsWorkspaceArgs.builder()
            .name("example-law")
            .location(exampleResourceGroup.location())
            .resourceGroupName(exampleResourceGroup.name())
            .sku("PerGB2018")
            .build());

        var exampleLogAnalyticsWorkspaceOnboarding = new LogAnalyticsWorkspaceOnboarding("exampleLogAnalyticsWorkspaceOnboarding", LogAnalyticsWorkspaceOnboardingArgs.builder()
            .workspaceId(exampleAnalyticsWorkspace.id())
            .customerManagedKeyEnabled(false)
            .build());

        final var example = SentinelFunctions.getAlertRuleAnomaly(GetAlertRuleAnomalyArgs.builder()
            .logAnalyticsWorkspaceId(exampleLogAnalyticsWorkspaceOnboarding.workspaceId())
            .displayName("UEBA Anomalous Sign In")
            .build());

        var exampleAlertRuleAnomalyDuplicate = new AlertRuleAnomalyDuplicate("exampleAlertRuleAnomalyDuplicate", AlertRuleAnomalyDuplicateArgs.builder()
            .displayName("example duplicated UEBA Anomalous Sign In")
            .logAnalyticsWorkspaceId(exampleAnalyticsWorkspace.id())
            .builtInRuleId(example.applyValue(getAlertRuleAnomalyResult -> getAlertRuleAnomalyResult).applyValue(example -> example.applyValue(getAlertRuleAnomalyResult -> getAlertRuleAnomalyResult.id())))
            .enabled(true)
            .mode("Flighting")
            .thresholdObservations(AlertRuleAnomalyDuplicateThresholdObservationArgs.builder()
                .name("Anomaly score threshold")
                .value("0.6")
                .build())
            .build());

    }
}
Copy
resources:
  exampleResourceGroup:
    type: azure:core:ResourceGroup
    name: example
    properties:
      name: example-resources
      location: West Europe
  exampleAnalyticsWorkspace:
    type: azure:operationalinsights:AnalyticsWorkspace
    name: example
    properties:
      name: example-law
      location: ${exampleResourceGroup.location}
      resourceGroupName: ${exampleResourceGroup.name}
      sku: PerGB2018
  exampleLogAnalyticsWorkspaceOnboarding:
    type: azure:sentinel:LogAnalyticsWorkspaceOnboarding
    name: example
    properties:
      workspaceId: ${exampleAnalyticsWorkspace.id}
      customerManagedKeyEnabled: false
  exampleAlertRuleAnomalyDuplicate:
    type: azure:sentinel:AlertRuleAnomalyDuplicate
    name: example
    properties:
      displayName: example duplicated UEBA Anomalous Sign In
      logAnalyticsWorkspaceId: ${exampleAnalyticsWorkspace.id}
      builtInRuleId: ${example.id}
      enabled: true
      mode: Flighting
      thresholdObservations:
        - name: Anomaly score threshold
          value: '0.6'
variables:
  example:
    fn::invoke:
      function: azure:sentinel:getAlertRuleAnomaly
      arguments:
        logAnalyticsWorkspaceId: ${exampleLogAnalyticsWorkspaceOnboarding.workspaceId}
        displayName: UEBA Anomalous Sign In
Copy

Create AlertRuleAnomalyDuplicate Resource

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

Constructor syntax

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

@overload
def AlertRuleAnomalyDuplicate(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              built_in_rule_id: Optional[str] = None,
                              display_name: Optional[str] = None,
                              enabled: Optional[bool] = None,
                              log_analytics_workspace_id: Optional[str] = None,
                              mode: Optional[str] = None,
                              multi_select_observations: Optional[Sequence[AlertRuleAnomalyDuplicateMultiSelectObservationArgs]] = None,
                              prioritized_exclude_observations: Optional[Sequence[AlertRuleAnomalyDuplicatePrioritizedExcludeObservationArgs]] = None,
                              single_select_observations: Optional[Sequence[AlertRuleAnomalyDuplicateSingleSelectObservationArgs]] = None,
                              threshold_observations: Optional[Sequence[AlertRuleAnomalyDuplicateThresholdObservationArgs]] = None)
func NewAlertRuleAnomalyDuplicate(ctx *Context, name string, args AlertRuleAnomalyDuplicateArgs, opts ...ResourceOption) (*AlertRuleAnomalyDuplicate, error)
public AlertRuleAnomalyDuplicate(string name, AlertRuleAnomalyDuplicateArgs args, CustomResourceOptions? opts = null)
public AlertRuleAnomalyDuplicate(String name, AlertRuleAnomalyDuplicateArgs args)
public AlertRuleAnomalyDuplicate(String name, AlertRuleAnomalyDuplicateArgs args, CustomResourceOptions options)
type: azure:sentinel:AlertRuleAnomalyDuplicate
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. AlertRuleAnomalyDuplicateArgs
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. AlertRuleAnomalyDuplicateArgs
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. AlertRuleAnomalyDuplicateArgs
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. AlertRuleAnomalyDuplicateArgs
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. AlertRuleAnomalyDuplicateArgs
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 alertRuleAnomalyDuplicateResource = new Azure.Sentinel.AlertRuleAnomalyDuplicate("alertRuleAnomalyDuplicateResource", new()
{
    BuiltInRuleId = "string",
    DisplayName = "string",
    Enabled = false,
    LogAnalyticsWorkspaceId = "string",
    Mode = "string",
    MultiSelectObservations = new[]
    {
        new Azure.Sentinel.Inputs.AlertRuleAnomalyDuplicateMultiSelectObservationArgs
        {
            Name = "string",
            Values = new[]
            {
                "string",
            },
            Description = "string",
            SupportedValues = new[]
            {
                "string",
            },
        },
    },
    PrioritizedExcludeObservations = new[]
    {
        new Azure.Sentinel.Inputs.AlertRuleAnomalyDuplicatePrioritizedExcludeObservationArgs
        {
            Name = "string",
            Description = "string",
            Exclude = "string",
            Prioritize = "string",
        },
    },
    SingleSelectObservations = new[]
    {
        new Azure.Sentinel.Inputs.AlertRuleAnomalyDuplicateSingleSelectObservationArgs
        {
            Name = "string",
            Value = "string",
            Description = "string",
            SupportedValues = new[]
            {
                "string",
            },
        },
    },
    ThresholdObservations = new[]
    {
        new Azure.Sentinel.Inputs.AlertRuleAnomalyDuplicateThresholdObservationArgs
        {
            Name = "string",
            Value = "string",
            Description = "string",
            Max = "string",
            Min = "string",
        },
    },
});
Copy
example, err := sentinel.NewAlertRuleAnomalyDuplicate(ctx, "alertRuleAnomalyDuplicateResource", &sentinel.AlertRuleAnomalyDuplicateArgs{
	BuiltInRuleId:           pulumi.String("string"),
	DisplayName:             pulumi.String("string"),
	Enabled:                 pulumi.Bool(false),
	LogAnalyticsWorkspaceId: pulumi.String("string"),
	Mode:                    pulumi.String("string"),
	MultiSelectObservations: sentinel.AlertRuleAnomalyDuplicateMultiSelectObservationArray{
		&sentinel.AlertRuleAnomalyDuplicateMultiSelectObservationArgs{
			Name: pulumi.String("string"),
			Values: pulumi.StringArray{
				pulumi.String("string"),
			},
			Description: pulumi.String("string"),
			SupportedValues: pulumi.StringArray{
				pulumi.String("string"),
			},
		},
	},
	PrioritizedExcludeObservations: sentinel.AlertRuleAnomalyDuplicatePrioritizedExcludeObservationArray{
		&sentinel.AlertRuleAnomalyDuplicatePrioritizedExcludeObservationArgs{
			Name:        pulumi.String("string"),
			Description: pulumi.String("string"),
			Exclude:     pulumi.String("string"),
			Prioritize:  pulumi.String("string"),
		},
	},
	SingleSelectObservations: sentinel.AlertRuleAnomalyDuplicateSingleSelectObservationArray{
		&sentinel.AlertRuleAnomalyDuplicateSingleSelectObservationArgs{
			Name:        pulumi.String("string"),
			Value:       pulumi.String("string"),
			Description: pulumi.String("string"),
			SupportedValues: pulumi.StringArray{
				pulumi.String("string"),
			},
		},
	},
	ThresholdObservations: sentinel.AlertRuleAnomalyDuplicateThresholdObservationArray{
		&sentinel.AlertRuleAnomalyDuplicateThresholdObservationArgs{
			Name:        pulumi.String("string"),
			Value:       pulumi.String("string"),
			Description: pulumi.String("string"),
			Max:         pulumi.String("string"),
			Min:         pulumi.String("string"),
		},
	},
})
Copy
var alertRuleAnomalyDuplicateResource = new AlertRuleAnomalyDuplicate("alertRuleAnomalyDuplicateResource", AlertRuleAnomalyDuplicateArgs.builder()
    .builtInRuleId("string")
    .displayName("string")
    .enabled(false)
    .logAnalyticsWorkspaceId("string")
    .mode("string")
    .multiSelectObservations(AlertRuleAnomalyDuplicateMultiSelectObservationArgs.builder()
        .name("string")
        .values("string")
        .description("string")
        .supportedValues("string")
        .build())
    .prioritizedExcludeObservations(AlertRuleAnomalyDuplicatePrioritizedExcludeObservationArgs.builder()
        .name("string")
        .description("string")
        .exclude("string")
        .prioritize("string")
        .build())
    .singleSelectObservations(AlertRuleAnomalyDuplicateSingleSelectObservationArgs.builder()
        .name("string")
        .value("string")
        .description("string")
        .supportedValues("string")
        .build())
    .thresholdObservations(AlertRuleAnomalyDuplicateThresholdObservationArgs.builder()
        .name("string")
        .value("string")
        .description("string")
        .max("string")
        .min("string")
        .build())
    .build());
Copy
alert_rule_anomaly_duplicate_resource = azure.sentinel.AlertRuleAnomalyDuplicate("alertRuleAnomalyDuplicateResource",
    built_in_rule_id="string",
    display_name="string",
    enabled=False,
    log_analytics_workspace_id="string",
    mode="string",
    multi_select_observations=[{
        "name": "string",
        "values": ["string"],
        "description": "string",
        "supported_values": ["string"],
    }],
    prioritized_exclude_observations=[{
        "name": "string",
        "description": "string",
        "exclude": "string",
        "prioritize": "string",
    }],
    single_select_observations=[{
        "name": "string",
        "value": "string",
        "description": "string",
        "supported_values": ["string"],
    }],
    threshold_observations=[{
        "name": "string",
        "value": "string",
        "description": "string",
        "max": "string",
        "min": "string",
    }])
Copy
const alertRuleAnomalyDuplicateResource = new azure.sentinel.AlertRuleAnomalyDuplicate("alertRuleAnomalyDuplicateResource", {
    builtInRuleId: "string",
    displayName: "string",
    enabled: false,
    logAnalyticsWorkspaceId: "string",
    mode: "string",
    multiSelectObservations: [{
        name: "string",
        values: ["string"],
        description: "string",
        supportedValues: ["string"],
    }],
    prioritizedExcludeObservations: [{
        name: "string",
        description: "string",
        exclude: "string",
        prioritize: "string",
    }],
    singleSelectObservations: [{
        name: "string",
        value: "string",
        description: "string",
        supportedValues: ["string"],
    }],
    thresholdObservations: [{
        name: "string",
        value: "string",
        description: "string",
        max: "string",
        min: "string",
    }],
});
Copy
type: azure:sentinel:AlertRuleAnomalyDuplicate
properties:
    builtInRuleId: string
    displayName: string
    enabled: false
    logAnalyticsWorkspaceId: string
    mode: string
    multiSelectObservations:
        - description: string
          name: string
          supportedValues:
            - string
          values:
            - string
    prioritizedExcludeObservations:
        - description: string
          exclude: string
          name: string
          prioritize: string
    singleSelectObservations:
        - description: string
          name: string
          supportedValues:
            - string
          value: string
    thresholdObservations:
        - description: string
          max: string
          min: string
          name: string
          value: string
Copy

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

BuiltInRuleId
This property is required.
Changes to this property will trigger replacement.
string
The ID of the built-in Anomaly Alert Rule. Changing this forces a new Duplicated Anomaly Alert Rule to be created.
DisplayName This property is required. string
The Display Name of the built-in Anomaly Alert Rule.
Enabled This property is required. bool
Should the Duplicated Anomaly Alert Rule be enabled?
LogAnalyticsWorkspaceId
This property is required.
Changes to this property will trigger replacement.
string
The ID of the Log Analytics Workspace. Changing this forces a new Duplicated Anomaly Alert Rule to be created.
Mode This property is required. string
mode of the Duplicated Anomaly Alert Rule. Possible Values are Production and Flighting.
MultiSelectObservations List<AlertRuleAnomalyDuplicateMultiSelectObservation>
A list of multi_select_observation blocks as defined below.
PrioritizedExcludeObservations List<AlertRuleAnomalyDuplicatePrioritizedExcludeObservation>
A list of prioritized_exclude_observation blocks as defined below.
SingleSelectObservations List<AlertRuleAnomalyDuplicateSingleSelectObservation>
A list of single_select_observation blocks as defined below.
ThresholdObservations List<AlertRuleAnomalyDuplicateThresholdObservation>

A list of threshold_observation blocks as defined below.

NOTE: un-specified multi_select_observation, single_select_observation, prioritized_exclude_observation and threshold_observation will be inherited from the built-in Anomaly Alert Rule.

BuiltInRuleId
This property is required.
Changes to this property will trigger replacement.
string
The ID of the built-in Anomaly Alert Rule. Changing this forces a new Duplicated Anomaly Alert Rule to be created.
DisplayName This property is required. string
The Display Name of the built-in Anomaly Alert Rule.
Enabled This property is required. bool
Should the Duplicated Anomaly Alert Rule be enabled?
LogAnalyticsWorkspaceId
This property is required.
Changes to this property will trigger replacement.
string
The ID of the Log Analytics Workspace. Changing this forces a new Duplicated Anomaly Alert Rule to be created.
Mode This property is required. string
mode of the Duplicated Anomaly Alert Rule. Possible Values are Production and Flighting.
MultiSelectObservations []AlertRuleAnomalyDuplicateMultiSelectObservationArgs
A list of multi_select_observation blocks as defined below.
PrioritizedExcludeObservations []AlertRuleAnomalyDuplicatePrioritizedExcludeObservationArgs
A list of prioritized_exclude_observation blocks as defined below.
SingleSelectObservations []AlertRuleAnomalyDuplicateSingleSelectObservationArgs
A list of single_select_observation blocks as defined below.
ThresholdObservations []AlertRuleAnomalyDuplicateThresholdObservationArgs

A list of threshold_observation blocks as defined below.

NOTE: un-specified multi_select_observation, single_select_observation, prioritized_exclude_observation and threshold_observation will be inherited from the built-in Anomaly Alert Rule.

builtInRuleId
This property is required.
Changes to this property will trigger replacement.
String
The ID of the built-in Anomaly Alert Rule. Changing this forces a new Duplicated Anomaly Alert Rule to be created.
displayName This property is required. String
The Display Name of the built-in Anomaly Alert Rule.
enabled This property is required. Boolean
Should the Duplicated Anomaly Alert Rule be enabled?
logAnalyticsWorkspaceId
This property is required.
Changes to this property will trigger replacement.
String
The ID of the Log Analytics Workspace. Changing this forces a new Duplicated Anomaly Alert Rule to be created.
mode This property is required. String
mode of the Duplicated Anomaly Alert Rule. Possible Values are Production and Flighting.
multiSelectObservations List<AlertRuleAnomalyDuplicateMultiSelectObservation>
A list of multi_select_observation blocks as defined below.
prioritizedExcludeObservations List<AlertRuleAnomalyDuplicatePrioritizedExcludeObservation>
A list of prioritized_exclude_observation blocks as defined below.
singleSelectObservations List<AlertRuleAnomalyDuplicateSingleSelectObservation>
A list of single_select_observation blocks as defined below.
thresholdObservations List<AlertRuleAnomalyDuplicateThresholdObservation>

A list of threshold_observation blocks as defined below.

NOTE: un-specified multi_select_observation, single_select_observation, prioritized_exclude_observation and threshold_observation will be inherited from the built-in Anomaly Alert Rule.

builtInRuleId
This property is required.
Changes to this property will trigger replacement.
string
The ID of the built-in Anomaly Alert Rule. Changing this forces a new Duplicated Anomaly Alert Rule to be created.
displayName This property is required. string
The Display Name of the built-in Anomaly Alert Rule.
enabled This property is required. boolean
Should the Duplicated Anomaly Alert Rule be enabled?
logAnalyticsWorkspaceId
This property is required.
Changes to this property will trigger replacement.
string
The ID of the Log Analytics Workspace. Changing this forces a new Duplicated Anomaly Alert Rule to be created.
mode This property is required. string
mode of the Duplicated Anomaly Alert Rule. Possible Values are Production and Flighting.
multiSelectObservations AlertRuleAnomalyDuplicateMultiSelectObservation[]
A list of multi_select_observation blocks as defined below.
prioritizedExcludeObservations AlertRuleAnomalyDuplicatePrioritizedExcludeObservation[]
A list of prioritized_exclude_observation blocks as defined below.
singleSelectObservations AlertRuleAnomalyDuplicateSingleSelectObservation[]
A list of single_select_observation blocks as defined below.
thresholdObservations AlertRuleAnomalyDuplicateThresholdObservation[]

A list of threshold_observation blocks as defined below.

NOTE: un-specified multi_select_observation, single_select_observation, prioritized_exclude_observation and threshold_observation will be inherited from the built-in Anomaly Alert Rule.

built_in_rule_id
This property is required.
Changes to this property will trigger replacement.
str
The ID of the built-in Anomaly Alert Rule. Changing this forces a new Duplicated Anomaly Alert Rule to be created.
display_name This property is required. str
The Display Name of the built-in Anomaly Alert Rule.
enabled This property is required. bool
Should the Duplicated Anomaly Alert Rule be enabled?
log_analytics_workspace_id
This property is required.
Changes to this property will trigger replacement.
str
The ID of the Log Analytics Workspace. Changing this forces a new Duplicated Anomaly Alert Rule to be created.
mode This property is required. str
mode of the Duplicated Anomaly Alert Rule. Possible Values are Production and Flighting.
multi_select_observations Sequence[AlertRuleAnomalyDuplicateMultiSelectObservationArgs]
A list of multi_select_observation blocks as defined below.
prioritized_exclude_observations Sequence[AlertRuleAnomalyDuplicatePrioritizedExcludeObservationArgs]
A list of prioritized_exclude_observation blocks as defined below.
single_select_observations Sequence[AlertRuleAnomalyDuplicateSingleSelectObservationArgs]
A list of single_select_observation blocks as defined below.
threshold_observations Sequence[AlertRuleAnomalyDuplicateThresholdObservationArgs]

A list of threshold_observation blocks as defined below.

NOTE: un-specified multi_select_observation, single_select_observation, prioritized_exclude_observation and threshold_observation will be inherited from the built-in Anomaly Alert Rule.

builtInRuleId
This property is required.
Changes to this property will trigger replacement.
String
The ID of the built-in Anomaly Alert Rule. Changing this forces a new Duplicated Anomaly Alert Rule to be created.
displayName This property is required. String
The Display Name of the built-in Anomaly Alert Rule.
enabled This property is required. Boolean
Should the Duplicated Anomaly Alert Rule be enabled?
logAnalyticsWorkspaceId
This property is required.
Changes to this property will trigger replacement.
String
The ID of the Log Analytics Workspace. Changing this forces a new Duplicated Anomaly Alert Rule to be created.
mode This property is required. String
mode of the Duplicated Anomaly Alert Rule. Possible Values are Production and Flighting.
multiSelectObservations List<Property Map>
A list of multi_select_observation blocks as defined below.
prioritizedExcludeObservations List<Property Map>
A list of prioritized_exclude_observation blocks as defined below.
singleSelectObservations List<Property Map>
A list of single_select_observation blocks as defined below.
thresholdObservations List<Property Map>

A list of threshold_observation blocks as defined below.

NOTE: un-specified multi_select_observation, single_select_observation, prioritized_exclude_observation and threshold_observation will be inherited from the built-in Anomaly Alert Rule.

Outputs

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

AnomalySettingsVersion int
The version of the Anomaly Security ML Analytics Settings.
AnomalyVersion string
The anomaly version of the Anomaly Alert Rule.
Description string
The description of the Anomaly Alert Rule.
Frequency string
The frequency the Anomaly Alert Rule will be run, such as "P1D".
Id string
The provider-assigned unique ID for this managed resource.
IsDefaultSettings bool
Whether the current settings of the Anomaly Alert Rule equals default settings.
Name string
RequiredDataConnectors List<AlertRuleAnomalyDuplicateRequiredDataConnector>
A required_data_connector block as defined below.
SettingsDefinitionId string
The ID of the anomaly settings definition Id.
Tactics List<string>
A list of categories of attacks by which to classify the rule.
Techniques List<string>
A list of techniques of attacks by which to classify the rule.
AnomalySettingsVersion int
The version of the Anomaly Security ML Analytics Settings.
AnomalyVersion string
The anomaly version of the Anomaly Alert Rule.
Description string
The description of the Anomaly Alert Rule.
Frequency string
The frequency the Anomaly Alert Rule will be run, such as "P1D".
Id string
The provider-assigned unique ID for this managed resource.
IsDefaultSettings bool
Whether the current settings of the Anomaly Alert Rule equals default settings.
Name string
RequiredDataConnectors []AlertRuleAnomalyDuplicateRequiredDataConnector
A required_data_connector block as defined below.
SettingsDefinitionId string
The ID of the anomaly settings definition Id.
Tactics []string
A list of categories of attacks by which to classify the rule.
Techniques []string
A list of techniques of attacks by which to classify the rule.
anomalySettingsVersion Integer
The version of the Anomaly Security ML Analytics Settings.
anomalyVersion String
The anomaly version of the Anomaly Alert Rule.
description String
The description of the Anomaly Alert Rule.
frequency String
The frequency the Anomaly Alert Rule will be run, such as "P1D".
id String
The provider-assigned unique ID for this managed resource.
isDefaultSettings Boolean
Whether the current settings of the Anomaly Alert Rule equals default settings.
name String
requiredDataConnectors List<AlertRuleAnomalyDuplicateRequiredDataConnector>
A required_data_connector block as defined below.
settingsDefinitionId String
The ID of the anomaly settings definition Id.
tactics List<String>
A list of categories of attacks by which to classify the rule.
techniques List<String>
A list of techniques of attacks by which to classify the rule.
anomalySettingsVersion number
The version of the Anomaly Security ML Analytics Settings.
anomalyVersion string
The anomaly version of the Anomaly Alert Rule.
description string
The description of the Anomaly Alert Rule.
frequency string
The frequency the Anomaly Alert Rule will be run, such as "P1D".
id string
The provider-assigned unique ID for this managed resource.
isDefaultSettings boolean
Whether the current settings of the Anomaly Alert Rule equals default settings.
name string
requiredDataConnectors AlertRuleAnomalyDuplicateRequiredDataConnector[]
A required_data_connector block as defined below.
settingsDefinitionId string
The ID of the anomaly settings definition Id.
tactics string[]
A list of categories of attacks by which to classify the rule.
techniques string[]
A list of techniques of attacks by which to classify the rule.
anomaly_settings_version int
The version of the Anomaly Security ML Analytics Settings.
anomaly_version str
The anomaly version of the Anomaly Alert Rule.
description str
The description of the Anomaly Alert Rule.
frequency str
The frequency the Anomaly Alert Rule will be run, such as "P1D".
id str
The provider-assigned unique ID for this managed resource.
is_default_settings bool
Whether the current settings of the Anomaly Alert Rule equals default settings.
name str
required_data_connectors Sequence[AlertRuleAnomalyDuplicateRequiredDataConnector]
A required_data_connector block as defined below.
settings_definition_id str
The ID of the anomaly settings definition Id.
tactics Sequence[str]
A list of categories of attacks by which to classify the rule.
techniques Sequence[str]
A list of techniques of attacks by which to classify the rule.
anomalySettingsVersion Number
The version of the Anomaly Security ML Analytics Settings.
anomalyVersion String
The anomaly version of the Anomaly Alert Rule.
description String
The description of the Anomaly Alert Rule.
frequency String
The frequency the Anomaly Alert Rule will be run, such as "P1D".
id String
The provider-assigned unique ID for this managed resource.
isDefaultSettings Boolean
Whether the current settings of the Anomaly Alert Rule equals default settings.
name String
requiredDataConnectors List<Property Map>
A required_data_connector block as defined below.
settingsDefinitionId String
The ID of the anomaly settings definition Id.
tactics List<String>
A list of categories of attacks by which to classify the rule.
techniques List<String>
A list of techniques of attacks by which to classify the rule.

Look up Existing AlertRuleAnomalyDuplicate Resource

Get an existing AlertRuleAnomalyDuplicate 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?: AlertRuleAnomalyDuplicateState, opts?: CustomResourceOptions): AlertRuleAnomalyDuplicate
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        anomaly_settings_version: Optional[int] = None,
        anomaly_version: Optional[str] = None,
        built_in_rule_id: Optional[str] = None,
        description: Optional[str] = None,
        display_name: Optional[str] = None,
        enabled: Optional[bool] = None,
        frequency: Optional[str] = None,
        is_default_settings: Optional[bool] = None,
        log_analytics_workspace_id: Optional[str] = None,
        mode: Optional[str] = None,
        multi_select_observations: Optional[Sequence[AlertRuleAnomalyDuplicateMultiSelectObservationArgs]] = None,
        name: Optional[str] = None,
        prioritized_exclude_observations: Optional[Sequence[AlertRuleAnomalyDuplicatePrioritizedExcludeObservationArgs]] = None,
        required_data_connectors: Optional[Sequence[AlertRuleAnomalyDuplicateRequiredDataConnectorArgs]] = None,
        settings_definition_id: Optional[str] = None,
        single_select_observations: Optional[Sequence[AlertRuleAnomalyDuplicateSingleSelectObservationArgs]] = None,
        tactics: Optional[Sequence[str]] = None,
        techniques: Optional[Sequence[str]] = None,
        threshold_observations: Optional[Sequence[AlertRuleAnomalyDuplicateThresholdObservationArgs]] = None) -> AlertRuleAnomalyDuplicate
func GetAlertRuleAnomalyDuplicate(ctx *Context, name string, id IDInput, state *AlertRuleAnomalyDuplicateState, opts ...ResourceOption) (*AlertRuleAnomalyDuplicate, error)
public static AlertRuleAnomalyDuplicate Get(string name, Input<string> id, AlertRuleAnomalyDuplicateState? state, CustomResourceOptions? opts = null)
public static AlertRuleAnomalyDuplicate get(String name, Output<String> id, AlertRuleAnomalyDuplicateState state, CustomResourceOptions options)
resources:  _:    type: azure:sentinel:AlertRuleAnomalyDuplicate    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:
AnomalySettingsVersion int
The version of the Anomaly Security ML Analytics Settings.
AnomalyVersion string
The anomaly version of the Anomaly Alert Rule.
BuiltInRuleId Changes to this property will trigger replacement. string
The ID of the built-in Anomaly Alert Rule. Changing this forces a new Duplicated Anomaly Alert Rule to be created.
Description string
The description of the Anomaly Alert Rule.
DisplayName string
The Display Name of the built-in Anomaly Alert Rule.
Enabled bool
Should the Duplicated Anomaly Alert Rule be enabled?
Frequency string
The frequency the Anomaly Alert Rule will be run, such as "P1D".
IsDefaultSettings bool
Whether the current settings of the Anomaly Alert Rule equals default settings.
LogAnalyticsWorkspaceId Changes to this property will trigger replacement. string
The ID of the Log Analytics Workspace. Changing this forces a new Duplicated Anomaly Alert Rule to be created.
Mode string
mode of the Duplicated Anomaly Alert Rule. Possible Values are Production and Flighting.
MultiSelectObservations List<AlertRuleAnomalyDuplicateMultiSelectObservation>
A list of multi_select_observation blocks as defined below.
Name string
PrioritizedExcludeObservations List<AlertRuleAnomalyDuplicatePrioritizedExcludeObservation>
A list of prioritized_exclude_observation blocks as defined below.
RequiredDataConnectors List<AlertRuleAnomalyDuplicateRequiredDataConnector>
A required_data_connector block as defined below.
SettingsDefinitionId string
The ID of the anomaly settings definition Id.
SingleSelectObservations List<AlertRuleAnomalyDuplicateSingleSelectObservation>
A list of single_select_observation blocks as defined below.
Tactics List<string>
A list of categories of attacks by which to classify the rule.
Techniques List<string>
A list of techniques of attacks by which to classify the rule.
ThresholdObservations List<AlertRuleAnomalyDuplicateThresholdObservation>

A list of threshold_observation blocks as defined below.

NOTE: un-specified multi_select_observation, single_select_observation, prioritized_exclude_observation and threshold_observation will be inherited from the built-in Anomaly Alert Rule.

AnomalySettingsVersion int
The version of the Anomaly Security ML Analytics Settings.
AnomalyVersion string
The anomaly version of the Anomaly Alert Rule.
BuiltInRuleId Changes to this property will trigger replacement. string
The ID of the built-in Anomaly Alert Rule. Changing this forces a new Duplicated Anomaly Alert Rule to be created.
Description string
The description of the Anomaly Alert Rule.
DisplayName string
The Display Name of the built-in Anomaly Alert Rule.
Enabled bool
Should the Duplicated Anomaly Alert Rule be enabled?
Frequency string
The frequency the Anomaly Alert Rule will be run, such as "P1D".
IsDefaultSettings bool
Whether the current settings of the Anomaly Alert Rule equals default settings.
LogAnalyticsWorkspaceId Changes to this property will trigger replacement. string
The ID of the Log Analytics Workspace. Changing this forces a new Duplicated Anomaly Alert Rule to be created.
Mode string
mode of the Duplicated Anomaly Alert Rule. Possible Values are Production and Flighting.
MultiSelectObservations []AlertRuleAnomalyDuplicateMultiSelectObservationArgs
A list of multi_select_observation blocks as defined below.
Name string
PrioritizedExcludeObservations []AlertRuleAnomalyDuplicatePrioritizedExcludeObservationArgs
A list of prioritized_exclude_observation blocks as defined below.
RequiredDataConnectors []AlertRuleAnomalyDuplicateRequiredDataConnectorArgs
A required_data_connector block as defined below.
SettingsDefinitionId string
The ID of the anomaly settings definition Id.
SingleSelectObservations []AlertRuleAnomalyDuplicateSingleSelectObservationArgs
A list of single_select_observation blocks as defined below.
Tactics []string
A list of categories of attacks by which to classify the rule.
Techniques []string
A list of techniques of attacks by which to classify the rule.
ThresholdObservations []AlertRuleAnomalyDuplicateThresholdObservationArgs

A list of threshold_observation blocks as defined below.

NOTE: un-specified multi_select_observation, single_select_observation, prioritized_exclude_observation and threshold_observation will be inherited from the built-in Anomaly Alert Rule.

anomalySettingsVersion Integer
The version of the Anomaly Security ML Analytics Settings.
anomalyVersion String
The anomaly version of the Anomaly Alert Rule.
builtInRuleId Changes to this property will trigger replacement. String
The ID of the built-in Anomaly Alert Rule. Changing this forces a new Duplicated Anomaly Alert Rule to be created.
description String
The description of the Anomaly Alert Rule.
displayName String
The Display Name of the built-in Anomaly Alert Rule.
enabled Boolean
Should the Duplicated Anomaly Alert Rule be enabled?
frequency String
The frequency the Anomaly Alert Rule will be run, such as "P1D".
isDefaultSettings Boolean
Whether the current settings of the Anomaly Alert Rule equals default settings.
logAnalyticsWorkspaceId Changes to this property will trigger replacement. String
The ID of the Log Analytics Workspace. Changing this forces a new Duplicated Anomaly Alert Rule to be created.
mode String
mode of the Duplicated Anomaly Alert Rule. Possible Values are Production and Flighting.
multiSelectObservations List<AlertRuleAnomalyDuplicateMultiSelectObservation>
A list of multi_select_observation blocks as defined below.
name String
prioritizedExcludeObservations List<AlertRuleAnomalyDuplicatePrioritizedExcludeObservation>
A list of prioritized_exclude_observation blocks as defined below.
requiredDataConnectors List<AlertRuleAnomalyDuplicateRequiredDataConnector>
A required_data_connector block as defined below.
settingsDefinitionId String
The ID of the anomaly settings definition Id.
singleSelectObservations List<AlertRuleAnomalyDuplicateSingleSelectObservation>
A list of single_select_observation blocks as defined below.
tactics List<String>
A list of categories of attacks by which to classify the rule.
techniques List<String>
A list of techniques of attacks by which to classify the rule.
thresholdObservations List<AlertRuleAnomalyDuplicateThresholdObservation>

A list of threshold_observation blocks as defined below.

NOTE: un-specified multi_select_observation, single_select_observation, prioritized_exclude_observation and threshold_observation will be inherited from the built-in Anomaly Alert Rule.

anomalySettingsVersion number
The version of the Anomaly Security ML Analytics Settings.
anomalyVersion string
The anomaly version of the Anomaly Alert Rule.
builtInRuleId Changes to this property will trigger replacement. string
The ID of the built-in Anomaly Alert Rule. Changing this forces a new Duplicated Anomaly Alert Rule to be created.
description string
The description of the Anomaly Alert Rule.
displayName string
The Display Name of the built-in Anomaly Alert Rule.
enabled boolean
Should the Duplicated Anomaly Alert Rule be enabled?
frequency string
The frequency the Anomaly Alert Rule will be run, such as "P1D".
isDefaultSettings boolean
Whether the current settings of the Anomaly Alert Rule equals default settings.
logAnalyticsWorkspaceId Changes to this property will trigger replacement. string
The ID of the Log Analytics Workspace. Changing this forces a new Duplicated Anomaly Alert Rule to be created.
mode string
mode of the Duplicated Anomaly Alert Rule. Possible Values are Production and Flighting.
multiSelectObservations AlertRuleAnomalyDuplicateMultiSelectObservation[]
A list of multi_select_observation blocks as defined below.
name string
prioritizedExcludeObservations AlertRuleAnomalyDuplicatePrioritizedExcludeObservation[]
A list of prioritized_exclude_observation blocks as defined below.
requiredDataConnectors AlertRuleAnomalyDuplicateRequiredDataConnector[]
A required_data_connector block as defined below.
settingsDefinitionId string
The ID of the anomaly settings definition Id.
singleSelectObservations AlertRuleAnomalyDuplicateSingleSelectObservation[]
A list of single_select_observation blocks as defined below.
tactics string[]
A list of categories of attacks by which to classify the rule.
techniques string[]
A list of techniques of attacks by which to classify the rule.
thresholdObservations AlertRuleAnomalyDuplicateThresholdObservation[]

A list of threshold_observation blocks as defined below.

NOTE: un-specified multi_select_observation, single_select_observation, prioritized_exclude_observation and threshold_observation will be inherited from the built-in Anomaly Alert Rule.

anomaly_settings_version int
The version of the Anomaly Security ML Analytics Settings.
anomaly_version str
The anomaly version of the Anomaly Alert Rule.
built_in_rule_id Changes to this property will trigger replacement. str
The ID of the built-in Anomaly Alert Rule. Changing this forces a new Duplicated Anomaly Alert Rule to be created.
description str
The description of the Anomaly Alert Rule.
display_name str
The Display Name of the built-in Anomaly Alert Rule.
enabled bool
Should the Duplicated Anomaly Alert Rule be enabled?
frequency str
The frequency the Anomaly Alert Rule will be run, such as "P1D".
is_default_settings bool
Whether the current settings of the Anomaly Alert Rule equals default settings.
log_analytics_workspace_id Changes to this property will trigger replacement. str
The ID of the Log Analytics Workspace. Changing this forces a new Duplicated Anomaly Alert Rule to be created.
mode str
mode of the Duplicated Anomaly Alert Rule. Possible Values are Production and Flighting.
multi_select_observations Sequence[AlertRuleAnomalyDuplicateMultiSelectObservationArgs]
A list of multi_select_observation blocks as defined below.
name str
prioritized_exclude_observations Sequence[AlertRuleAnomalyDuplicatePrioritizedExcludeObservationArgs]
A list of prioritized_exclude_observation blocks as defined below.
required_data_connectors Sequence[AlertRuleAnomalyDuplicateRequiredDataConnectorArgs]
A required_data_connector block as defined below.
settings_definition_id str
The ID of the anomaly settings definition Id.
single_select_observations Sequence[AlertRuleAnomalyDuplicateSingleSelectObservationArgs]
A list of single_select_observation blocks as defined below.
tactics Sequence[str]
A list of categories of attacks by which to classify the rule.
techniques Sequence[str]
A list of techniques of attacks by which to classify the rule.
threshold_observations Sequence[AlertRuleAnomalyDuplicateThresholdObservationArgs]

A list of threshold_observation blocks as defined below.

NOTE: un-specified multi_select_observation, single_select_observation, prioritized_exclude_observation and threshold_observation will be inherited from the built-in Anomaly Alert Rule.

anomalySettingsVersion Number
The version of the Anomaly Security ML Analytics Settings.
anomalyVersion String
The anomaly version of the Anomaly Alert Rule.
builtInRuleId Changes to this property will trigger replacement. String
The ID of the built-in Anomaly Alert Rule. Changing this forces a new Duplicated Anomaly Alert Rule to be created.
description String
The description of the Anomaly Alert Rule.
displayName String
The Display Name of the built-in Anomaly Alert Rule.
enabled Boolean
Should the Duplicated Anomaly Alert Rule be enabled?
frequency String
The frequency the Anomaly Alert Rule will be run, such as "P1D".
isDefaultSettings Boolean
Whether the current settings of the Anomaly Alert Rule equals default settings.
logAnalyticsWorkspaceId Changes to this property will trigger replacement. String
The ID of the Log Analytics Workspace. Changing this forces a new Duplicated Anomaly Alert Rule to be created.
mode String
mode of the Duplicated Anomaly Alert Rule. Possible Values are Production and Flighting.
multiSelectObservations List<Property Map>
A list of multi_select_observation blocks as defined below.
name String
prioritizedExcludeObservations List<Property Map>
A list of prioritized_exclude_observation blocks as defined below.
requiredDataConnectors List<Property Map>
A required_data_connector block as defined below.
settingsDefinitionId String
The ID of the anomaly settings definition Id.
singleSelectObservations List<Property Map>
A list of single_select_observation blocks as defined below.
tactics List<String>
A list of categories of attacks by which to classify the rule.
techniques List<String>
A list of techniques of attacks by which to classify the rule.
thresholdObservations List<Property Map>

A list of threshold_observation blocks as defined below.

NOTE: un-specified multi_select_observation, single_select_observation, prioritized_exclude_observation and threshold_observation will be inherited from the built-in Anomaly Alert Rule.

Supporting Types

AlertRuleAnomalyDuplicateMultiSelectObservation
, AlertRuleAnomalyDuplicateMultiSelectObservationArgs

Name This property is required. string
The name of the multi select observation.
Values This property is required. List<string>
A list of values of the multi select observation.
Description string
The description of the multi select observation.
SupportedValues List<string>
A list of supported values of the multi select observation.
Name This property is required. string
The name of the multi select observation.
Values This property is required. []string
A list of values of the multi select observation.
Description string
The description of the multi select observation.
SupportedValues []string
A list of supported values of the multi select observation.
name This property is required. String
The name of the multi select observation.
values This property is required. List<String>
A list of values of the multi select observation.
description String
The description of the multi select observation.
supportedValues List<String>
A list of supported values of the multi select observation.
name This property is required. string
The name of the multi select observation.
values This property is required. string[]
A list of values of the multi select observation.
description string
The description of the multi select observation.
supportedValues string[]
A list of supported values of the multi select observation.
name This property is required. str
The name of the multi select observation.
values This property is required. Sequence[str]
A list of values of the multi select observation.
description str
The description of the multi select observation.
supported_values Sequence[str]
A list of supported values of the multi select observation.
name This property is required. String
The name of the multi select observation.
values This property is required. List<String>
A list of values of the multi select observation.
description String
The description of the multi select observation.
supportedValues List<String>
A list of supported values of the multi select observation.

AlertRuleAnomalyDuplicatePrioritizedExcludeObservation
, AlertRuleAnomalyDuplicatePrioritizedExcludeObservationArgs

Name This property is required. string
The name of the prioritized exclude observation.
Description string
The description of the prioritized exclude observation.
Exclude string
The excluded value per description.
Prioritize string
The prioritized value per description.
Name This property is required. string
The name of the prioritized exclude observation.
Description string
The description of the prioritized exclude observation.
Exclude string
The excluded value per description.
Prioritize string
The prioritized value per description.
name This property is required. String
The name of the prioritized exclude observation.
description String
The description of the prioritized exclude observation.
exclude String
The excluded value per description.
prioritize String
The prioritized value per description.
name This property is required. string
The name of the prioritized exclude observation.
description string
The description of the prioritized exclude observation.
exclude string
The excluded value per description.
prioritize string
The prioritized value per description.
name This property is required. str
The name of the prioritized exclude observation.
description str
The description of the prioritized exclude observation.
exclude str
The excluded value per description.
prioritize str
The prioritized value per description.
name This property is required. String
The name of the prioritized exclude observation.
description String
The description of the prioritized exclude observation.
exclude String
The excluded value per description.
prioritize String
The prioritized value per description.

AlertRuleAnomalyDuplicateRequiredDataConnector
, AlertRuleAnomalyDuplicateRequiredDataConnectorArgs

ConnectorId string
The ID of the required Data Connector.
DataTypes List<string>
A list of data types of the required Data Connector.
ConnectorId string
The ID of the required Data Connector.
DataTypes []string
A list of data types of the required Data Connector.
connectorId String
The ID of the required Data Connector.
dataTypes List<String>
A list of data types of the required Data Connector.
connectorId string
The ID of the required Data Connector.
dataTypes string[]
A list of data types of the required Data Connector.
connector_id str
The ID of the required Data Connector.
data_types Sequence[str]
A list of data types of the required Data Connector.
connectorId String
The ID of the required Data Connector.
dataTypes List<String>
A list of data types of the required Data Connector.

AlertRuleAnomalyDuplicateSingleSelectObservation
, AlertRuleAnomalyDuplicateSingleSelectObservationArgs

Name This property is required. string
The name of the single select observation.
Value This property is required. string
The value of the multi select observation.
Description string
The description of the single select observation.
SupportedValues List<string>
A list of supported values of the single select observation.
Name This property is required. string
The name of the single select observation.
Value This property is required. string
The value of the multi select observation.
Description string
The description of the single select observation.
SupportedValues []string
A list of supported values of the single select observation.
name This property is required. String
The name of the single select observation.
value This property is required. String
The value of the multi select observation.
description String
The description of the single select observation.
supportedValues List<String>
A list of supported values of the single select observation.
name This property is required. string
The name of the single select observation.
value This property is required. string
The value of the multi select observation.
description string
The description of the single select observation.
supportedValues string[]
A list of supported values of the single select observation.
name This property is required. str
The name of the single select observation.
value This property is required. str
The value of the multi select observation.
description str
The description of the single select observation.
supported_values Sequence[str]
A list of supported values of the single select observation.
name This property is required. String
The name of the single select observation.
value This property is required. String
The value of the multi select observation.
description String
The description of the single select observation.
supportedValues List<String>
A list of supported values of the single select observation.

AlertRuleAnomalyDuplicateThresholdObservation
, AlertRuleAnomalyDuplicateThresholdObservationArgs

Name This property is required. string
The name of the threshold observation.
Value This property is required. string
The value of the threshold observation.
Description string
The description of the threshold observation.
Max string
The max value of the threshold observation.
Min string
The min value of the threshold observation.
Name This property is required. string
The name of the threshold observation.
Value This property is required. string
The value of the threshold observation.
Description string
The description of the threshold observation.
Max string
The max value of the threshold observation.
Min string
The min value of the threshold observation.
name This property is required. String
The name of the threshold observation.
value This property is required. String
The value of the threshold observation.
description String
The description of the threshold observation.
max String
The max value of the threshold observation.
min String
The min value of the threshold observation.
name This property is required. string
The name of the threshold observation.
value This property is required. string
The value of the threshold observation.
description string
The description of the threshold observation.
max string
The max value of the threshold observation.
min string
The min value of the threshold observation.
name This property is required. str
The name of the threshold observation.
value This property is required. str
The value of the threshold observation.
description str
The description of the threshold observation.
max str
The max value of the threshold observation.
min str
The min value of the threshold observation.
name This property is required. String
The name of the threshold observation.
value This property is required. String
The value of the threshold observation.
description String
The description of the threshold observation.
max String
The max value of the threshold observation.
min String
The min value of the threshold observation.

Import

Built In Anomaly Alert Rules can be imported using the resource id, e.g.

$ pulumi import azure:sentinel/alertRuleAnomalyDuplicate:AlertRuleAnomalyDuplicate example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.OperationalInsights/workspaces/workspace1/providers/Microsoft.SecurityInsights/securityMLAnalyticsSettings/setting1
Copy

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

Package Details

Repository
Azure Classic pulumi/pulumi-azure
License
Apache-2.0
Notes
This Pulumi package is based on the azurerm Terraform Provider.