# eiveenl/lab-azure-active-directory architecture

> Architecture diagram of the GitHub repository eiveenl/lab-azure-active-directory, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-05). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/eiveenl/lab-azure-active-directory
- Repository: https://github.com/eiveenl/lab-azure-active-directory

## Overview

This repository documents an Azure-based Active Directory security lab, not an executable application in the supplied file tree. Its main workflow is to provision Azure networking and a Windows Server VM, promote that VM to a domain controller, join a client, apply hardening policies, and validate the results. The README also describes restricted RDP access and domain-administrator account setup. Implementation scripts are listed in the README but were not present in the supplied tree, so the graph reflects documented relationships only.

Main entry points: [`README.md`](https://github.com/eiveenl/lab-azure-active-directory/blob/main/README.md) (lab.local domain)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_azure["Azure infrastructure"]
  node_azure["Azure resources<br/>[README.md]"]
  node_network["VNet and subnet<br/>[README.md]"]
  node_nsg["RDP network filter<br/>[README.md]"]
  node_server["PC-1 server VM<br/>[README.md]"]
end

subgraph group_directory["Active Directory"]
  node_dc["AD DS controller<br/>[README.md]"]
  node_dns["Domain DNS<br/>[README.md]"]
  node_domain[("lab.local domain<br/>[README.md]")]
  node_admin["Admin account<br/>[README.md]"]
  node_client["PC-TI client<br/>[README.md]"]
end

subgraph group_security["Policy and validation"]
  node_gpo["Hardening GPO<br/>[README.md]"]
  node_validation["Lab validation<br/>[README.md]"]
end

node_operator(("Lab operator"))
node_internet(("Internet"))

node_operator -->|"provisions"| node_azure
node_azure -->|"creates"| node_network
node_azure -->|"creates"| node_server
node_operator -->|"restricts RDP"| node_nsg
node_internet -->|"requests RDP"| node_nsg
node_nsg -->|"filters access"| node_server
node_server -->|"promotes to"| node_dc
node_dc -->|"hosts"| node_domain
node_dc -->|"installs"| node_dns
node_operator -->|"creates"| node_admin
node_admin -->|"joins administrators"| node_domain
node_operator -->|"joins to domain"| node_client
node_client -->|"joins"| node_domain
node_operator -->|"configures"| node_gpo
node_gpo -->|"hardens"| node_client
node_operator -->|"runs checks"| node_validation
node_validation -->|"checks health"| node_domain
node_validation -->|"checks application"| node_gpo

click node_azure "https://github.com/eiveenl/lab-azure-active-directory/blob/main/README.md"
click node_network "https://github.com/eiveenl/lab-azure-active-directory/blob/main/README.md"
click node_nsg "https://github.com/eiveenl/lab-azure-active-directory/blob/main/README.md"
click node_server "https://github.com/eiveenl/lab-azure-active-directory/blob/main/README.md"
click node_dc "https://github.com/eiveenl/lab-azure-active-directory/blob/main/README.md"
click node_dns "https://github.com/eiveenl/lab-azure-active-directory/blob/main/README.md"
click node_domain "https://github.com/eiveenl/lab-azure-active-directory/blob/main/README.md"
click node_admin "https://github.com/eiveenl/lab-azure-active-directory/blob/main/README.md"
click node_client "https://github.com/eiveenl/lab-azure-active-directory/blob/main/README.md"
click node_gpo "https://github.com/eiveenl/lab-azure-active-directory/blob/main/README.md"
click node_validation "https://github.com/eiveenl/lab-azure-active-directory/blob/main/README.md"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_azure,node_network,node_nsg,node_server toneBlue
class node_dc,node_dns,node_domain,node_admin,node_client toneAmber
class node_gpo,node_validation toneMint
class node_operator,node_internet toneIndigo
```

## Components

### Azure infrastructure

- [Azure resources](https://github.com/eiveenl/lab-azure-active-directory/blob/main/README.md): `README.md`
- [VNet and subnet](https://github.com/eiveenl/lab-azure-active-directory/blob/main/README.md): `README.md`
- [RDP network filter](https://github.com/eiveenl/lab-azure-active-directory/blob/main/README.md): `README.md`
- [PC-1 server VM](https://github.com/eiveenl/lab-azure-active-directory/blob/main/README.md): `README.md`

### Active Directory

- [AD DS controller](https://github.com/eiveenl/lab-azure-active-directory/blob/main/README.md): `README.md`
- [Domain DNS](https://github.com/eiveenl/lab-azure-active-directory/blob/main/README.md): `README.md`
- [lab.local domain](https://github.com/eiveenl/lab-azure-active-directory/blob/main/README.md): `README.md`
- [Admin account](https://github.com/eiveenl/lab-azure-active-directory/blob/main/README.md): `README.md`
- [PC-TI client](https://github.com/eiveenl/lab-azure-active-directory/blob/main/README.md): `README.md`

### Policy and validation

- [Hardening GPO](https://github.com/eiveenl/lab-azure-active-directory/blob/main/README.md): `README.md`
- [Lab validation](https://github.com/eiveenl/lab-azure-active-directory/blob/main/README.md): `README.md`

### Other components

- **Lab operator**
- **Internet**

## Connections

- Lab operator → Azure resources: provisions (evidence: `README.md`)
- Azure resources → VNet and subnet: creates (evidence: `README.md`)
- Azure resources → PC-1 server VM: creates (evidence: `README.md`)
- Lab operator → RDP network filter: restricts RDP (evidence: `README.md`)
- Internet → RDP network filter: requests RDP (evidence: `README.md`)
- RDP network filter → PC-1 server VM: filters access (evidence: `README.md`)
- PC-1 server VM → AD DS controller: promotes to (evidence: `README.md`)
- AD DS controller → lab.local domain: hosts (evidence: `README.md`)
- AD DS controller → Domain DNS: installs (evidence: `README.md`)
- Lab operator → Admin account: creates (evidence: `README.md`)
- Admin account → lab.local domain: joins administrators (evidence: `README.md`)
- Lab operator → PC-TI client: joins to domain (evidence: `README.md`)
- PC-TI client → lab.local domain: joins (evidence: `README.md`)
- Lab operator → Hardening GPO: configures (evidence: `README.md`)
- Hardening GPO → PC-TI client: hardens (evidence: `README.md`)
- Lab operator → Lab validation: runs checks (evidence: `README.md`)
- Lab validation → lab.local domain: checks health (evidence: `README.md`)
- Lab validation → Hardening GPO: checks application (evidence: `README.md`)
