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

Support for Azure Security Center automatic provisioning #8550

Closed
benc-uk opened this issue Sep 21, 2020 · 2 comments · Fixed by #8595
Closed

Support for Azure Security Center automatic provisioning #8550

benc-uk opened this issue Sep 21, 2020 · 2 comments · Fixed by #8595

Comments

@benc-uk
Copy link
Contributor

benc-uk commented Sep 21, 2020

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

Azure Security Center allows for the automatic provisioning of data collection agents on compute resources (virtual machines) in a given Azure subscription, as described in the docs here.

In summary this is a subscription wide setting and is a simple toggle "on" or "off", the enforcement of this setting is left to Azure Security Center

This setting can not be configured via Terraform today, but is needed by customers wishing to enforce certain policies and governance on subscriptions managed through Terraform.
This setting is available in the Go SDK and the Azure ARM API.

New or Affected Resource(s)

I propose a new resource under the Security Center Resources group, namely:

  • azurerm_security_center_auto_provisioning

This resource would be nearly identical to the existing azurerm_security_center_subscription_pricing resource, it would accept a string value for the auto provisioning setting, namely "on" or "off", as described in the Azure API docs

Potential Terraform Configuration

resource "azurerm_security_center_auto_provisioning" "example" {
  auto_provision = "On"
}

References

@benc-uk
Copy link
Contributor Author

benc-uk commented Sep 21, 2020

Note. I intend to submit a PR to add this feature

@ghost
Copy link

ghost commented Nov 26, 2020

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 👉 [email protected]. Thanks!

@ghost ghost locked as resolved and limited conversation to collaborators Nov 26, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants