As you know, Azure integrates a security dashboard, called Azure Security Center (ASC), to help you have a bird view on the security state of your Azure (but not only as it also provides details from your on-premises) environment.
The Azure Security Center has been updated to provide a ‘one click’ remediation (when available) when a potential issue has been detected.
You already had with ASC the recommended actions to implement in order to resolve the detected issue but it can be sometime challenging to implement it; hence the ‘one click’ remediation which will apply the recommended action (also available with the Free pricing tier )
The ‘one click’ remediation is currently available for the below resource types:
To start using it, connect to you Azure portal (https://portal.azure.com) and reach the Security Centre.
Next, reach out the Recommendations blade (which can be also accessed from the Overview).
Then, in the recommendation list you may see for some of them a ‘1-Click Fix!’ blue button.
If you click on the recommendation you will get more information about it and the steps to remediate (as before the ‘one click’ action) plus after selecting the impacted resource(s) you will get the remediate button which will then implement the remediation.
Depending of the remediation actions you may have to provide few additional settings; here to enable the diagnostic log for the key vault, you have to define the retention period and log analytics workspace to use