Skip to content

Latest commit

 

History

History
24 lines (20 loc) · 1.87 KB

management-lock-enabled.md

File metadata and controls

24 lines (20 loc) · 1.87 KB

CloudSploit

AZURE / Resources / Management Lock Enabled

Quick Info

Plugin Title Management Lock Enabled
Cloud AZURE
Category Resources
Description Ensures that resources tagged as locked are actually locked.
More Info Enabling Management Locks ensures that critical resources cannot be inadvertently modified or deleted.
AZURE Link https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-group-lock-resources
Recommended Action Ensure that critical resources such as storage, VMs etc have management lock enabled.

Detailed Remediation Steps

  1. Log in to the Microsoft Azure Management Console.
  2. Select the "Search resources, services, and docs" option at the top and search for "Storage accounts".
  3. Select the "Storage account" by clicking on the "Name" link to access the configuration changes.
  4. In the left navigation panel, click on the "Locks" under "Settings".
  5. If you do not see any locks enabled then the resource is not protected against advertent deletion by a managament lock.
  6. To ensure that management lock is enabled, click the "Add" button at the top and select "Read only" from the dropdown "Lock type" in the "Add" pop up and click "OK".
  7. Ensure all other critical resources have management lock enabled.