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

We recommend using Azure Native.

Azure Classic v5.52.0 published on Monday, Oct 2, 2023 by Pulumi

azure.sentinel.AlertRuleAnomalyBuiltIn

Explore with Pulumi AI

azure logo

We recommend using Azure Native.

Azure Classic v5.52.0 published on Monday, Oct 2, 2023 by Pulumi

    Import

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

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

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Azure = Pulumi.Azure;
    
    return await Deployment.RunAsync(() => 
    {
        var exampleResourceGroup = new Azure.Core.ResourceGroup("exampleResourceGroup", new()
        {
            Location = "West Europe",
        });
    
        var exampleAnalyticsWorkspace = new Azure.OperationalInsights.AnalyticsWorkspace("exampleAnalyticsWorkspace", new()
        {
            Location = exampleResourceGroup.Location,
            ResourceGroupName = exampleResourceGroup.Name,
            Sku = "PerGB2018",
        });
    
        var exampleLogAnalyticsWorkspaceOnboarding = new Azure.Sentinel.LogAnalyticsWorkspaceOnboarding("exampleLogAnalyticsWorkspaceOnboarding", new()
        {
            WorkspaceId = exampleAnalyticsWorkspace.Id,
            CustomerManagedKeyEnabled = false,
        });
    
        var exampleAlertRuleAnomaly = Azure.Sentinel.GetAlertRuleAnomaly.Invoke(new()
        {
            LogAnalyticsWorkspaceId = exampleLogAnalyticsWorkspaceOnboarding.WorkspaceId,
            DisplayName = "Potential data staging",
        });
    
        var exampleAlertRuleAnomalyBuiltIn = new Azure.Sentinel.AlertRuleAnomalyBuiltIn("exampleAlertRuleAnomalyBuiltIn", new()
        {
            DisplayName = "Potential data staging",
            LogAnalyticsWorkspaceId = exampleAnalyticsWorkspace.Id,
            Mode = "Production",
            Enabled = false,
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
    	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/operationalinsights"
    	"github.com/pulumi/pulumi-azure/sdk/v5/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, "exampleResourceGroup", &core.ResourceGroupArgs{
    			Location: pulumi.String("West Europe"),
    		})
    		if err != nil {
    			return err
    		}
    		exampleAnalyticsWorkspace, err := operationalinsights.NewAnalyticsWorkspace(ctx, "exampleAnalyticsWorkspace", &operationalinsights.AnalyticsWorkspaceArgs{
    			Location:          exampleResourceGroup.Location,
    			ResourceGroupName: exampleResourceGroup.Name,
    			Sku:               pulumi.String("PerGB2018"),
    		})
    		if err != nil {
    			return err
    		}
    		exampleLogAnalyticsWorkspaceOnboarding, err := sentinel.NewLogAnalyticsWorkspaceOnboarding(ctx, "exampleLogAnalyticsWorkspaceOnboarding", &sentinel.LogAnalyticsWorkspaceOnboardingArgs{
    			WorkspaceId:               exampleAnalyticsWorkspace.ID(),
    			CustomerManagedKeyEnabled: pulumi.Bool(false),
    		})
    		if err != nil {
    			return err
    		}
    		_ = sentinel.GetAlertRuleAnomalyOutput(ctx, sentinel.GetAlertRuleAnomalyOutputArgs{
    			LogAnalyticsWorkspaceId: exampleLogAnalyticsWorkspaceOnboarding.WorkspaceId,
    			DisplayName:             pulumi.String("Potential data staging"),
    		}, nil)
    		_, err = sentinel.NewAlertRuleAnomalyBuiltIn(ctx, "exampleAlertRuleAnomalyBuiltIn", &sentinel.AlertRuleAnomalyBuiltInArgs{
    			DisplayName:             pulumi.String("Potential data staging"),
    			LogAnalyticsWorkspaceId: exampleAnalyticsWorkspace.ID(),
    			Mode:                    pulumi.String("Production"),
    			Enabled:                 pulumi.Bool(false),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    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.AlertRuleAnomalyBuiltIn;
    import com.pulumi.azure.sentinel.AlertRuleAnomalyBuiltInArgs;
    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()        
                .location("West Europe")
                .build());
    
            var exampleAnalyticsWorkspace = new AnalyticsWorkspace("exampleAnalyticsWorkspace", AnalyticsWorkspaceArgs.builder()        
                .location(exampleResourceGroup.location())
                .resourceGroupName(exampleResourceGroup.name())
                .sku("PerGB2018")
                .build());
    
            var exampleLogAnalyticsWorkspaceOnboarding = new LogAnalyticsWorkspaceOnboarding("exampleLogAnalyticsWorkspaceOnboarding", LogAnalyticsWorkspaceOnboardingArgs.builder()        
                .workspaceId(exampleAnalyticsWorkspace.id())
                .customerManagedKeyEnabled(false)
                .build());
    
            final var exampleAlertRuleAnomaly = SentinelFunctions.getAlertRuleAnomaly(GetAlertRuleAnomalyArgs.builder()
                .logAnalyticsWorkspaceId(exampleLogAnalyticsWorkspaceOnboarding.workspaceId())
                .displayName("Potential data staging")
                .build());
    
            var exampleAlertRuleAnomalyBuiltIn = new AlertRuleAnomalyBuiltIn("exampleAlertRuleAnomalyBuiltIn", AlertRuleAnomalyBuiltInArgs.builder()        
                .displayName("Potential data staging")
                .logAnalyticsWorkspaceId(exampleAnalyticsWorkspace.id())
                .mode("Production")
                .enabled(false)
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure as azure
    
    example_resource_group = azure.core.ResourceGroup("exampleResourceGroup", location="West Europe")
    example_analytics_workspace = azure.operationalinsights.AnalyticsWorkspace("exampleAnalyticsWorkspace",
        location=example_resource_group.location,
        resource_group_name=example_resource_group.name,
        sku="PerGB2018")
    example_log_analytics_workspace_onboarding = azure.sentinel.LogAnalyticsWorkspaceOnboarding("exampleLogAnalyticsWorkspaceOnboarding",
        workspace_id=example_analytics_workspace.id,
        customer_managed_key_enabled=False)
    example_alert_rule_anomaly = azure.sentinel.get_alert_rule_anomaly_output(log_analytics_workspace_id=example_log_analytics_workspace_onboarding.workspace_id,
        display_name="Potential data staging")
    example_alert_rule_anomaly_built_in = azure.sentinel.AlertRuleAnomalyBuiltIn("exampleAlertRuleAnomalyBuiltIn",
        display_name="Potential data staging",
        log_analytics_workspace_id=example_analytics_workspace.id,
        mode="Production",
        enabled=False)
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure from "@pulumi/azure";
    
    const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
    const exampleAnalyticsWorkspace = new azure.operationalinsights.AnalyticsWorkspace("exampleAnalyticsWorkspace", {
        location: exampleResourceGroup.location,
        resourceGroupName: exampleResourceGroup.name,
        sku: "PerGB2018",
    });
    const exampleLogAnalyticsWorkspaceOnboarding = new azure.sentinel.LogAnalyticsWorkspaceOnboarding("exampleLogAnalyticsWorkspaceOnboarding", {
        workspaceId: exampleAnalyticsWorkspace.id,
        customerManagedKeyEnabled: false,
    });
    const exampleAlertRuleAnomaly = azure.sentinel.getAlertRuleAnomalyOutput({
        logAnalyticsWorkspaceId: exampleLogAnalyticsWorkspaceOnboarding.workspaceId,
        displayName: "Potential data staging",
    });
    const exampleAlertRuleAnomalyBuiltIn = new azure.sentinel.AlertRuleAnomalyBuiltIn("exampleAlertRuleAnomalyBuiltIn", {
        displayName: "Potential data staging",
        logAnalyticsWorkspaceId: exampleAnalyticsWorkspace.id,
        mode: "Production",
        enabled: false,
    });
    
    resources:
      exampleResourceGroup:
        type: azure:core:ResourceGroup
        properties:
          location: West Europe
      exampleAnalyticsWorkspace:
        type: azure:operationalinsights:AnalyticsWorkspace
        properties:
          location: ${exampleResourceGroup.location}
          resourceGroupName: ${exampleResourceGroup.name}
          sku: PerGB2018
      exampleLogAnalyticsWorkspaceOnboarding:
        type: azure:sentinel:LogAnalyticsWorkspaceOnboarding
        properties:
          workspaceId: ${exampleAnalyticsWorkspace.id}
          customerManagedKeyEnabled: false
      exampleAlertRuleAnomalyBuiltIn:
        type: azure:sentinel:AlertRuleAnomalyBuiltIn
        properties:
          displayName: Potential data staging
          logAnalyticsWorkspaceId: ${exampleAnalyticsWorkspace.id}
          mode: Production
          enabled: false
    variables:
      exampleAlertRuleAnomaly:
        fn::invoke:
          Function: azure:sentinel:getAlertRuleAnomaly
          Arguments:
            logAnalyticsWorkspaceId: ${exampleLogAnalyticsWorkspaceOnboarding.workspaceId}
            displayName: Potential data staging
    

    Create AlertRuleAnomalyBuiltIn Resource

    new AlertRuleAnomalyBuiltIn(name: string, args: AlertRuleAnomalyBuiltInArgs, opts?: CustomResourceOptions);
    @overload
    def AlertRuleAnomalyBuiltIn(resource_name: str,
                                opts: Optional[ResourceOptions] = None,
                                display_name: Optional[str] = None,
                                enabled: Optional[bool] = None,
                                log_analytics_workspace_id: Optional[str] = None,
                                mode: Optional[str] = None,
                                name: Optional[str] = None)
    @overload
    def AlertRuleAnomalyBuiltIn(resource_name: str,
                                args: AlertRuleAnomalyBuiltInArgs,
                                opts: Optional[ResourceOptions] = None)
    func NewAlertRuleAnomalyBuiltIn(ctx *Context, name string, args AlertRuleAnomalyBuiltInArgs, opts ...ResourceOption) (*AlertRuleAnomalyBuiltIn, error)
    public AlertRuleAnomalyBuiltIn(string name, AlertRuleAnomalyBuiltInArgs args, CustomResourceOptions? opts = null)
    public AlertRuleAnomalyBuiltIn(String name, AlertRuleAnomalyBuiltInArgs args)
    public AlertRuleAnomalyBuiltIn(String name, AlertRuleAnomalyBuiltInArgs args, CustomResourceOptions options)
    
    type: azure:sentinel:AlertRuleAnomalyBuiltIn
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args AlertRuleAnomalyBuiltInArgs
    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 AlertRuleAnomalyBuiltInArgs
    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 AlertRuleAnomalyBuiltInArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AlertRuleAnomalyBuiltInArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AlertRuleAnomalyBuiltInArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    AlertRuleAnomalyBuiltIn Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The AlertRuleAnomalyBuiltIn resource accepts the following input properties:

    Enabled bool

    Should the Built-in Anomaly Alert Rule be enabled?

    LogAnalyticsWorkspaceId string

    The ID of the Log Analytics Workspace. Changing this forces a new Built-in Anomaly Alert Rule to be created.

    Mode string

    mode of the Built-in Anomaly Alert Rule. Possible Values are Production and Flighting.

    DisplayName string

    The Display Name of the built-in Anomaly Alert Rule. Changing this forces a new Built-in Anomaly Alert Rule to be created.

    Note: One of name or display_name block must be specified.

    Name string

    The Name of the built-in Anomaly Alert Rule. Changing this forces a new Built-in Anomaly Alert Rule to be created.

    Enabled bool

    Should the Built-in Anomaly Alert Rule be enabled?

    LogAnalyticsWorkspaceId string

    The ID of the Log Analytics Workspace. Changing this forces a new Built-in Anomaly Alert Rule to be created.

    Mode string

    mode of the Built-in Anomaly Alert Rule. Possible Values are Production and Flighting.

    DisplayName string

    The Display Name of the built-in Anomaly Alert Rule. Changing this forces a new Built-in Anomaly Alert Rule to be created.

    Note: One of name or display_name block must be specified.

    Name string

    The Name of the built-in Anomaly Alert Rule. Changing this forces a new Built-in Anomaly Alert Rule to be created.

    enabled Boolean

    Should the Built-in Anomaly Alert Rule be enabled?

    logAnalyticsWorkspaceId String

    The ID of the Log Analytics Workspace. Changing this forces a new Built-in Anomaly Alert Rule to be created.

    mode String

    mode of the Built-in Anomaly Alert Rule. Possible Values are Production and Flighting.

    displayName String

    The Display Name of the built-in Anomaly Alert Rule. Changing this forces a new Built-in Anomaly Alert Rule to be created.

    Note: One of name or display_name block must be specified.

    name String

    The Name of the built-in Anomaly Alert Rule. Changing this forces a new Built-in Anomaly Alert Rule to be created.

    enabled boolean

    Should the Built-in Anomaly Alert Rule be enabled?

    logAnalyticsWorkspaceId string

    The ID of the Log Analytics Workspace. Changing this forces a new Built-in Anomaly Alert Rule to be created.

    mode string

    mode of the Built-in Anomaly Alert Rule. Possible Values are Production and Flighting.

    displayName string

    The Display Name of the built-in Anomaly Alert Rule. Changing this forces a new Built-in Anomaly Alert Rule to be created.

    Note: One of name or display_name block must be specified.

    name string

    The Name of the built-in Anomaly Alert Rule. Changing this forces a new Built-in Anomaly Alert Rule to be created.

    enabled bool

    Should the Built-in Anomaly Alert Rule be enabled?

    log_analytics_workspace_id str

    The ID of the Log Analytics Workspace. Changing this forces a new Built-in Anomaly Alert Rule to be created.

    mode str

    mode of the Built-in Anomaly Alert Rule. Possible Values are Production and Flighting.

    display_name str

    The Display Name of the built-in Anomaly Alert Rule. Changing this forces a new Built-in Anomaly Alert Rule to be created.

    Note: One of name or display_name block must be specified.

    name str

    The Name of the built-in Anomaly Alert Rule. Changing this forces a new Built-in Anomaly Alert Rule to be created.

    enabled Boolean

    Should the Built-in Anomaly Alert Rule be enabled?

    logAnalyticsWorkspaceId String

    The ID of the Log Analytics Workspace. Changing this forces a new Built-in Anomaly Alert Rule to be created.

    mode String

    mode of the Built-in Anomaly Alert Rule. Possible Values are Production and Flighting.

    displayName String

    The Display Name of the built-in Anomaly Alert Rule. Changing this forces a new Built-in Anomaly Alert Rule to be created.

    Note: One of name or display_name block must be specified.

    name String

    The Name of the built-in Anomaly Alert Rule. Changing this forces a new Built-in Anomaly Alert Rule to be created.

    Outputs

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

    Frequency string

    The frequency the Anomaly Alert Rule will be run.

    Id string

    The provider-assigned unique ID for this managed resource.

    MultiSelectObservations List<AlertRuleAnomalyBuiltInMultiSelectObservation>

    A list of multi_select_observation blocks as defined below.

    PrioritizedExcludeObservations List<AlertRuleAnomalyBuiltInPrioritizedExcludeObservation>

    A list of prioritized_exclude_observation blocks as defined below.

    RequiredDataConnectors List<AlertRuleAnomalyBuiltInRequiredDataConnector>

    A required_data_connector block as defined below.

    SettingsDefinitionId string

    The ID of the anomaly settings definition Id.

    SingleSelectObservations List<AlertRuleAnomalyBuiltInSingleSelectObservation>

    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<AlertRuleAnomalyBuiltInThresholdObservation>

    A list of threshold_observation blocks as defined below.

    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 threshold observation.

    Frequency string

    The frequency the Anomaly Alert Rule will be run.

    Id string

    The provider-assigned unique ID for this managed resource.

    MultiSelectObservations []AlertRuleAnomalyBuiltInMultiSelectObservation

    A list of multi_select_observation blocks as defined below.

    PrioritizedExcludeObservations []AlertRuleAnomalyBuiltInPrioritizedExcludeObservation

    A list of prioritized_exclude_observation blocks as defined below.

    RequiredDataConnectors []AlertRuleAnomalyBuiltInRequiredDataConnector

    A required_data_connector block as defined below.

    SettingsDefinitionId string

    The ID of the anomaly settings definition Id.

    SingleSelectObservations []AlertRuleAnomalyBuiltInSingleSelectObservation

    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 []AlertRuleAnomalyBuiltInThresholdObservation

    A list of threshold_observation blocks as defined below.

    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 threshold observation.

    frequency String

    The frequency the Anomaly Alert Rule will be run.

    id String

    The provider-assigned unique ID for this managed resource.

    multiSelectObservations List<AlertRuleAnomalyBuiltInMultiSelectObservation>

    A list of multi_select_observation blocks as defined below.

    prioritizedExcludeObservations List<AlertRuleAnomalyBuiltInPrioritizedExcludeObservation>

    A list of prioritized_exclude_observation blocks as defined below.

    requiredDataConnectors List<AlertRuleAnomalyBuiltInRequiredDataConnector>

    A required_data_connector block as defined below.

    settingsDefinitionId String

    The ID of the anomaly settings definition Id.

    singleSelectObservations List<AlertRuleAnomalyBuiltInSingleSelectObservation>

    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<AlertRuleAnomalyBuiltInThresholdObservation>

    A list of threshold_observation blocks as defined below.

    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 threshold observation.

    frequency string

    The frequency the Anomaly Alert Rule will be run.

    id string

    The provider-assigned unique ID for this managed resource.

    multiSelectObservations AlertRuleAnomalyBuiltInMultiSelectObservation[]

    A list of multi_select_observation blocks as defined below.

    prioritizedExcludeObservations AlertRuleAnomalyBuiltInPrioritizedExcludeObservation[]

    A list of prioritized_exclude_observation blocks as defined below.

    requiredDataConnectors AlertRuleAnomalyBuiltInRequiredDataConnector[]

    A required_data_connector block as defined below.

    settingsDefinitionId string

    The ID of the anomaly settings definition Id.

    singleSelectObservations AlertRuleAnomalyBuiltInSingleSelectObservation[]

    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 AlertRuleAnomalyBuiltInThresholdObservation[]

    A list of threshold_observation blocks as defined below.

    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 threshold observation.

    frequency str

    The frequency the Anomaly Alert Rule will be run.

    id str

    The provider-assigned unique ID for this managed resource.

    multi_select_observations Sequence[AlertRuleAnomalyBuiltInMultiSelectObservation]

    A list of multi_select_observation blocks as defined below.

    prioritized_exclude_observations Sequence[AlertRuleAnomalyBuiltInPrioritizedExcludeObservation]

    A list of prioritized_exclude_observation blocks as defined below.

    required_data_connectors Sequence[AlertRuleAnomalyBuiltInRequiredDataConnector]

    A required_data_connector block as defined below.

    settings_definition_id str

    The ID of the anomaly settings definition Id.

    single_select_observations Sequence[AlertRuleAnomalyBuiltInSingleSelectObservation]

    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[AlertRuleAnomalyBuiltInThresholdObservation]

    A list of threshold_observation blocks as defined below.

    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 threshold observation.

    frequency String

    The frequency the Anomaly Alert Rule will be run.

    id String

    The provider-assigned unique ID for this managed resource.

    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.

    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.

    Look up Existing AlertRuleAnomalyBuiltIn Resource

    Get an existing AlertRuleAnomalyBuiltIn 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?: AlertRuleAnomalyBuiltInState, opts?: CustomResourceOptions): AlertRuleAnomalyBuiltIn
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            anomaly_settings_version: Optional[int] = None,
            anomaly_version: Optional[str] = None,
            description: Optional[str] = None,
            display_name: Optional[str] = None,
            enabled: Optional[bool] = None,
            frequency: Optional[str] = None,
            log_analytics_workspace_id: Optional[str] = None,
            mode: Optional[str] = None,
            multi_select_observations: Optional[Sequence[AlertRuleAnomalyBuiltInMultiSelectObservationArgs]] = None,
            name: Optional[str] = None,
            prioritized_exclude_observations: Optional[Sequence[AlertRuleAnomalyBuiltInPrioritizedExcludeObservationArgs]] = None,
            required_data_connectors: Optional[Sequence[AlertRuleAnomalyBuiltInRequiredDataConnectorArgs]] = None,
            settings_definition_id: Optional[str] = None,
            single_select_observations: Optional[Sequence[AlertRuleAnomalyBuiltInSingleSelectObservationArgs]] = None,
            tactics: Optional[Sequence[str]] = None,
            techniques: Optional[Sequence[str]] = None,
            threshold_observations: Optional[Sequence[AlertRuleAnomalyBuiltInThresholdObservationArgs]] = None) -> AlertRuleAnomalyBuiltIn
    func GetAlertRuleAnomalyBuiltIn(ctx *Context, name string, id IDInput, state *AlertRuleAnomalyBuiltInState, opts ...ResourceOption) (*AlertRuleAnomalyBuiltIn, error)
    public static AlertRuleAnomalyBuiltIn Get(string name, Input<string> id, AlertRuleAnomalyBuiltInState? state, CustomResourceOptions? opts = null)
    public static AlertRuleAnomalyBuiltIn get(String name, Output<String> id, AlertRuleAnomalyBuiltInState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    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 threshold observation.

    DisplayName string

    The Display Name of the built-in Anomaly Alert Rule. Changing this forces a new Built-in Anomaly Alert Rule to be created.

    Note: One of name or display_name block must be specified.

    Enabled bool

    Should the Built-in Anomaly Alert Rule be enabled?

    Frequency string

    The frequency the Anomaly Alert Rule will be run.

    LogAnalyticsWorkspaceId string

    The ID of the Log Analytics Workspace. Changing this forces a new Built-in Anomaly Alert Rule to be created.

    Mode string

    mode of the Built-in Anomaly Alert Rule. Possible Values are Production and Flighting.

    MultiSelectObservations List<AlertRuleAnomalyBuiltInMultiSelectObservation>

    A list of multi_select_observation blocks as defined below.

    Name string

    The Name of the built-in Anomaly Alert Rule. Changing this forces a new Built-in Anomaly Alert Rule to be created.

    PrioritizedExcludeObservations List<AlertRuleAnomalyBuiltInPrioritizedExcludeObservation>

    A list of prioritized_exclude_observation blocks as defined below.

    RequiredDataConnectors List<AlertRuleAnomalyBuiltInRequiredDataConnector>

    A required_data_connector block as defined below.

    SettingsDefinitionId string

    The ID of the anomaly settings definition Id.

    SingleSelectObservations List<AlertRuleAnomalyBuiltInSingleSelectObservation>

    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<AlertRuleAnomalyBuiltInThresholdObservation>

    A list of threshold_observation blocks as defined below.

    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 threshold observation.

    DisplayName string

    The Display Name of the built-in Anomaly Alert Rule. Changing this forces a new Built-in Anomaly Alert Rule to be created.

    Note: One of name or display_name block must be specified.

    Enabled bool

    Should the Built-in Anomaly Alert Rule be enabled?

    Frequency string

    The frequency the Anomaly Alert Rule will be run.

    LogAnalyticsWorkspaceId string

    The ID of the Log Analytics Workspace. Changing this forces a new Built-in Anomaly Alert Rule to be created.

    Mode string

    mode of the Built-in Anomaly Alert Rule. Possible Values are Production and Flighting.

    MultiSelectObservations []AlertRuleAnomalyBuiltInMultiSelectObservationArgs

    A list of multi_select_observation blocks as defined below.

    Name string

    The Name of the built-in Anomaly Alert Rule. Changing this forces a new Built-in Anomaly Alert Rule to be created.

    PrioritizedExcludeObservations []AlertRuleAnomalyBuiltInPrioritizedExcludeObservationArgs

    A list of prioritized_exclude_observation blocks as defined below.

    RequiredDataConnectors []AlertRuleAnomalyBuiltInRequiredDataConnectorArgs

    A required_data_connector block as defined below.

    SettingsDefinitionId string

    The ID of the anomaly settings definition Id.

    SingleSelectObservations []AlertRuleAnomalyBuiltInSingleSelectObservationArgs

    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 []AlertRuleAnomalyBuiltInThresholdObservationArgs

    A list of threshold_observation blocks as defined below.

    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 threshold observation.

    displayName String

    The Display Name of the built-in Anomaly Alert Rule. Changing this forces a new Built-in Anomaly Alert Rule to be created.

    Note: One of name or display_name block must be specified.

    enabled Boolean

    Should the Built-in Anomaly Alert Rule be enabled?

    frequency String

    The frequency the Anomaly Alert Rule will be run.

    logAnalyticsWorkspaceId String

    The ID of the Log Analytics Workspace. Changing this forces a new Built-in Anomaly Alert Rule to be created.

    mode String

    mode of the Built-in Anomaly Alert Rule. Possible Values are Production and Flighting.

    multiSelectObservations List<AlertRuleAnomalyBuiltInMultiSelectObservation>

    A list of multi_select_observation blocks as defined below.

    name String

    The Name of the built-in Anomaly Alert Rule. Changing this forces a new Built-in Anomaly Alert Rule to be created.

    prioritizedExcludeObservations List<AlertRuleAnomalyBuiltInPrioritizedExcludeObservation>

    A list of prioritized_exclude_observation blocks as defined below.

    requiredDataConnectors List<AlertRuleAnomalyBuiltInRequiredDataConnector>

    A required_data_connector block as defined below.

    settingsDefinitionId String

    The ID of the anomaly settings definition Id.

    singleSelectObservations List<AlertRuleAnomalyBuiltInSingleSelectObservation>

    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<AlertRuleAnomalyBuiltInThresholdObservation>

    A list of threshold_observation blocks as defined below.

    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 threshold observation.

    displayName string

    The Display Name of the built-in Anomaly Alert Rule. Changing this forces a new Built-in Anomaly Alert Rule to be created.

    Note: One of name or display_name block must be specified.

    enabled boolean

    Should the Built-in Anomaly Alert Rule be enabled?

    frequency string

    The frequency the Anomaly Alert Rule will be run.

    logAnalyticsWorkspaceId string

    The ID of the Log Analytics Workspace. Changing this forces a new Built-in Anomaly Alert Rule to be created.

    mode string

    mode of the Built-in Anomaly Alert Rule. Possible Values are Production and Flighting.

    multiSelectObservations AlertRuleAnomalyBuiltInMultiSelectObservation[]

    A list of multi_select_observation blocks as defined below.

    name string

    The Name of the built-in Anomaly Alert Rule. Changing this forces a new Built-in Anomaly Alert Rule to be created.

    prioritizedExcludeObservations AlertRuleAnomalyBuiltInPrioritizedExcludeObservation[]

    A list of prioritized_exclude_observation blocks as defined below.

    requiredDataConnectors AlertRuleAnomalyBuiltInRequiredDataConnector[]

    A required_data_connector block as defined below.

    settingsDefinitionId string

    The ID of the anomaly settings definition Id.

    singleSelectObservations AlertRuleAnomalyBuiltInSingleSelectObservation[]

    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 AlertRuleAnomalyBuiltInThresholdObservation[]

    A list of threshold_observation blocks as defined below.

    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 threshold observation.

    display_name str

    The Display Name of the built-in Anomaly Alert Rule. Changing this forces a new Built-in Anomaly Alert Rule to be created.

    Note: One of name or display_name block must be specified.

    enabled bool

    Should the Built-in Anomaly Alert Rule be enabled?

    frequency str

    The frequency the Anomaly Alert Rule will be run.

    log_analytics_workspace_id str

    The ID of the Log Analytics Workspace. Changing this forces a new Built-in Anomaly Alert Rule to be created.

    mode str

    mode of the Built-in Anomaly Alert Rule. Possible Values are Production and Flighting.

    multi_select_observations Sequence[AlertRuleAnomalyBuiltInMultiSelectObservationArgs]

    A list of multi_select_observation blocks as defined below.

    name str

    The Name of the built-in Anomaly Alert Rule. Changing this forces a new Built-in Anomaly Alert Rule to be created.

    prioritized_exclude_observations Sequence[AlertRuleAnomalyBuiltInPrioritizedExcludeObservationArgs]

    A list of prioritized_exclude_observation blocks as defined below.

    required_data_connectors Sequence[AlertRuleAnomalyBuiltInRequiredDataConnectorArgs]

    A required_data_connector block as defined below.

    settings_definition_id str

    The ID of the anomaly settings definition Id.

    single_select_observations Sequence[AlertRuleAnomalyBuiltInSingleSelectObservationArgs]

    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[AlertRuleAnomalyBuiltInThresholdObservationArgs]

    A list of threshold_observation blocks as defined below.

    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 threshold observation.

    displayName String

    The Display Name of the built-in Anomaly Alert Rule. Changing this forces a new Built-in Anomaly Alert Rule to be created.

    Note: One of name or display_name block must be specified.

    enabled Boolean

    Should the Built-in Anomaly Alert Rule be enabled?

    frequency String

    The frequency the Anomaly Alert Rule will be run.

    logAnalyticsWorkspaceId String

    The ID of the Log Analytics Workspace. Changing this forces a new Built-in Anomaly Alert Rule to be created.

    mode String

    mode of the Built-in 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

    The Name of the built-in Anomaly Alert Rule. Changing this forces a new Built-in Anomaly Alert Rule to be created.

    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.

    Supporting Types

    AlertRuleAnomalyBuiltInMultiSelectObservation, AlertRuleAnomalyBuiltInMultiSelectObservationArgs

    Description string

    The description of the threshold observation.

    Name string

    The Name of the built-in Anomaly Alert Rule. Changing this forces a new Built-in Anomaly Alert Rule to be created.

    SupportedValues List<string>

    A list of supported values of the single select observation.

    Values List<string>

    A list of values of the single select observation.

    Description string

    The description of the threshold observation.

    Name string

    The Name of the built-in Anomaly Alert Rule. Changing this forces a new Built-in Anomaly Alert Rule to be created.

    SupportedValues []string

    A list of supported values of the single select observation.

    Values []string

    A list of values of the single select observation.

    description String

    The description of the threshold observation.

    name String

    The Name of the built-in Anomaly Alert Rule. Changing this forces a new Built-in Anomaly Alert Rule to be created.

    supportedValues List<String>

    A list of supported values of the single select observation.

    values List<String>

    A list of values of the single select observation.

    description string

    The description of the threshold observation.

    name string

    The Name of the built-in Anomaly Alert Rule. Changing this forces a new Built-in Anomaly Alert Rule to be created.

    supportedValues string[]

    A list of supported values of the single select observation.

    values string[]

    A list of values of the single select observation.

    description str

    The description of the threshold observation.

    name str

    The Name of the built-in Anomaly Alert Rule. Changing this forces a new Built-in Anomaly Alert Rule to be created.

    supported_values Sequence[str]

    A list of supported values of the single select observation.

    values Sequence[str]

    A list of values of the single select observation.

    description String

    The description of the threshold observation.

    name String

    The Name of the built-in Anomaly Alert Rule. Changing this forces a new Built-in Anomaly Alert Rule to be created.

    supportedValues List<String>

    A list of supported values of the single select observation.

    values List<String>

    A list of values of the single select observation.

    AlertRuleAnomalyBuiltInPrioritizedExcludeObservation, AlertRuleAnomalyBuiltInPrioritizedExcludeObservationArgs

    Description string

    The description of the threshold observation.

    Exclude string

    The excluded value per description.

    Name string

    The Name of the built-in Anomaly Alert Rule. Changing this forces a new Built-in Anomaly Alert Rule to be created.

    Prioritize string

    The prioritized value per description.

    Description string

    The description of the threshold observation.

    Exclude string

    The excluded value per description.

    Name string

    The Name of the built-in Anomaly Alert Rule. Changing this forces a new Built-in Anomaly Alert Rule to be created.

    Prioritize string

    The prioritized value per description.

    description String

    The description of the threshold observation.

    exclude String

    The excluded value per description.

    name String

    The Name of the built-in Anomaly Alert Rule. Changing this forces a new Built-in Anomaly Alert Rule to be created.

    prioritize String

    The prioritized value per description.

    description string

    The description of the threshold observation.

    exclude string

    The excluded value per description.

    name string

    The Name of the built-in Anomaly Alert Rule. Changing this forces a new Built-in Anomaly Alert Rule to be created.

    prioritize string

    The prioritized value per description.

    description str

    The description of the threshold observation.

    exclude str

    The excluded value per description.

    name str

    The Name of the built-in Anomaly Alert Rule. Changing this forces a new Built-in Anomaly Alert Rule to be created.

    prioritize str

    The prioritized value per description.

    description String

    The description of the threshold observation.

    exclude String

    The excluded value per description.

    name String

    The Name of the built-in Anomaly Alert Rule. Changing this forces a new Built-in Anomaly Alert Rule to be created.

    prioritize String

    The prioritized value per description.

    AlertRuleAnomalyBuiltInRequiredDataConnector, AlertRuleAnomalyBuiltInRequiredDataConnectorArgs

    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.

    AlertRuleAnomalyBuiltInSingleSelectObservation, AlertRuleAnomalyBuiltInSingleSelectObservationArgs

    Description string

    The description of the threshold observation.

    Name string

    The Name of the built-in Anomaly Alert Rule. Changing this forces a new Built-in Anomaly Alert Rule to be created.

    SupportedValues List<string>

    A list of supported values of the single select observation.

    Value string

    The value of the threshold observation.

    Description string

    The description of the threshold observation.

    Name string

    The Name of the built-in Anomaly Alert Rule. Changing this forces a new Built-in Anomaly Alert Rule to be created.

    SupportedValues []string

    A list of supported values of the single select observation.

    Value string

    The value of the threshold observation.

    description String

    The description of the threshold observation.

    name String

    The Name of the built-in Anomaly Alert Rule. Changing this forces a new Built-in Anomaly Alert Rule to be created.

    supportedValues List<String>

    A list of supported values of the single select observation.

    value String

    The value of the threshold observation.

    description string

    The description of the threshold observation.

    name string

    The Name of the built-in Anomaly Alert Rule. Changing this forces a new Built-in Anomaly Alert Rule to be created.

    supportedValues string[]

    A list of supported values of the single select observation.

    value string

    The value of the threshold observation.

    description str

    The description of the threshold observation.

    name str

    The Name of the built-in Anomaly Alert Rule. Changing this forces a new Built-in Anomaly Alert Rule to be created.

    supported_values Sequence[str]

    A list of supported values of the single select observation.

    value str

    The value of the threshold observation.

    description String

    The description of the threshold observation.

    name String

    The Name of the built-in Anomaly Alert Rule. Changing this forces a new Built-in Anomaly Alert Rule to be created.

    supportedValues List<String>

    A list of supported values of the single select observation.

    value String

    The value of the threshold observation.

    AlertRuleAnomalyBuiltInThresholdObservation, AlertRuleAnomalyBuiltInThresholdObservationArgs

    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 string

    The Name of the built-in Anomaly Alert Rule. Changing this forces a new Built-in Anomaly Alert Rule to be created.

    Value 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 string

    The Name of the built-in Anomaly Alert Rule. Changing this forces a new Built-in Anomaly Alert Rule to be created.

    Value 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 String

    The Name of the built-in Anomaly Alert Rule. Changing this forces a new Built-in Anomaly Alert Rule to be created.

    value 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 string

    The Name of the built-in Anomaly Alert Rule. Changing this forces a new Built-in Anomaly Alert Rule to be created.

    value string

    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 str

    The Name of the built-in Anomaly Alert Rule. Changing this forces a new Built-in Anomaly Alert Rule to be created.

    value str

    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 String

    The Name of the built-in Anomaly Alert Rule. Changing this forces a new Built-in Anomaly Alert Rule to be created.

    value String

    The value of the threshold observation.

    Package Details

    Repository
    Azure Classic pulumi/pulumi-azure
    License
    Apache-2.0
    Notes

    This Pulumi package is based on the azurerm Terraform Provider.

    azure logo

    We recommend using Azure Native.

    Azure Classic v5.52.0 published on Monday, Oct 2, 2023 by Pulumi