Skip to content

Latest commit

ย 

History

25 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Azure-ARM-Templates

3CX Azure Deployments

Deploy to Azure

Locks-Policy-RG

This module deploys a complete automated governance setup for enforcing CanNotDelete locks on all Azure Resource Groups.

It includes:

  • A Custom Role for lock + remediation permissions
  • A Policy Definition that deploys CanNotDelete locks
  • A Policy Assignment with System-Managed Identity
  • An initial remediation across all Resource Groups
  • An Automation Account, Runbook, and daily schedule at 22:00 CET
  • Continuous enforcement of the lock policy

๐Ÿš€ Run via Azure CLI

You can run this solution directly from the Azure Cloud Shell or any terminal with Azure CLI installed.

1. Open Azure Cloud Shell

2. Execute the Installer

Then execute the following command:

curl -O https://raw.githubusercontent.com/SSIG-IT/Azure-ARM-Templates/main/policies/locks-policy-vm/rg-lock-policy.sh \
  && chmod +x rg-lock-policy.sh \
  && ./rg-lock-policy.sh

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages