Azure / Azure/azure-powershell
Remove-AzSqlDatabaseDataMaskingRule has undefined behaviour
Open
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
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