Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
alphadev4 authored Sep 17, 2024
1 parent 425cf98 commit 511c30d
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions plugins/azure/logalerts/mysqlFlexibleServerLoggingEnabled.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const activityLogAlerts = [
"location": "global",
"tags": {},
"scopes": [
"/subscriptions/e79d9a03-3ab3-4481-bdcd-c5db1d55420a"
"/subscriptions/123456"
],
"enabled": true,
"condition": {
Expand All @@ -27,20 +27,20 @@ const activityLogAlerts = [
"actions": {
"actionGroups": [
{
"actionGroupId": "/subscriptions/e79d9a03-3ab3-4481-bdcd-c5db1d55420a/resourcegroups/default-activitylogalerts/providers/microsoft.insights/actiongroups/testactiong",
"actionGroupId": "/subscriptions/123456/resourcegroups/default-activitylogalerts/providers/microsoft.insights/actiongroups/testactiong",
"webhookProperties": {}
}
]
}
},
{
"id": "/subscriptions/e79d9a03-3ab3-4481-bdcd-c5db1d55420a/resourceGroups/Default-ActivityLogAlerts/providers/microsoft.insights/activityLogAlerts/NSG2",
"id": "/subscriptions/123456/resourceGroups/Default-ActivityLogAlerts/providers/microsoft.insights/activityLogAlerts/NSG2",
"name": "NSG2",
"type": "Microsoft.Insights/ActivityLogAlerts",
"location": "global",
"tags": {},
"scopes": [
"/subscriptions/e79d9a03-3ab3-4481-bdcd-c5db1d55420a"
"/subscriptions/123456"
],
"enabled": true,
"condition": {
Expand All @@ -62,20 +62,20 @@ const activityLogAlerts = [
"actions": {
"actionGroups": [
{
"actionGroupId": "/subscriptions/e79d9a03-3ab3-4481-bdcd-c5db1d55420a/resourcegroups/default-activitylogalerts/providers/microsoft.insights/actiongroups/testactiong",
"actionGroupId": "/subscriptions/123456/resourcegroups/default-activitylogalerts/providers/microsoft.insights/actiongroups/testactiong",
"webhookProperties": {}
}
]
}
},
{
"id": "/subscriptions/e79d9a03-3ab3-4481-bdcd-c5db1d55420a/resourceGroups/Default-ActivityLogAlerts/providers/microsoft.insights/activityLogAlerts/NSG2",
"id": "/subscriptions/123456/resourceGroups/Default-ActivityLogAlerts/providers/microsoft.insights/activityLogAlerts/NSG2",
"name": "NSG2",
"type": "Microsoft.Insights/ActivityLogAlerts",
"location": "global",
"tags": {},
"scopes": [
"/subscriptions/e79d9a03-3ab3-4481-bdcd-c5db1d55420a"
"/subscriptions/123456"
],
"enabled": true,
"condition": {
Expand All @@ -93,20 +93,20 @@ const activityLogAlerts = [
"actions": {
"actionGroups": [
{
"actionGroupId": "/subscriptions/e79d9a03-3ab3-4481-bdcd-c5db1d55420a/resourcegroups/default-activitylogalerts/providers/microsoft.insights/actiongroups/testactiong",
"actionGroupId": "/subscriptions/123456/resourcegroups/default-activitylogalerts/providers/microsoft.insights/actiongroups/testactiong",
"webhookProperties": {}
}
]
}
},
{
"id": "/subscriptions/e79d9a03-3ab3-4481-bdcd-c5db1d55420a/resourceGroups/Default-ActivityLogAlerts/providers/microsoft.insights/activityLogAlerts/NSG2",
"id": "/subscriptions/123456/resourceGroups/Default-ActivityLogAlerts/providers/microsoft.insights/activityLogAlerts/NSG2",
"name": "NSG2",
"type": "Microsoft.Insights/ActivityLogAlerts",
"location": "global",
"tags": {},
"scopes": [
"/subscriptions/e79d9a03-3ab3-4481-bdcd-c5db1d55420a"
"/subscriptions/123456"
],
"enabled": true,
"condition": {
Expand All @@ -124,7 +124,7 @@ const activityLogAlerts = [
"actions": {
"actionGroups": [
{
"actionGroupId": "/subscriptions/e79d9a03-3ab3-4481-bdcd-c5db1d55420a/resourcegroups/default-activitylogalerts/providers/microsoft.insights/actiongroups/testactiong",
"actionGroupId": "/subscriptions/123456/resourcegroups/default-activitylogalerts/providers/microsoft.insights/actiongroups/testactiong",
"webhookProperties": {}
}
]
Expand Down

0 comments on commit 511c30d

Please sign in to comment.