-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
S360: Add server security alerts list by server (#12302)
* Add serverSecurityAlertPolicies APIs for MySQL servers * Add ServerSecurityAlertsListByServer * Add List operation to serverSecurityAlertPolicies of mysql * fixes after sync with latest * fixes * fixes
- Loading branch information
1 parent
4a2a472
commit 03d81a5
Showing
13 changed files
with
565 additions
and
1 deletion.
There are no files selected for viewing
33 changes: 33 additions & 0 deletions
33
...ft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerSecurityAlertsListByServer.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-1111-2222-3333-444444444444", | ||
"resourceGroupName": "securityalert-4799", | ||
"serverName": "securityalert-6440", | ||
"api-version": "2018-06-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMariaDB/servers/securityalert-6440/securityAlertPolicies", | ||
"name": "Default", | ||
"type": "Microsoft.DBforMariaDB/servers/securityAlertPolicies", | ||
"properties": { | ||
"state": "Disabled", | ||
"emailAccountAdmins": true, | ||
"emailAddresses": [ | ||
"test@microsoft.com;user@microsoft.com" | ||
], | ||
"disabledAlerts": [ | ||
"Access_Anomaly" | ||
], | ||
"retentionDays": 0, | ||
"storageEndpoint": "https://mystorage.blob.core.windows.net" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 33 additions & 0 deletions
33
...r/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerSecurityAlertsListByServer.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-1111-2222-3333-444444444444", | ||
"resourceGroupName": "securityalert-4799", | ||
"serverName": "securityalert-6440", | ||
"api-version": "2018-06-01" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMariaDB/servers/securityalert-6440/securityAlertPolicies", | ||
"name": "Default", | ||
"type": "Microsoft.DBforMariaDB/servers/securityAlertPolicies", | ||
"properties": { | ||
"state": "Disabled", | ||
"emailAccountAdmins": true, | ||
"emailAddresses": [ | ||
"test@microsoft.com;user@microsoft.com" | ||
], | ||
"disabledAlerts": [ | ||
"Access_Anomaly" | ||
], | ||
"retentionDays": 0, | ||
"storageEndpoint": "https://mystorage.blob.core.windows.net" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
33 changes: 33 additions & 0 deletions
33
...soft.DBforMySQL/preview/2017-12-01-preview/examples/ServerSecurityAlertsListByServer.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-1111-2222-3333-444444444444", | ||
"resourceGroupName": "securityalert-4799", | ||
"serverName": "securityalert-6440", | ||
"api-version": "2017-12-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMySQL/servers/securityalert-6440/securityAlertPolicies", | ||
"name": "Default", | ||
"type": "Microsoft.DBforMySQL/servers/securityAlertPolicies", | ||
"properties": { | ||
"state": "Disabled", | ||
"emailAccountAdmins": true, | ||
"emailAddresses": [ | ||
"test@microsoft.com;user@microsoft.com" | ||
], | ||
"disabledAlerts": [ | ||
"Access_Anomaly" | ||
], | ||
"retentionDays": 0, | ||
"storageEndpoint": "https://mystorage.blob.core.windows.net" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.