Skip to content
Open
11 changes: 11 additions & 0 deletions Scripts/RemediationScripts/ControlRemediationSpecification.json
Original file line number Diff line number Diff line change
Expand Up @@ -568,6 +568,17 @@
"SubscriptionId"
]
}
},
{
"ControlId": "Azure_VirtualMachineScaleSet_DP_Enable_Encryption_At_Host",
"EnableRemediation": "true",
"RemediationScriptUrl": "https://raw.githubusercontent.com/azsk/AzTS-docs/main/Scripts/RemediationScripts/Remediate-EnableEncrytionAtHostForVMSS.ps1",
"LoadCommand": "Remediate-EnableEncrytionAtHostForVMSS.ps1",
"InitCommand": "Enable-EncrytionAtHost",
"RollbackMetadata": {
"RollbackCommand": "Disable-EncrytionAtHost",
"Arguments": ["SubscriptionId", "Path"]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why Path is needed here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's file path, where we backup the remediated resources list in .json file.
SO, when user want to rollback the operations, user need to give file Path as argument.

}
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@

43. [Azure_AISearch_AuthN_Use_Managed_Service_Identity](ControlsEligibleForRemediationThroughUI.md#43-Azure_AISearch_AuthN_Use_Managed_Service_Identity)

43. [Azure_AISearch_AuthN_Use_Managed_Service_Identity](ControlsEligibleForRemediationThroughUI.md#43-Azure_VirtualMachineScaleSet_DP_Enable_Encryption_At_Host)

<br />
___

Expand Down Expand Up @@ -648,3 +650,14 @@ Managed Service Identity (MSI) must be used in Azure AI Search
Contributor or higher privileged role on Subscription.
___

## 44. Azure_VirtualMachineScaleSet_DP_Enable_Encryption_At_Host

### Display Name
Encryption at Host must be enabled for Virtual machine scale sets and underlying Virtual machines in flexible orchestration mode.

### Link to Bulk Remediation Script (BRS)
[Remediate-EnableEncrytionAtHostForVMSS.ps1](Remediate-EnableEncrytionAtHostForVMSS.ps1)

### Minimum permissions required to run the script
Contributor or higher privileged role on Subscription.
___
19 changes: 19 additions & 0 deletions Scripts/RemediationScripts/Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -1555,6 +1555,25 @@ Yes
### Supports rollback?
Yes

___

## 76. Azure_VirtualMachineScaleSet_DP_Enable_Encryption_At_Host

### Display Name
This script is used to Enable Encryption at Host for Virtual machine scale sets and underlying Virtual machines in flexible orchestration mode.

### Link to Bulk Remediation Script (BRS)
[Enable-EncrytionAtHost](Remediate-EnableEncrytionAtHostForVMSS.ps1)

### Minimum permissions required to run the script
Contributor or higher privileged role on Subscription.

### [Supports managed identity](Readme.md#supports-managed-identity-based-remediations) based remediation
Yes

### Supports rollback?
Yes

---
## Supports managed identity based remediations
Both System assigned and User assigned managed identities are supported.
Expand Down
Loading