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

We recommend using Azure Native.

Azure Classic v5.72.0 published on Monday, Apr 15, 2024 by Pulumi

azure.sentinel.AlertRuleFusion

Explore with Pulumi AI

azure logo

We recommend using Azure Native.

Azure Classic v5.72.0 published on Monday, Apr 15, 2024 by Pulumi

    Manages a Sentinel Fusion Alert Rule.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as azure from "@pulumi/azure";
    
    const example = new azure.core.ResourceGroup("example", {
        name: "example-resources",
        location: "West Europe",
    });
    const exampleAnalyticsWorkspace = new azure.operationalinsights.AnalyticsWorkspace("example", {
        name: "example-workspace",
        location: example.location,
        resourceGroupName: example.name,
        sku: "PerGB2018",
    });
    const exampleAnalyticsSolution = new azure.operationalinsights.AnalyticsSolution("example", {
        solutionName: "SecurityInsights",
        location: example.location,
        resourceGroupName: example.name,
        workspaceResourceId: exampleAnalyticsWorkspace.id,
        workspaceName: exampleAnalyticsWorkspace.name,
        plan: {
            publisher: "Microsoft",
            product: "OMSGallery/SecurityInsights",
        },
    });
    const exampleAlertRuleFusion = new azure.sentinel.AlertRuleFusion("example", {
        name: "example-fusion-alert-rule",
        logAnalyticsWorkspaceId: exampleAnalyticsSolution.workspaceResourceId,
        alertRuleTemplateGuid: "f71aba3d-28fb-450b-b192-4e76a83015c8",
    });
    
    import pulumi
    import pulumi_azure as azure
    
    example = azure.core.ResourceGroup("example",
        name="example-resources",
        location="West Europe")
    example_analytics_workspace = azure.operationalinsights.AnalyticsWorkspace("example",
        name="example-workspace",
        location=example.location,
        resource_group_name=example.name,
        sku="PerGB2018")
    example_analytics_solution = azure.operationalinsights.AnalyticsSolution("example",
        solution_name="SecurityInsights",
        location=example.location,
        resource_group_name=example.name,
        workspace_resource_id=example_analytics_workspace.id,
        workspace_name=example_analytics_workspace.name,
        plan=azure.operationalinsights.AnalyticsSolutionPlanArgs(
            publisher="Microsoft",
            product="OMSGallery/SecurityInsights",
        ))
    example_alert_rule_fusion = azure.sentinel.AlertRuleFusion("example",
        name="example-fusion-alert-rule",
        log_analytics_workspace_id=example_analytics_solution.workspace_resource_id,
        alert_rule_template_guid="f71aba3d-28fb-450b-b192-4e76a83015c8")
    
    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 {
    		example, 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-workspace"),
    			Location:          example.Location,
    			ResourceGroupName: example.Name,
    			Sku:               pulumi.String("PerGB2018"),
    		})
    		if err != nil {
    			return err
    		}
    		exampleAnalyticsSolution, err := operationalinsights.NewAnalyticsSolution(ctx, "example", &operationalinsights.AnalyticsSolutionArgs{
    			SolutionName:        pulumi.String("SecurityInsights"),
    			Location:            example.Location,
    			ResourceGroupName:   example.Name,
    			WorkspaceResourceId: exampleAnalyticsWorkspace.ID(),
    			WorkspaceName:       exampleAnalyticsWorkspace.Name,
    			Plan: &operationalinsights.AnalyticsSolutionPlanArgs{
    				Publisher: pulumi.String("Microsoft"),
    				Product:   pulumi.String("OMSGallery/SecurityInsights"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_, err = sentinel.NewAlertRuleFusion(ctx, "example", &sentinel.AlertRuleFusionArgs{
    			Name:                    pulumi.String("example-fusion-alert-rule"),
    			LogAnalyticsWorkspaceId: exampleAnalyticsSolution.WorkspaceResourceId,
    			AlertRuleTemplateGuid:   pulumi.String("f71aba3d-28fb-450b-b192-4e76a83015c8"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Azure = Pulumi.Azure;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Azure.Core.ResourceGroup("example", new()
        {
            Name = "example-resources",
            Location = "West Europe",
        });
    
        var exampleAnalyticsWorkspace = new Azure.OperationalInsights.AnalyticsWorkspace("example", new()
        {
            Name = "example-workspace",
            Location = example.Location,
            ResourceGroupName = example.Name,
            Sku = "PerGB2018",
        });
    
        var exampleAnalyticsSolution = new Azure.OperationalInsights.AnalyticsSolution("example", new()
        {
            SolutionName = "SecurityInsights",
            Location = example.Location,
            ResourceGroupName = example.Name,
            WorkspaceResourceId = exampleAnalyticsWorkspace.Id,
            WorkspaceName = exampleAnalyticsWorkspace.Name,
            Plan = new Azure.OperationalInsights.Inputs.AnalyticsSolutionPlanArgs
            {
                Publisher = "Microsoft",
                Product = "OMSGallery/SecurityInsights",
            },
        });
    
        var exampleAlertRuleFusion = new Azure.Sentinel.AlertRuleFusion("example", new()
        {
            Name = "example-fusion-alert-rule",
            LogAnalyticsWorkspaceId = exampleAnalyticsSolution.WorkspaceResourceId,
            AlertRuleTemplateGuid = "f71aba3d-28fb-450b-b192-4e76a83015c8",
        });
    
    });
    
    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.operationalinsights.AnalyticsSolution;
    import com.pulumi.azure.operationalinsights.AnalyticsSolutionArgs;
    import com.pulumi.azure.operationalinsights.inputs.AnalyticsSolutionPlanArgs;
    import com.pulumi.azure.sentinel.AlertRuleFusion;
    import com.pulumi.azure.sentinel.AlertRuleFusionArgs;
    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 example = new ResourceGroup("example", ResourceGroupArgs.builder()        
                .name("example-resources")
                .location("West Europe")
                .build());
    
            var exampleAnalyticsWorkspace = new AnalyticsWorkspace("exampleAnalyticsWorkspace", AnalyticsWorkspaceArgs.builder()        
                .name("example-workspace")
                .location(example.location())
                .resourceGroupName(example.name())
                .sku("PerGB2018")
                .build());
    
            var exampleAnalyticsSolution = new AnalyticsSolution("exampleAnalyticsSolution", AnalyticsSolutionArgs.builder()        
                .solutionName("SecurityInsights")
                .location(example.location())
                .resourceGroupName(example.name())
                .workspaceResourceId(exampleAnalyticsWorkspace.id())
                .workspaceName(exampleAnalyticsWorkspace.name())
                .plan(AnalyticsSolutionPlanArgs.builder()
                    .publisher("Microsoft")
                    .product("OMSGallery/SecurityInsights")
                    .build())
                .build());
    
            var exampleAlertRuleFusion = new AlertRuleFusion("exampleAlertRuleFusion", AlertRuleFusionArgs.builder()        
                .name("example-fusion-alert-rule")
                .logAnalyticsWorkspaceId(exampleAnalyticsSolution.workspaceResourceId())
                .alertRuleTemplateGuid("f71aba3d-28fb-450b-b192-4e76a83015c8")
                .build());
    
        }
    }
    
    resources:
      example:
        type: azure:core:ResourceGroup
        properties:
          name: example-resources
          location: West Europe
      exampleAnalyticsWorkspace:
        type: azure:operationalinsights:AnalyticsWorkspace
        name: example
        properties:
          name: example-workspace
          location: ${example.location}
          resourceGroupName: ${example.name}
          sku: PerGB2018
      exampleAnalyticsSolution:
        type: azure:operationalinsights:AnalyticsSolution
        name: example
        properties:
          solutionName: SecurityInsights
          location: ${example.location}
          resourceGroupName: ${example.name}
          workspaceResourceId: ${exampleAnalyticsWorkspace.id}
          workspaceName: ${exampleAnalyticsWorkspace.name}
          plan:
            publisher: Microsoft
            product: OMSGallery/SecurityInsights
      exampleAlertRuleFusion:
        type: azure:sentinel:AlertRuleFusion
        name: example
        properties:
          name: example-fusion-alert-rule
          logAnalyticsWorkspaceId: ${exampleAnalyticsSolution.workspaceResourceId}
          alertRuleTemplateGuid: f71aba3d-28fb-450b-b192-4e76a83015c8
    

    Create AlertRuleFusion Resource

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

    Constructor syntax

    new AlertRuleFusion(name: string, args: AlertRuleFusionArgs, opts?: CustomResourceOptions);
    @overload
    def AlertRuleFusion(resource_name: str,
                        args: AlertRuleFusionArgs,
                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def AlertRuleFusion(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        alert_rule_template_guid: Optional[str] = None,
                        log_analytics_workspace_id: Optional[str] = None,
                        enabled: Optional[bool] = None,
                        name: Optional[str] = None,
                        sources: Optional[Sequence[AlertRuleFusionSourceArgs]] = None)
    func NewAlertRuleFusion(ctx *Context, name string, args AlertRuleFusionArgs, opts ...ResourceOption) (*AlertRuleFusion, error)
    public AlertRuleFusion(string name, AlertRuleFusionArgs args, CustomResourceOptions? opts = null)
    public AlertRuleFusion(String name, AlertRuleFusionArgs args)
    public AlertRuleFusion(String name, AlertRuleFusionArgs args, CustomResourceOptions options)
    
    type: azure:sentinel:AlertRuleFusion
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

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

    Example

    The following reference example uses placeholder values for all input properties.

    var alertRuleFusionResource = new Azure.Sentinel.AlertRuleFusion("alertRuleFusionResource", new()
    {
        AlertRuleTemplateGuid = "string",
        LogAnalyticsWorkspaceId = "string",
        Enabled = false,
        Name = "string",
        Sources = new[]
        {
            new Azure.Sentinel.Inputs.AlertRuleFusionSourceArgs
            {
                Name = "string",
                Enabled = false,
                SubTypes = new[]
                {
                    new Azure.Sentinel.Inputs.AlertRuleFusionSourceSubTypeArgs
                    {
                        Name = "string",
                        SeveritiesAlloweds = new[]
                        {
                            "string",
                        },
                        Enabled = false,
                    },
                },
            },
        },
    });
    
    example, err := sentinel.NewAlertRuleFusion(ctx, "alertRuleFusionResource", &sentinel.AlertRuleFusionArgs{
    	AlertRuleTemplateGuid:   pulumi.String("string"),
    	LogAnalyticsWorkspaceId: pulumi.String("string"),
    	Enabled:                 pulumi.Bool(false),
    	Name:                    pulumi.String("string"),
    	Sources: sentinel.AlertRuleFusionSourceArray{
    		&sentinel.AlertRuleFusionSourceArgs{
    			Name:    pulumi.String("string"),
    			Enabled: pulumi.Bool(false),
    			SubTypes: sentinel.AlertRuleFusionSourceSubTypeArray{
    				&sentinel.AlertRuleFusionSourceSubTypeArgs{
    					Name: pulumi.String("string"),
    					SeveritiesAlloweds: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    					Enabled: pulumi.Bool(false),
    				},
    			},
    		},
    	},
    })
    
    var alertRuleFusionResource = new AlertRuleFusion("alertRuleFusionResource", AlertRuleFusionArgs.builder()        
        .alertRuleTemplateGuid("string")
        .logAnalyticsWorkspaceId("string")
        .enabled(false)
        .name("string")
        .sources(AlertRuleFusionSourceArgs.builder()
            .name("string")
            .enabled(false)
            .subTypes(AlertRuleFusionSourceSubTypeArgs.builder()
                .name("string")
                .severitiesAlloweds("string")
                .enabled(false)
                .build())
            .build())
        .build());
    
    alert_rule_fusion_resource = azure.sentinel.AlertRuleFusion("alertRuleFusionResource",
        alert_rule_template_guid="string",
        log_analytics_workspace_id="string",
        enabled=False,
        name="string",
        sources=[azure.sentinel.AlertRuleFusionSourceArgs(
            name="string",
            enabled=False,
            sub_types=[azure.sentinel.AlertRuleFusionSourceSubTypeArgs(
                name="string",
                severities_alloweds=["string"],
                enabled=False,
            )],
        )])
    
    const alertRuleFusionResource = new azure.sentinel.AlertRuleFusion("alertRuleFusionResource", {
        alertRuleTemplateGuid: "string",
        logAnalyticsWorkspaceId: "string",
        enabled: false,
        name: "string",
        sources: [{
            name: "string",
            enabled: false,
            subTypes: [{
                name: "string",
                severitiesAlloweds: ["string"],
                enabled: false,
            }],
        }],
    });
    
    type: azure:sentinel:AlertRuleFusion
    properties:
        alertRuleTemplateGuid: string
        enabled: false
        logAnalyticsWorkspaceId: string
        name: string
        sources:
            - enabled: false
              name: string
              subTypes:
                - enabled: false
                  name: string
                  severitiesAlloweds:
                    - string
    

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

    AlertRuleTemplateGuid string
    The GUID of the alert rule template which is used for this Sentinel Fusion Alert Rule. Changing this forces a new Sentinel Fusion Alert Rule to be created.
    LogAnalyticsWorkspaceId string
    The ID of the Log Analytics Workspace this Sentinel Fusion Alert Rule belongs to. Changing this forces a new Sentinel Fusion Alert Rule to be created.
    Enabled bool
    Should this Sentinel Fusion Alert Rule be enabled? Defaults to true.
    Name string
    The name which should be used for this Sentinel Fusion Alert Rule. Changing this forces a new Sentinel Fusion Alert Rule to be created.
    Sources List<AlertRuleFusionSource>
    One or more source blocks as defined below.
    AlertRuleTemplateGuid string
    The GUID of the alert rule template which is used for this Sentinel Fusion Alert Rule. Changing this forces a new Sentinel Fusion Alert Rule to be created.
    LogAnalyticsWorkspaceId string
    The ID of the Log Analytics Workspace this Sentinel Fusion Alert Rule belongs to. Changing this forces a new Sentinel Fusion Alert Rule to be created.
    Enabled bool
    Should this Sentinel Fusion Alert Rule be enabled? Defaults to true.
    Name string
    The name which should be used for this Sentinel Fusion Alert Rule. Changing this forces a new Sentinel Fusion Alert Rule to be created.
    Sources []AlertRuleFusionSourceArgs
    One or more source blocks as defined below.
    alertRuleTemplateGuid String
    The GUID of the alert rule template which is used for this Sentinel Fusion Alert Rule. Changing this forces a new Sentinel Fusion Alert Rule to be created.
    logAnalyticsWorkspaceId String
    The ID of the Log Analytics Workspace this Sentinel Fusion Alert Rule belongs to. Changing this forces a new Sentinel Fusion Alert Rule to be created.
    enabled Boolean
    Should this Sentinel Fusion Alert Rule be enabled? Defaults to true.
    name String
    The name which should be used for this Sentinel Fusion Alert Rule. Changing this forces a new Sentinel Fusion Alert Rule to be created.
    sources List<AlertRuleFusionSource>
    One or more source blocks as defined below.
    alertRuleTemplateGuid string
    The GUID of the alert rule template which is used for this Sentinel Fusion Alert Rule. Changing this forces a new Sentinel Fusion Alert Rule to be created.
    logAnalyticsWorkspaceId string
    The ID of the Log Analytics Workspace this Sentinel Fusion Alert Rule belongs to. Changing this forces a new Sentinel Fusion Alert Rule to be created.
    enabled boolean
    Should this Sentinel Fusion Alert Rule be enabled? Defaults to true.
    name string
    The name which should be used for this Sentinel Fusion Alert Rule. Changing this forces a new Sentinel Fusion Alert Rule to be created.
    sources AlertRuleFusionSource[]
    One or more source blocks as defined below.
    alert_rule_template_guid str
    The GUID of the alert rule template which is used for this Sentinel Fusion Alert Rule. Changing this forces a new Sentinel Fusion Alert Rule to be created.
    log_analytics_workspace_id str
    The ID of the Log Analytics Workspace this Sentinel Fusion Alert Rule belongs to. Changing this forces a new Sentinel Fusion Alert Rule to be created.
    enabled bool
    Should this Sentinel Fusion Alert Rule be enabled? Defaults to true.
    name str
    The name which should be used for this Sentinel Fusion Alert Rule. Changing this forces a new Sentinel Fusion Alert Rule to be created.
    sources Sequence[AlertRuleFusionSourceArgs]
    One or more source blocks as defined below.
    alertRuleTemplateGuid String
    The GUID of the alert rule template which is used for this Sentinel Fusion Alert Rule. Changing this forces a new Sentinel Fusion Alert Rule to be created.
    logAnalyticsWorkspaceId String
    The ID of the Log Analytics Workspace this Sentinel Fusion Alert Rule belongs to. Changing this forces a new Sentinel Fusion Alert Rule to be created.
    enabled Boolean
    Should this Sentinel Fusion Alert Rule be enabled? Defaults to true.
    name String
    The name which should be used for this Sentinel Fusion Alert Rule. Changing this forces a new Sentinel Fusion Alert Rule to be created.
    sources List<Property Map>
    One or more source blocks as defined below.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing AlertRuleFusion Resource

    Get an existing AlertRuleFusion 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?: AlertRuleFusionState, opts?: CustomResourceOptions): AlertRuleFusion
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            alert_rule_template_guid: Optional[str] = None,
            enabled: Optional[bool] = None,
            log_analytics_workspace_id: Optional[str] = None,
            name: Optional[str] = None,
            sources: Optional[Sequence[AlertRuleFusionSourceArgs]] = None) -> AlertRuleFusion
    func GetAlertRuleFusion(ctx *Context, name string, id IDInput, state *AlertRuleFusionState, opts ...ResourceOption) (*AlertRuleFusion, error)
    public static AlertRuleFusion Get(string name, Input<string> id, AlertRuleFusionState? state, CustomResourceOptions? opts = null)
    public static AlertRuleFusion get(String name, Output<String> id, AlertRuleFusionState 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:
    AlertRuleTemplateGuid string
    The GUID of the alert rule template which is used for this Sentinel Fusion Alert Rule. Changing this forces a new Sentinel Fusion Alert Rule to be created.
    Enabled bool
    Should this Sentinel Fusion Alert Rule be enabled? Defaults to true.
    LogAnalyticsWorkspaceId string
    The ID of the Log Analytics Workspace this Sentinel Fusion Alert Rule belongs to. Changing this forces a new Sentinel Fusion Alert Rule to be created.
    Name string
    The name which should be used for this Sentinel Fusion Alert Rule. Changing this forces a new Sentinel Fusion Alert Rule to be created.
    Sources List<AlertRuleFusionSource>
    One or more source blocks as defined below.
    AlertRuleTemplateGuid string
    The GUID of the alert rule template which is used for this Sentinel Fusion Alert Rule. Changing this forces a new Sentinel Fusion Alert Rule to be created.
    Enabled bool
    Should this Sentinel Fusion Alert Rule be enabled? Defaults to true.
    LogAnalyticsWorkspaceId string
    The ID of the Log Analytics Workspace this Sentinel Fusion Alert Rule belongs to. Changing this forces a new Sentinel Fusion Alert Rule to be created.
    Name string
    The name which should be used for this Sentinel Fusion Alert Rule. Changing this forces a new Sentinel Fusion Alert Rule to be created.
    Sources []AlertRuleFusionSourceArgs
    One or more source blocks as defined below.
    alertRuleTemplateGuid String
    The GUID of the alert rule template which is used for this Sentinel Fusion Alert Rule. Changing this forces a new Sentinel Fusion Alert Rule to be created.
    enabled Boolean
    Should this Sentinel Fusion Alert Rule be enabled? Defaults to true.
    logAnalyticsWorkspaceId String
    The ID of the Log Analytics Workspace this Sentinel Fusion Alert Rule belongs to. Changing this forces a new Sentinel Fusion Alert Rule to be created.
    name String
    The name which should be used for this Sentinel Fusion Alert Rule. Changing this forces a new Sentinel Fusion Alert Rule to be created.
    sources List<AlertRuleFusionSource>
    One or more source blocks as defined below.
    alertRuleTemplateGuid string
    The GUID of the alert rule template which is used for this Sentinel Fusion Alert Rule. Changing this forces a new Sentinel Fusion Alert Rule to be created.
    enabled boolean
    Should this Sentinel Fusion Alert Rule be enabled? Defaults to true.
    logAnalyticsWorkspaceId string
    The ID of the Log Analytics Workspace this Sentinel Fusion Alert Rule belongs to. Changing this forces a new Sentinel Fusion Alert Rule to be created.
    name string
    The name which should be used for this Sentinel Fusion Alert Rule. Changing this forces a new Sentinel Fusion Alert Rule to be created.
    sources AlertRuleFusionSource[]
    One or more source blocks as defined below.
    alert_rule_template_guid str
    The GUID of the alert rule template which is used for this Sentinel Fusion Alert Rule. Changing this forces a new Sentinel Fusion Alert Rule to be created.
    enabled bool
    Should this Sentinel Fusion Alert Rule be enabled? Defaults to true.
    log_analytics_workspace_id str
    The ID of the Log Analytics Workspace this Sentinel Fusion Alert Rule belongs to. Changing this forces a new Sentinel Fusion Alert Rule to be created.
    name str
    The name which should be used for this Sentinel Fusion Alert Rule. Changing this forces a new Sentinel Fusion Alert Rule to be created.
    sources Sequence[AlertRuleFusionSourceArgs]
    One or more source blocks as defined below.
    alertRuleTemplateGuid String
    The GUID of the alert rule template which is used for this Sentinel Fusion Alert Rule. Changing this forces a new Sentinel Fusion Alert Rule to be created.
    enabled Boolean
    Should this Sentinel Fusion Alert Rule be enabled? Defaults to true.
    logAnalyticsWorkspaceId String
    The ID of the Log Analytics Workspace this Sentinel Fusion Alert Rule belongs to. Changing this forces a new Sentinel Fusion Alert Rule to be created.
    name String
    The name which should be used for this Sentinel Fusion Alert Rule. Changing this forces a new Sentinel Fusion Alert Rule to be created.
    sources List<Property Map>
    One or more source blocks as defined below.

    Supporting Types

    AlertRuleFusionSource, AlertRuleFusionSourceArgs

    Name string
    The name of the Fusion source signal. Refer to Fusion alert rule template for supported values.
    Enabled bool
    Whether this source signal is enabled or disabled in Fusion detection? Defaults to true.
    SubTypes List<AlertRuleFusionSourceSubType>
    One or more sub_type blocks as defined below.
    Name string
    The name of the Fusion source signal. Refer to Fusion alert rule template for supported values.
    Enabled bool
    Whether this source signal is enabled or disabled in Fusion detection? Defaults to true.
    SubTypes []AlertRuleFusionSourceSubType
    One or more sub_type blocks as defined below.
    name String
    The name of the Fusion source signal. Refer to Fusion alert rule template for supported values.
    enabled Boolean
    Whether this source signal is enabled or disabled in Fusion detection? Defaults to true.
    subTypes List<AlertRuleFusionSourceSubType>
    One or more sub_type blocks as defined below.
    name string
    The name of the Fusion source signal. Refer to Fusion alert rule template for supported values.
    enabled boolean
    Whether this source signal is enabled or disabled in Fusion detection? Defaults to true.
    subTypes AlertRuleFusionSourceSubType[]
    One or more sub_type blocks as defined below.
    name str
    The name of the Fusion source signal. Refer to Fusion alert rule template for supported values.
    enabled bool
    Whether this source signal is enabled or disabled in Fusion detection? Defaults to true.
    sub_types Sequence[AlertRuleFusionSourceSubType]
    One or more sub_type blocks as defined below.
    name String
    The name of the Fusion source signal. Refer to Fusion alert rule template for supported values.
    enabled Boolean
    Whether this source signal is enabled or disabled in Fusion detection? Defaults to true.
    subTypes List<Property Map>
    One or more sub_type blocks as defined below.

    AlertRuleFusionSourceSubType, AlertRuleFusionSourceSubTypeArgs

    Name string
    The Name of the source subtype under a given source signal in Fusion detection. Refer to Fusion alert rule template for supported values.
    SeveritiesAlloweds List<string>
    A list of severities that are enabled for this source subtype consumed in Fusion detection. Possible values for each element are High, Medium, Low, Informational.
    Enabled bool
    Whether this source subtype under source signal is enabled or disabled in Fusion detection. Defaults to true.
    Name string
    The Name of the source subtype under a given source signal in Fusion detection. Refer to Fusion alert rule template for supported values.
    SeveritiesAlloweds []string
    A list of severities that are enabled for this source subtype consumed in Fusion detection. Possible values for each element are High, Medium, Low, Informational.
    Enabled bool
    Whether this source subtype under source signal is enabled or disabled in Fusion detection. Defaults to true.
    name String
    The Name of the source subtype under a given source signal in Fusion detection. Refer to Fusion alert rule template for supported values.
    severitiesAlloweds List<String>
    A list of severities that are enabled for this source subtype consumed in Fusion detection. Possible values for each element are High, Medium, Low, Informational.
    enabled Boolean
    Whether this source subtype under source signal is enabled or disabled in Fusion detection. Defaults to true.
    name string
    The Name of the source subtype under a given source signal in Fusion detection. Refer to Fusion alert rule template for supported values.
    severitiesAlloweds string[]
    A list of severities that are enabled for this source subtype consumed in Fusion detection. Possible values for each element are High, Medium, Low, Informational.
    enabled boolean
    Whether this source subtype under source signal is enabled or disabled in Fusion detection. Defaults to true.
    name str
    The Name of the source subtype under a given source signal in Fusion detection. Refer to Fusion alert rule template for supported values.
    severities_alloweds Sequence[str]
    A list of severities that are enabled for this source subtype consumed in Fusion detection. Possible values for each element are High, Medium, Low, Informational.
    enabled bool
    Whether this source subtype under source signal is enabled or disabled in Fusion detection. Defaults to true.
    name String
    The Name of the source subtype under a given source signal in Fusion detection. Refer to Fusion alert rule template for supported values.
    severitiesAlloweds List<String>
    A list of severities that are enabled for this source subtype consumed in Fusion detection. Possible values for each element are High, Medium, Low, Informational.
    enabled Boolean
    Whether this source subtype under source signal is enabled or disabled in Fusion detection. Defaults to true.

    Import

    Sentinel Fusion Alert Rules can be imported using the resource id, e.g.

    $ pulumi import azure:sentinel/alertRuleFusion:AlertRuleFusion example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.OperationalInsights/workspaces/workspace1/providers/Microsoft.SecurityInsights/alertRules/rule1
    

    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.
    azure logo

    We recommend using Azure Native.

    Azure Classic v5.72.0 published on Monday, Apr 15, 2024 by Pulumi