Skip to content

Commit 49a6bdf

Browse files
authored
Added "isDevopsAuditEnabled" to sqlServer json (#20356)
* Added "isDevopsAuditEnabled" to sqlServer json * Updated "isDevopsAuditEnabled" to GetWorkspaceManagedSqlServerBlobAuditingSettings json
1 parent e5f84a8 commit 49a6bdf

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/GetWorkspaceManagedSqlServerBlobAuditingSettings.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
"auditActionsAndGroups": [],
2020
"storageAccountSubscriptionId": "00000000-0000-0000-0000-000000000000",
2121
"isStorageSecondaryKeyInUse": false,
22-
"isAzureMonitorTargetEnabled": false
22+
"isAzureMonitorTargetEnabled": false,
23+
"isDevopsAuditEnabled": false
2324
}
2425
}
2526
}

specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/sqlServer.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1430,6 +1430,10 @@
14301430
"format": "int32",
14311431
"description": "Specifies the amount of time in milliseconds that can elapse before audit actions are forced to be processed.\r\nThe default minimum value is 1000 (1 second). The maximum is 2,147,483,647.",
14321432
"type": "integer"
1433+
},
1434+
"isDevopsAuditEnabled": {
1435+
"description": "Specifies the state of devops audit. If state is Enabled, devops logs will be sent to Azure Monitor.\r\nIn order to send the events to Azure Monitor, specify 'State' as 'Enabled', 'IsAzureMonitorTargetEnabled' as true and 'IsDevopsAuditEnabled' as true\r\n\r\nWhen using REST API to configure auditing, Diagnostic Settings with 'DevOpsOperationsAudit' diagnostic logs category on the master database should also be created.\r\n\r\nDiagnostic Settings URI format:\r\nPUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Sql/servers/{serverName}/databases/master/providers/microsoft.insights/diagnosticSettings/{settingsName}?api-version=2017-05-01-preview\r\n\r\nFor more information, see [Diagnostic Settings REST API](https://go.microsoft.com/fwlink/?linkid=2033207)\r\nor [Diagnostic Settings PowerShell](https://go.microsoft.com/fwlink/?linkid=2033043)\r\n",
1436+
"type": "boolean"
14331437
}
14341438
}
14351439
},

specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetWorkspaceManagedSqlServerBlobAuditingSettings.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
"auditActionsAndGroups": [],
2020
"storageAccountSubscriptionId": "00000000-0000-0000-0000-000000000000",
2121
"isStorageSecondaryKeyInUse": false,
22-
"isAzureMonitorTargetEnabled": false
22+
"isAzureMonitorTargetEnabled": false,
23+
"isDevopsAuditEnabled": false
2324
}
2425
}
2526
}

0 commit comments

Comments
 (0)