-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New-Feature-Request SQL Threat Detection Policy #1484
Comments
hey @whytoe Thanks for opening this issue :) Taking a quick look at this / some notes for whoever picks this up: this appears to be available in the Go SDK here: https://github.com/Azure/azure-sdk-for-go/blob/v17.4.0/services/sql/mgmt/2014-04-01/sql/databasethreatdetectionpolicies.go#L52 - and this would probably make sense nested under the Thanks! |
@tombuildsstuff just going through the issue backlog, looks like this one got resolved a while back and can be closed. |
It's available on DB-Level, but not on server-level (which is recommended by Microsoft) |
Is there a time plan for this feature? |
Is there any plan to add this for Azure storage? The go SDK doesn't seem to support it currently but it can be done via a direct call to the API: |
@techjacker I may be wrong, but that appears to be a separate (unrelated) service to the one in this issue? If so, would you mind opening a separate feature request for that? Thanks! |
@tombuildsstuff Sure I'll do this and add the link back to this thread when I'm done. |
Created feature request here: #3670 |
Are there any plans for this to be added to SQL Server Configuration? |
``` $ TF_ACC=1 go test -v ./internal/services/sql -timeout=1000m -run='TestAccSqlServer_threatDetectionPolicy' === RUN TestAccSqlServer_threatDetectionPolicy === PAUSE TestAccSqlServer_threatDetectionPolicy === CONT TestAccSqlServer_threatDetectionPolicy --- PASS: TestAccSqlServer_threatDetectionPolicy (316.83s) PASS ok github.com/hashicorp/terraform-provider-azurerm/internal/services/sql 318.103s ``` Fixes hashicorp#1484
This functionality has been released in v2.73.0 of the Terraform Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Community Note
Description
Enable the SQL Threat Detection feature when deploying SQL Servers in Platform as a Service
New or Affected Resource(s)
Potential Terraform Configuration
sql_threat_detection : "true"
References
The Azure API documentation
https://docs.microsoft.com/en-us/rest/api/sql/databasethreatdetectionpolicies/createorupdate
Go SDK does not appear to support it ( i couldnt find it)
The text was updated successfully, but these errors were encountered: