Overview of PurpleCloud Terraform Generators
masterPurpleCloud is a collection of Python-based Terraform generators designed to rapidly deploy various Azure security labs for offensive and defensive training. Instead of manually editing static Terraform templates, you run Python scripts that generate customized Terraform files based on your specific requirements.
Key lab types include:
- Azure Sentinel Labs: Build environments with automated log shipping (Sysmon, Windows Security logs) to a Log Analytics Workspace/Sentinel. Includes support for Entra ID logs via Diagnostic settings.
- Active Directory (AD) Labs: Build AD DS environments, including support for ADFS (Federation) and Azure AD Join labs.
- Azure Managed Identity Labs: Create environments specifically for testing Managed Identity attack pathways.
- Phishing Application Labs: Spin up multi-tenant Azure AD applications for app consent phishing simulations.
- Azure Storage Labs: Deploy storage accounts with file shares, containers, blobs, and Key Vaults.