Skip to content
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

[azurerm_storage_account] support for the enable_advanced_threat_protection property #3782

Merged

Conversation

benjamin37
Copy link
Contributor

@benjamin37 benjamin37 commented Jul 3, 2019

I'm not sure about the following point of this pull request. Advanced Threat Protection is a feature you can set on a storage account. However it is set with a separate client AdvancedThreatProtectionClient and not with the StorageServiceClient. Is it common practice to create a new resource for this setting instead of adding it to the storage account itself?

Relates to issue #3670

(fixes #3670)

Copy link
Collaborator

@katbyte katbyte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @benjamin37,

Thank you for the PR! Overall this is looking really great with a few fairly minor comments i've left inline. Once those are addressed this should be good to merge 🙂

(also this is perfect, and mimics the SQL one mentioned in the issue)

azurerm/resource_arm_storage_account.go Outdated Show resolved Hide resolved
azurerm/resource_arm_storage_account.go Outdated Show resolved Hide resolved
azurerm/resource_arm_storage_account.go Outdated Show resolved Hide resolved
azurerm/resource_arm_storage_account.go Outdated Show resolved Hide resolved
azurerm/resource_arm_storage_account.go Outdated Show resolved Hide resolved
azurerm/resource_arm_storage_account_test.go Show resolved Hide resolved
@katbyte katbyte added this to the v1.32.0 milestone Jul 4, 2019
@katbyte katbyte changed the title [azurerm_storage_account] advanced threat protection for storage account [azurerm_storage_account] support for the enable_advanced_threat_protection property Jul 4, 2019
@benjamin37
Copy link
Contributor Author

Hi @katbyte,

thanks for the fast reply and your feedback! I've commited the changes you requested. Just let me know if there is anything else to do for this pull request.

Kind regards

@ghost ghost removed the waiting-response label Jul 4, 2019
Copy link
Collaborator

@katbyte katbyte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the revisions @benjamin37, this LGTM now 🙂

@katbyte katbyte merged commit 036e799 into hashicorp:master Jul 4, 2019
katbyte added a commit that referenced this pull request Jul 4, 2019
@benjamin37 benjamin37 deleted the feature/advanced-threat-protection branch July 8, 2019 06:53
@ghost
Copy link

ghost commented Jul 30, 2019

This has been released in version 1.32.0 of the provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. As an example:

provider "azurerm" {
    version = "~> 1.32.0"
}
# ... other configuration ...

@ghost
Copy link

ghost commented Aug 4, 2019

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.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 hashibot-feedback@hashicorp.com. Thanks!

@ghost ghost locked and limited conversation to collaborators Aug 4, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

New-Feature-Request Storage Threat Detection Policy
2 participants