Skip to content

Set-AzSqlDatabaseVulnerabilityAssessmentRuleBaseline not working properly with single rule  #12092

@MonikaReddy-MSFT

Description

@MonikaReddy-MSFT

The BaselineResult parameter cannot accept single line of input. Say
Set-AzSqlDatabaseVulnerabilityAssessmentRuleBaseline -ResourceGroupName $rgname
-ServerName $serverName -DatabaseName $databasename
-RuleId "VA2108" `
-BaselineResult @( 'Principal1' , 'db_ddladmin', 'SQL_USER','DATABASE')

Result showing in portal is not parsing correctly
https://user-images.githubusercontent.com/37126106/83715214-bfa97580-a5e1-11ea-8d6b-fd2dd3dcf90e.png

MicrosoftDocs/azure-docs-powershell#1421

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions