0028. Add avd-security for AVD security control plane, posture verification, and detection
Add avd-security for AVD security controls (Defender, Sentinel, Policy), posture verification, and detection without duplicating sibling repos.
Context and Problem Statement
Defender for Cloud, Sentinel AVD detections, Azure Policy baselines, and continuous posture checks have no dedicated repo.
More
avd-assess publishes the security review map (security-review.yaml, contract C20) and assessment method (methods/security.md), while avd-azure configures resource-level flags such as Trusted Launch, Key Vault, and Private Endpoints. However, no repository owns cross-cutting security governance and detection: Microsoft Defender for Cloud plans, Microsoft Sentinel AVD analytics and hunting KQL rules, Azure Policy security initiatives, RBAC/PIM least-privilege audits, and automated verification of session-host hardening (RDP redirection restrictions, Screen Capture Protection, Watermarking, Credential Guard, and FSLogix antivirus exclusions). Placing these inside avd-azure or avd-remediate would mix SecOps RBAC, SIEM content, and compliance baselines into workload deployment or day-2 host remediation. How should avd-ops organize deployable security controls, continuous verification, and AVD threat detection?
Considered Options
Three options were weighed.
- Add
avd-securityspanningcontrol,assess, andoperate: Own Defender for Cloud plans, Microsoft Sentinel AVD analytics/workbooks, Azure Policy security baselines, and read-only posture/hardening verification, emitting redacted contracts foravd-assess,avd-current-state, andavd-remediate - Distribute security controls across existing repos: Put Defender/Policy in
avd-azure, Sentinel KQL inavd-landing-zone, and hardening checks inavd-remediate - Limit scope to read-only assessment scripts inside
avd-assess: Keepavd-assessfocused on standards and checks while leaving Defender, Sentinel, and Policy deployment out of scope
Decision Outcome
Chosen option: "Add avd-security spanning control, assess, and operate".
More
Why: Enterprise security teams (SecOps / InfoSec) often hold separate RBAC boundaries from AVD platform engineers and require both declarative security guardrails (Policy, Defender, Sentinel) and continuous verification against avd-assess claims. Keeping avd-security focused on cross-cutting security controls, detections, and read-only posture verification preserves single-purpose boundaries across the existing repos.
- Clear lane boundaries (no overlap):
- avd-entra keeps Entra ID identity, groups, and Conditional Access.
- avd-intune keeps Intune configuration profiles, compliance, and Windows 365 / session-host enrollment.
- avd-networking keeps hub VNet, Azure Firewall, Private DNS, Bastion, and VNet Flow Logs.
- avd-azure keeps AVD host pools, workspaces, session hosts, FSLogix storage, and Key Vault.
- avd-assess remains the canonical map of security claims (
C20) and standards.
- Three-pillar scope of
avd-security:- Deployable Security Control Plane (
control): Bicep modules and Azure Policy initiatives for Microsoft Defender for Cloud (VirtualMachines,KeyVaults,StorageAccounts), Microsoft Sentinel solution integration with AVD-specific KQL analytics rules (anomalous sign-in/MFA patterns, unexpected redirection/clipboard usage, FSLogix share access anomalies, host tampering), and AVD security policy assignments (Trusted Launch / vTPM, Key Vault soft-delete and purge protection, Storage TLS 1.2 + Private Endpoints, no public IPs on session hosts). - Continuous Posture & Hardening Verification (
assess): Read-only PowerShell verification (Invoke-AvdSecurityAudit.ps1) that checks session-host hardening (RDP redirection, Screen Capture Protection, Watermarking, Credential Guard / VBS, Defender EDR status, FSLogix VHD/VHDX exclusions) and control-plane RBAC/PIM hygiene againstavd-assesssecurity claims. - Security Outputs & Remediation Handoff (
operate): Emits redactedsecurity-outputs.json(avd-security-outputs/v1) andsecurity-posture.json(avd-security-posture/v1) so avd-current-state and avd-assess can score live posture and avd-remediate can propose human-approved fixes withoutavd-securityexecuting destructive changes directly.
- Deployable Security Control Plane (
- Cost profiles (
labvs.enterprise) and cloud parity: Respects decision 0013 (commercialandusgov) and the family no-idle-burn guardrail:labdefaults to free/minimal Defender tiers,Auditpolicy effect, and zero additional paid SIEM ingestion beyond an existing Log Analytics workspace;enterpriseenables Standard Defender plans, Sentinel analytics rules, andDeny/DeployIfNotExistspolicy effects. - Registration rule:
avd-securityis added torepos.jsonanddocs/knowledge/repos/once its repository andREADME.mdbrand line are live on GitHub.
Consequences
- Good, because SecOps baselines, Sentinel KQL detections, Azure Policy initiatives, and posture verification get a single, auditable home.
- Good, because
labcost profiles and read-only audit scripts keep experimentation near $0 while supporting fullenterpriseenforcement. - Bad, because
avd-landing-zone,avd-assess,avd-current-state, andavd-remediatewill need optional integration hooks forsecurity-outputs.jsonandsecurity-posture.json.
More Information
Related control-plane, security-mapping, and cloud-parity decisions.
More
- Control-plane split and registration rule: decision 0009 and decision 0014.
- Azure US Government and GCC High parity: decision 0013.
- Troubleshooting and human-approved remediation boundary: avd-remediate.