Skip to content

Commit

Permalink
Added "isDevopsAuditEnabled" to sqlServer json (#20356)
Browse files Browse the repository at this point in the history
* Added "isDevopsAuditEnabled" to sqlServer json

* Updated "isDevopsAuditEnabled" to GetWorkspaceManagedSqlServerBlobAuditingSettings json
  • Loading branch information
sparatala committed Aug 29, 2022
1 parent e5f84a8 commit 49a6bdf
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"auditActionsAndGroups": [],
"storageAccountSubscriptionId": "00000000-0000-0000-0000-000000000000",
"isStorageSecondaryKeyInUse": false,
"isAzureMonitorTargetEnabled": false
"isAzureMonitorTargetEnabled": false,
"isDevopsAuditEnabled": false
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1430,6 +1430,10 @@
"format": "int32",
"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.",
"type": "integer"
},
"isDevopsAuditEnabled": {
"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",
"type": "boolean"
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"auditActionsAndGroups": [],
"storageAccountSubscriptionId": "00000000-0000-0000-0000-000000000000",
"isStorageSecondaryKeyInUse": false,
"isAzureMonitorTargetEnabled": false
"isAzureMonitorTargetEnabled": false,
"isDevopsAuditEnabled": false
}
}
}
Expand Down

0 comments on commit 49a6bdf

Please sign in to comment.