Skip to content

Commit

Permalink
minor fix to update the MUA critical operation string for modify Encr…
Browse files Browse the repository at this point in the history
…yption settings (Azure#25939)
  • Loading branch information
hiaga authored Aug 26, 2024
1 parent 9cfe623 commit f73208f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ public Vault UpdateRSVault(string resourceGroupName, string vaultName, PatchVaul
if (resourceGuardMapping != null && resourceGuardMapping.Count != 0)
{
// todo: CMK_MUA - check the op value correctly
string criticalOp = "Microsoft.RecoveryServices/vaults/write#reduceImmutabilityState";
string criticalOp = "Microsoft.RecoveryServices/vaults/write#modifyEncryptionSettings";

foreach (ResourceGuardOperationDetail operationDetail in resourceGuardMapping[0].Properties.ResourceGuardOperationDetails)
{
Expand Down

0 comments on commit f73208f

Please sign in to comment.