Open cocowalla opened 3 years ago
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @azureSQLGitHub.
Author: | cocowalla |
---|---|
Assignees: | - |
Labels: | `SQL`, `Service Attention`, `question` |
Milestone: | - |
SQL
+1 on this
just came across the same, got bash az cli scripts for all my other deployment scripts but now I need to use PowerShell instead for this one task
I would love to have this as well.
Especially for stuff like adding all the ips in a service tag to a firewall rule and adding them to the security baseline at the same time
Is your feature request related to a problem? Please describe. After creating an Azure SQL Server and Databases using the Azure CLI, with Vulnerability Assessment enabled, Azure's Security Centre flagged up that no vulnerability assessment baselines had been created (as it's meant to).
I set about trying to create these baselines with Azure CLI, since we use it for all other IaC tasks - but Azure CLI doesn't appear to support anything like Powershell's
Set-AzSqlDatabaseVulnerabilityAssessmentRuleBaseline
- so I had to hack something together with Azure Powershell instead.Describe the solution you'd like I'd like Azure CLI to have capabilities to work with SQL Server Vulnerability Assessment Baselines. In particular, I'd like to be able to do the same things as these Azure Powershell cmdlets:
Describe alternatives you've considered
Additional context None