Enterprise-Scale icon indicating copy to clipboard operation
Enterprise-Scale copied to clipboard

fix for Deploy-Sql-vulnerabilityAssessments - Issue #672

Open mrajess opened this issue 3 years ago • 4 comments

This PR addresses issue #672.. I've performed the following:

Renamed parameter "vulnerabilityAssessmentsEmail" to "vulnerabilityAssessmentsEmails". Changed parameter "vulnerabilityAssessmentsEmail" to type of "Array" Updated ALL references in ARM template to previous parameter. Updated parameter display name and description. Changed existence condition to use Count to loop through array of email addresses. Updated deployment template to reflect the parameter now being an "Array".

However, I do feel like this Policy and control as a whole may need to be looked at further. In the UX for SQL DB you're actually setting vulnerability scanning settings at the server level, and not at the database level. All current documentation seems to indicate that this setting should be getting set at the server level now, but I'm unsure. Is setting this at DB level still the best practice? Additionally, should we expand this Policy to encompass Managed Instance as well?

mrajess avatar Jul 16 '21 22:07 mrajess

@jtracey93 - please can you take a look at this, as I know you've just been working on this one? Thank you

krowlandson avatar Jul 19 '21 14:07 krowlandson

As an update. I've kicked this up to our Product Group to get best practices on this particular control. They're engaged and should be getting back to me in the next few days. I'm thinking setting this at the server is really all that needs to happen, but I'll know more in the coming days. Until then I'm going to hold off on going too much further with this.

mrajess avatar Jul 21 '21 17:07 mrajess

Do we have any further updates on this please? We have issues #672 and Azure/terraform-azurerm-caf-enterprise-scale/issues/130 outstanding for this.

krowlandson avatar Aug 11 '21 11:08 krowlandson

@mrajess do you have an update for this PR?

krnese avatar Oct 21 '21 13:10 krnese