Skip to content

Commit f73208f

Browse files
authored
minor fix to update the MUA critical operation string for modify Encryption settings (#25939)
1 parent 9cfe623 commit f73208f

File tree

1 file changed

+1
-1
lines changed
  • src/RecoveryServices/RecoveryServices.Backup.ServiceClientAdapter/BMSAPIs

1 file changed

+1
-1
lines changed

src/RecoveryServices/RecoveryServices.Backup.ServiceClientAdapter/BMSAPIs/VaultAPIs.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ public Vault UpdateRSVault(string resourceGroupName, string vaultName, PatchVaul
187187
if (resourceGuardMapping != null && resourceGuardMapping.Count != 0)
188188
{
189189
// todo: CMK_MUA - check the op value correctly
190-
string criticalOp = "Microsoft.RecoveryServices/vaults/write#reduceImmutabilityState";
190+
string criticalOp = "Microsoft.RecoveryServices/vaults/write#modifyEncryptionSettings";
191191

192192
foreach (ResourceGuardOperationDetail operationDetail in resourceGuardMapping[0].Properties.ResourceGuardOperationDetails)
193193
{

0 commit comments

Comments
 (0)