Class AlertRuleMsSecurityIncident
Manages a Sentinel MS Security Incident Alert Rule.
Example Usage
using Pulumi;
using Azure = Pulumi.Azure;
class MyStack : Stack
{
public MyStack()
{
var exampleResourceGroup = new Azure.Core.ResourceGroup("exampleResourceGroup", new Azure.Core.ResourceGroupArgs
{
Location = "West Europe",
});
var exampleAnalyticsWorkspace = new Azure.OperationalInsights.AnalyticsWorkspace("exampleAnalyticsWorkspace", new Azure.OperationalInsights.AnalyticsWorkspaceArgs
{
Location = exampleResourceGroup.Location,
ResourceGroupName = exampleResourceGroup.Name,
Sku = "pergb2018",
});
var exampleAlertRuleMsSecurityIncident = new Azure.Sentinel.AlertRuleMsSecurityIncident("exampleAlertRuleMsSecurityIncident", new Azure.Sentinel.AlertRuleMsSecurityIncidentArgs
{
LogAnalyticsWorkspaceId = exampleAnalyticsWorkspace.Id,
ProductFilter = "Microsoft Cloud App Security",
DisplayName = "example rule",
SeverityFilters =
{
"High",
},
});
}
}
Inherited Members
Namespace: Pulumi.Azure.Sentinel
Assembly: Pulumi.Azure.dll
Syntax
public class AlertRuleMsSecurityIncident : CustomResource
Constructors
View SourceAlertRuleMsSecurityIncident(String, AlertRuleMsSecurityIncidentArgs, CustomResourceOptions)
Create a AlertRuleMsSecurityIncident resource with the given unique name, arguments, and options.
Declaration
public AlertRuleMsSecurityIncident(string name, AlertRuleMsSecurityIncidentArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| AlertRuleMsSecurityIncidentArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceDescription
The description of this Sentinel MS Security Incident Alert Rule.
Declaration
public Output<string> Description { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
DisplayName
The friendly name of this Sentinel MS Security Incident Alert Rule.
Declaration
public Output<string> DisplayName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Enabled
Should this Sentinel MS Security Incident Alert Rule be enabled? Defaults to true.
Declaration
public Output<bool?> Enabled { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Boolean>> |
LogAnalyticsWorkspaceId
The ID of the Log Analytics Workspace this Sentinel MS Security Incident Alert Rule belongs to. Changing this forces a new Sentinel MS Security Incident Alert Rule to be created.
Declaration
public Output<string> LogAnalyticsWorkspaceId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Name
The name which should be used for this Sentinel MS Security Incident Alert Rule. Changing this forces a new Sentinel MS Security Incident Alert Rule to be created.
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ProductFilter
The Microsoft Security Service from where the alert will be generated. Possible values are Azure Active Directory Identity Protection, Azure Advanced Threat Protection, Azure Security Center, Azure Security Center for IoT and Microsoft Cloud App Security.
Declaration
public Output<string> ProductFilter { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
SeverityFilters
Only create incidents from alerts when alert severity level is contained in this list. Possible values are High, Medium, Low and Informational.
Declaration
public Output<ImmutableArray<string>> SeverityFilters { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<System.String>> |
TextWhitelists
Only create incidents from alerts when alert name contain text in this list. No filter will happen if this field is absent.
Declaration
public Output<ImmutableArray<string>> TextWhitelists { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<System.String>> |
Methods
View SourceGet(String, Input<String>, AlertRuleMsSecurityIncidentState, CustomResourceOptions)
Get an existing AlertRuleMsSecurityIncident resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static AlertRuleMsSecurityIncident Get(string name, Input<string> id, AlertRuleMsSecurityIncidentState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| AlertRuleMsSecurityIncidentState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| AlertRuleMsSecurityIncident |