Azure / Azure/azure-powershell

Remove-AzSqlDatabaseDataMaskingRule has undefined behaviour

Open
#13,710 3 comments 0 reactions 0 assignees View on GitHub
act-codegen-extensibility-squad question Service Attention SQL
Dominant language
C#
Stars
4.8k
Forks
4.3k
Avg merge
3d 14h
Merged PRs (30d)
54

Description

Remove-AzSqlDatabaseDataMaskingRule completely disregards -SchemaName, -TableName and -ColumnName parameters. It instead always removes the first masking rule it finds.

Contributor guide

Open the contributing guide

Research direction

Start at the Remove-AzSqlDatabaseDataMaskingRule cmdlet and trace how -SchemaName, -TableName, and -ColumnName are handled when selecting a masking rule. Reproduce the command with multiple rules and verify that the rule matching all three parameters is removed rather than the first rule found.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, powershell
Domain
cloud, databases
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.