Skip to content

Commit bcc5d12

Browse files
authored
add eventGroupingSettings to ScheduledAlertRuleCommonProperties (#10416)
1 parent 34b54c5 commit bcc5d12

File tree

5 files changed

+40
-0
lines changed

5 files changed

+40
-0
lines changed

specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/SecurityInsights.json

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7521,10 +7521,35 @@
75217521
"triggerThreshold": {
75227522
"description": "The threshold triggers this alert rule.",
75237523
"type": "integer"
7524+
},
7525+
"eventGroupingSettings": {
7526+
"$ref": "#/definitions/EventGroupingSettings",
7527+
"description": "The event grouping settings."
75247528
}
75257529
},
75267530
"type": "object"
75277531
},
7532+
"EventGroupingSettings": {
7533+
"description": "Event grouping settings property bag.",
7534+
"properties": {
7535+
"aggregationKind": {
7536+
"$ref": "#/definitions/EventGroupingAggregationKind"
7537+
}
7538+
},
7539+
"type": "object"
7540+
},
7541+
"EventGroupingAggregationKind": {
7542+
"description": "The event grouping aggregation kinds",
7543+
"enum": [
7544+
"SingleAlert",
7545+
"AlertPerResult"
7546+
],
7547+
"type": "string",
7548+
"x-ms-enum": {
7549+
"modelAsString": true,
7550+
"name": "EventGroupingAggregationKind"
7551+
}
7552+
},
75287553
"ScheduledAlertRuleProperties": {
75297554
"allOf": [
75307555
{

specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/alertRuleTemplates/GetAlertRuleTemplateById.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@
2323
"triggerThreshold": 0,
2424
"displayName": "Changes to Amazon VPC settings",
2525
"description": "This alert monitors changes to Amazon VPC (Virtual Private Cloud) settings such as new ACL entries and routes in route tables.\nMore information: https://medium.com/@GorillaStack/the-most-important-aws-cloudtrail-security-events-to-track-a5b9873f8255 \nand https://aws.amazon.com/vpc/",
26+
"eventGroupingSettings": {
27+
"aggregationKind": "AlertPerResult"
28+
},
2629
"tactics": [
2730
"PrivilegeEscalation",
2831
"LateralMovement"

specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/alertRules/CreateScheduledAlertRule.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@
2525
"triggerThreshold": 0,
2626
"suppressionDuration": "PT1H",
2727
"suppressionEnabled": false,
28+
"eventGroupingSettings": {
29+
"aggregationKind": "AlertPerResult"
30+
},
2831
"incidentConfiguration": {
2932
"createIncident": true,
3033
"groupingConfiguration": {
@@ -67,6 +70,9 @@
6770
"suppressionDuration": "PT1H",
6871
"suppressionEnabled": false,
6972
"lastModifiedUtc": "2019-01-01T13:15:30Z",
73+
"eventGroupingSettings": {
74+
"aggregationKind": "AlertPerResult"
75+
},
7076
"incidentConfiguration": {
7177
"createIncident": true,
7278
"groupingConfiguration": {

specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/alertRules/GetAllAlertRules.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@
3434
"suppressionDuration": "PT1H",
3535
"suppressionEnabled": false,
3636
"lastModifiedUtc": "2019-01-01T13:15:30Z",
37+
"eventGroupingSettings": {
38+
"aggregationKind": "AlertPerResult"
39+
},
3740
"incidentConfiguration": {
3841
"createIncident": true,
3942
"groupingConfiguration": {

specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/alertRules/GetScheduledAlertRule.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@
3333
"suppressionDuration": "PT1H",
3434
"suppressionEnabled": false,
3535
"lastModifiedUtc": "2019-01-01T13:15:30Z",
36+
"eventGroupingSettings": {
37+
"aggregationKind": "AlertPerResult"
38+
},
3639
"incidentConfiguration": {
3740
"createIncident": true,
3841
"groupingConfiguration": {

0 commit comments

Comments
 (0)