Security review
What a security reviewer needs, in one map.
Approving an Azure Virtual Desktop deployment built with the avd-ops repos? This page lists what each repo does for security, links the file that does it or proves it at a pinned commit, and says how strong that proof is, what you still own, and what is missing.
It is a map, not a copy and not an audit: every line points at the repo that holds the detail. The map itself lives in avd-assess (security-review.yaml), and this page renders it at commit 8875905, checked 2026-11-11. Nothing here is a security audit, a compliance attestation or a penetration test.
How far each repo has been proven
The owner's call, recorded in the roadmap spec. A claim below never makes its repo more proven than this.
How strong the evidence is
Each claim carries one standing, the strongest its evidence supports. Of 45 claims: 3 run, 42 guarded, 0 built, 0 designed.
- Run
- A real run showed it: a lesson or a run record is in the evidence.
- Guarded
- A check in CI fails if it breaks.
- Built
- It is in the code; no test or real run was found for it.
- Designed
- Written down only: a spec or a proposed decision, not built or not run.
The reviewer's questions
Each question is answered by the claims and the operator decisions it links.
- Which identities deploy, read and change the estate, with which roles and for how long? lz-deploy-owner, lz-ci-oidc, lz-graph-delegated, lz-rbac, entra-ca-groups, cs-reader-only, cs-graph-readonly, swarm-identities, op-subscription-owner
- Where is every secret, who can read it, and does any operator have to remember or paste one? lz-break-glass, lz-key-vault, lz-jumpbox, lz-ci-oidc, lz-registration-token
- What is reachable from the internet, and how do admins reach hosts? lz-private-link, lz-private-data-plane, lz-nsg, azure-plane-network, pp-vnet-enterprise-policy, lz-jumpbox
- How are user profiles authenticated, encrypted and protected from deletion? lz-profile-share, op-ntfs, lz-last-copy
- How are hosts hardened, checked for drift and protected? lz-trusted-launch, lz-encryption-at-host, lz-host-baseline, lz-defender-intune, intune-host-profiles, m365-vdi-baseline, op-trust-boundary, op-host-baseline, op-endpoint-protection
- What can move between the user's device and the session? lz-redirection, usgov-cloud-profile, op-redirection
- Which Conditional Access, MFA and consent decisions does the deployment need from the tenant? entra-ca-groups, op-conditional-access, op-admin-consent
- Which guardrails, logs and budgets are on, and which come from the platform? lz-policy, lz-budget-shutdown, pp-dlp-baseline, usgov-cloud-profile, op-platform-policy, op-logging
- What do the tools collect, where does it go, and what leaves the browser or the tenant? cs-reader-only, cs-graph-readonly, cs-facts-redaction, cs-portal-state, lz-portal-local, lz-portal-report, brain-layers, family-no-ids, op-pseudonym-key
- Can the code and its dependencies change under a passing build? lz-pinned-tools, lz-psrule, secret-scan, lz-actions-pinned, pinned-sources, family-licenses
- Can any automation change the estate without a person's approval? brain-no-write, swarm-gate, swarm-prompt-shields, op-environment-reviewers
Identity and access
Standards: identity security-posture in the avd-assess pillars.
| Claim | Repo | Standing | Evidence |
|---|---|---|---|
| Deploying needs Owner on a dedicated subscription, because the template creates role and policy assignments; the post-deployment admin consent needs Cloud Application Administrator or Application Administrator. | avd-landing-zone | Guarded | |
| GitHub Actions sign in to Azure with OpenID Connect federated credentials, one exact subject per environment; no Azure secret is stored. The image build identity is federated to the images environment only.The optional break-glass password can be a repository secret for CI; unset, deploy.sh generates one. | avd-landing-zone | Guarded | |
| Scripts reach Microsoft Graph as the signed-in person through a public client app with delegated permissions, no secret or certificate, assignment required. Every purpose signs in with one union of scopes, which includes write scopes even for a read-only preflight.The operations docs state the trade-off for reviewers; there is no read-only scope set, and a reviewer who needs one runs the check with reader roles only. | avd-landing-zone | Guarded | |
| The hosts' local administrator password is random per deployment unless one is supplied, stored in Key Vault for the hosts that deployment created, and recovered with VM reset password; nobody has to remember it. | avd-landing-zone | Run | |
| Built-in roles only, each at the narrowest scope the template knows; users get Desktop Virtualization User and Virtual Machine User Login, admins Virtual Machine Administrator Login and the elevated SMB role, the AVD service Power On Off Contributor, and the shutdown runbook's identity only what its actions need. | avd-landing-zone | Guarded | |
| The admin jumpbox and Bastion Developer are opt-in and off by default; the box has no public IP, an NSG that denies the internet and onward RDP and SSH, a managed identity with no roles, a one-time password per connection, and a daily stop.Decision 0019 stays proposed until a sandbox run confirms the connection. | avd-landing-zone | Guarded | |
| Deploys per-pool user and admin security groups, dynamic session host device groups, and AVD Conditional Access policies (reportOnly by default, with break-glass exclusions and Entra Kerberos setup). | avd-entra | Guarded | |
| The collector and validator need Reader (Desktop Virtualization Reader recommended) and no write role; they read through Resource Graph and REST GET, every request is listed in rebuild/scope.json, and files are written only to the local output folder. | avd-current-state | Guarded | |
| Multi-plane collection across Entra, Intune, Microsoft 365, and Power Platform uses only read-only Graph scopes (Directory.Read.All, Policy.Read.All, DeviceManagementConfiguration.Read.All, DeviceManagementManagedDevices.Read.All) and BAP read endpoints; write scopes (.ReadWrite.*, .Manage.*) are rejected at runtime and guarded in CI. | avd-current-state | Guarded | |
| Each agent and job has its own identity with least privilege, federated credentials and managed identities only, and its own named Graph apps so sign-in logs and Conditional Access can target them. | avd-swarm | Guarded |
Network exposure
Standards: networking-azure networking-client in the avd-assess pillars.
| Claim | Repo | Standing | Evidence |
|---|---|---|---|
| AVD Private Link is on by default for the host pool (session hosts reach the service privately, users still connect over the public gateway); the workspace feed stays public so users can subscribe from any network. | avd-landing-zone | Guarded | |
| The profile storage account, the Key Vault and the backup vault turn public network access off and are reached through private endpoints. | avd-landing-zone | Guarded | |
| The session host subnet denies inbound from the internet and outbound RDP and SSH to the virtual network (no lateral movement); the private endpoint subnet allows only SMB from the hosts and HTTPS inside the virtual network.The template test covers the session host subnet's rules; the private endpoint subnet's are in the code. | avd-landing-zone | Guarded | |
| The standalone Azure plane module enforces the same Private Link, private endpoint, and session host NSG rules as the landing zone orchestrator. | avd-azure | Guarded | |
| Deploys Microsoft.PowerPlatform/enterprisePolicies in Bicep to link Power Platform environments to delegated virtual network subnets when private network reachability is enabled. | avd-power-platform | Guarded |
Profiles, secrets and encryption
Standards: profiles security-posture in the avd-assess pillars.
| Claim | Repo | Standing | Evidence |
|---|---|---|---|
| The FSLogix share uses Entra Kerberos with no domain controllers, SMB 3.1.1 with Kerberos only, AES-256 tickets and GCM channel encryption; AES-128-GCM stays allowed because a real run showed AES-256-GCM alone denies cloud-only users. Shared key access is off unless the vaulted backup tier needs it, and deleted shares are kept 14 days. | avd-landing-zone | Run | |
| Key Vault uses Azure RBAC, purge protection and no public network access; a purge-protected vault is recovered rather than waited out. | avd-landing-zone | Run | |
| Encryption at host is on by default for session hosts. | avd-landing-zone | Guarded |
Session hosts
Standards: security-posture endpoint-protection intune protocol in the avd-assess pillars.
| Claim | Repo | Standing | Evidence |
|---|---|---|---|
| Session hosts and the jumpbox are Trusted Launch VMs with Secure Boot and vTPM, and the Well-Architected review warns when they are not.The template test covers the jumpbox; the hosts' setting is in the code. | avd-landing-zone | Guarded | |
| Hosts are checked against a reviewed twelve-control baseline profile with recorded departures, read-only through Run Command, reported as warnings (pass, departure, gap or unknown), never failures.Decision 0018 is proposed; no sandbox run has confirmed the expected values yet. | avd-landing-zone | Guarded | |
| The default RDP properties turn drive and USB redirection off and keep clipboard, printers, smart cards, WebAuthn and the camera on, a usability trade-off the method records; the Well-Architected review warns when drive or USB redirection is on. | avd-landing-zone | Guarded | |
| Intune enrollment is on by default; Defender for Cloud plans are on in the prod parameter file and off in dev and test. Under a platform that already assigns Defender and policy, the operator turns them off and the platform owns them. | avd-landing-zone | Guarded | |
| The host registration token is generated per deployment and valid for four hours. | avd-landing-zone | Guarded | |
| Configures Intune MDM auto-enrollment, multi-session Settings Catalog profiles (FSLogix, RDP Shortpath, session limits), and secure-by-default host compliance policies. | avd-intune | Guarded | |
| Applies OneDrive Known Folder Move and Files On-Demand, Microsoft 365 Apps Shared Computer Activation, and Teams VDI media optimization policies for session hosts. | avd-m365 | Guarded |
Governance, spend and teardown
Standards: governance finops in the avd-assess pillars.
| Claim | Repo | Standing | Evidence |
|---|---|---|---|
| Subscription guardrails are on by default; Azure Policy built-ins (allowed locations and others) and the activity log exported to Log Analytics, kept 90 days by default. A budget is created only when the operator sets an amount. | avd-landing-zone | Guarded | |
| Hosts stop on a daily schedule by default unless the operator opts out with an expiry, and a budget, when set, calls the same shutdown action. | avd-landing-zone | Guarded | |
| Teardown refuses to delete the last copy of profiles, logs and evidence without -DiscardLastCopy, which -Force never implies. | avd-landing-zone | Guarded | |
| Enforces a baseline Data Loss Prevention policy that blocks unapproved connectors and scopes day-2 AVD flows to a dedicated Power Platform environment. | avd-power-platform | Guarded | |
| Publishes Contract C26 (avd-cloud-environments/v1) mapping Azure US Government and Microsoft 365 GCC High sovereign endpoints, Private DNS zones, allowed regions, capability flags, and ITAR/CUI redirection lockdown checks, guarded by offline schema and method tests.Offline contract and method checks guard the usgov profile and ITAR checks; standing stays guarded until a live AzureUSGovernment sandbox run records run evidence. | avd-assess | Guarded |
Data handling and privacy of the tools
Standards: diagnostics security-posture in the avd-assess pillars.
| Claim | Repo | Standing | Evidence |
|---|---|---|---|
| The deployment portal is a static page; output pasted into it stays in the browser. Its Content Security Policy allows no inline or third-party script, and its only outbound requests are the latency and reachability probes to Azure endpoints.connect-src allows any https origin so the probes work; the test guards that the page itself fetches only through the timed probe. | avd-landing-zone | Guarded | |
| Report a problem redacts emails, IDs, subscription and resource names, the name prefix, group names and secrets in the browser; the person reviews the text and files the public issue themselves. | avd-landing-zone | Guarded | |
| The facts snapshot keeps counts and public values; names, resource and object IDs, users, IPs and tags never leave. Resources become keyed HMAC pseudonyms, unknown values become other, and the script refuses to write if anything shaped like a GUID, email, UNC path or IP is left. One tenant per snapshot.The pseudonym key stays with the operator; whoever holds the key and the IDs can reverse a pseudonym. | avd-current-state | Guarded | |
| The assessment portal reads a state line that holds counts and pseudonyms only, and refuses values that look private. | avd-current-state | Guarded | |
| Public knowledge holds generalized knowledge only; one customer's estate data lives in that customer's private vault repo, and knowledge changes only by a reviewed pull request that a leak check passes. | avd-second-brain | Guarded | |
| Public text names no tenant, subscription, customer, user or machine, and third-party products only as categories; avd-assess's wording check and the leak checks in the KB repos enforce it, and a public repo fails CI if it carries the private notes layer. | avd-assess | Guarded |
Supply chain and CI
Standards: governance in the avd-assess pillars.
| Claim | Repo | Standing | Evidence |
|---|---|---|---|
| All eleven public repos are MIT licensed; what they adopt is listed with its license on the credits page, and code from unlicensed repos is used as reference only. | avd-ops | Guarded | |
| CI pins Bicep, PSRule and its Azure rules, PSScriptAnalyzer, Pester and gitleaks to exact versions, and Azure Verified Modules to exact versions in the templates. | avd-landing-zone | Guarded | |
| PSRule for Azure checks the templates against Well-Architected rules on every change, and every suppression carries a justification. | avd-landing-zone | Guarded | |
| gitleaks scans the history on every pull request in avd-landing-zone, avd-current-state, avd-second-brain, avd-swarm, avd-assess and avd-ops; avd-landing-zone's job also proves its subscription ID rule still fires on a planted ID. | avd-landing-zone | Guarded | |
| Action references across avd-landing-zone, avd-current-state, avd-second-brain, avd-swarm, avd-assess and avd-ops are pinned to a 40-character commit SHA with the version tag as a comment, with weekly Dependabot update proposals and an SPDX 2.3 Software Bill of Materials per repo. | avd-landing-zone | Guarded |
|
| Every source the method reads is pinned to a commit or a Learn page's git_commit_id, and the family's shared contracts are byte-identical copies whose hashes each consumer's tests check. | avd-assess | Guarded |
Agents and automation
Standards: review-plan in the avd-assess pillars.
| Claim | Repo | Standing | Evidence |
|---|---|---|---|
| The second brain holds no write credential; every change to an estate goes through avd-swarm's approval. | avd-second-brain | Guarded | |
| Agents read and propose; any write is a plan a person approves in a protected GitHub environment, checked by a governance gate, watched by an observer outside the swarm's trust boundary, behind a layered kill switch that only the owner resets. | avd-swarm | Guarded | |
| A prompt injection scan of untrusted text in the model client is built in the first spike, off unless asked for, and not yet run. Estate facts reach the agents only as redacted, cited facts from the brain, never as collector packages or exports. | avd-swarm | Guarded |
What you still decide and own
The repos make these choices visible; they don't make them for you. Microsoft's half of the shared responsibility is in the AVD security guide.
| Decision | See |
|---|---|
| Who holds Owner on the landing zone subscription, and whether it is standing or just in time. | lz-deploy-owner |
| Conditional Access and MFA for AVD users and admins; the landing zone needs one Conditional Access exclusion for the storage account's app, which the reviewer should see. | ref:review-checklists-avd#G04.01, lz-profile-share |
| Admin consent for the storage account's Entra app and for the Graph operator app, and who is assigned to the operator app. | lz-graph-delegated, lz-profile-share |
| The share's root ACL, which the post-deployment step hardens to the FSLogix layout. | lz-profile-share |
| Who may share a host (pooled, personal or a separate tenant), from the intake, not telemetry. | ref:avd-security-guide#trust-boundary |
| The baseline controls left to the organization, and every departure with its reason. | lz-host-baseline, gap:host-baseline-profile |
| The endpoint detection and response product on hosts, its exclusions for profiles and App Attach, and its cost. | gap:security-agents-scope |
| Whether clipboard, printing, camera and the other redirections stay on, and whether screen capture protection and watermarking are needed. | lz-redirection, ref:screen-capture-protection, ref:watermarking |
| Whether Defender plans and policy come from this landing zone or from an existing platform. | lz-defender-intune, lz-policy |
| Log retention past the default and where security logs go for monitoring and incident response. | lz-policy |
| Required reviewers on the prod GitHub environment, so a production deployment needs an approval. | lz-ci-oidc |
| Custody of each estate's pseudonymization key. | cs-facts-redaction |
What each repo can touch
A short summary per repo, not a formal threat model. A formal review exists for avd-landing-zone, avd-current-state, avd-swarm; the others have none yet.
avd-landing-zone
Orchestrates the five control planes and creates and changes every resource in the landing zone subscription, the groups and apps it needs in Entra, and deletes on teardown.
Risks: An over-privileged deploying identity; A secret in the repo or a log; Public exposure of data services; A teardown that deletes the only copy.
Limited by: lz-deploy-owner, lz-ci-oidc, lz-break-glass, lz-private-data-plane, secret-scan, lz-last-copy
avd-entra
Creates and configures AVD Entra dynamic groups, Conditional Access policies, and the Kerberos storage principal in the Entra plane.
Risks: A Conditional Access change locking out administrators; Over-broad Graph write scopes during deployment.
Limited by: lz-graph-delegated, op-conditional-access, op-admin-consent
No formal threat model yet.
avd-intune
Deploys Intune Settings Catalog profiles, compliance policies, and security baselines for AVD session hosts.
Risks: Misconfigured device policy affecting non-AVD endpoints.
Limited by: lz-defender-intune, op-host-baseline
No formal threat model yet.
avd-m365
Configures OneDrive Known Folder Move, Microsoft 365 Apps Shared Computer Activation, Teams media optimization, and multimedia redirection policies.
Risks: Unintended tenant-wide collaboration policy scope.
Limited by: lz-graph-delegated, op-admin-consent
No formal threat model yet.
avd-azure
Deploys the Azure Resource Manager plane (networking, storage, Key Vault, host pools, session hosts, monitoring, and policy guardrails).
Risks: Public exposure of storage or Key Vault; Over-privileged role assignments.
Limited by: lz-private-data-plane, lz-rbac, lz-policy
No formal threat model yet.
avd-power-platform
Configures Power Platform environments, Data Loss Prevention connector policies, and VNet enterprise policies when opted in.
Risks: Unblocked connectors exfiltrating data from session hosts.
Limited by: lz-policy, op-platform-policy
No formal threat model yet.
avd-current-state
Reads the subscriptions and control planes it is pointed at; writes only local files.
Risks: A read identity granted more than Reader or read-only Graph scopes; Collected names or IDs leaving with the facts.
Limited by: cs-reader-only, cs-graph-readonly, cs-facts-redaction, cs-portal-state
avd-assess
Nothing in Azure; publishes method, references and contracts that the other repos pin.
Risks: A changed contract or rule reaching readers unreviewed.
Limited by: pinned-sources
No formal threat model yet.
avd-second-brain
Reads redacted facts and knowledge; holds no write credential.
Risks: Estate data reaching public knowledge.
Limited by: brain-layers, brain-no-write
No formal threat model yet.
avd-swarm
In design, the only write path for the layers above the foundation.
Risks: An unapproved write; A fooled agent proposing a bad plan; Prompt injection through tool output.
Limited by: swarm-gate, swarm-identities, swarm-prompt-shields
avd-ops
The static site; no Azure access.
Risks: Private material published by mistake.
Limited by: family-no-ids, secret-scan
No formal threat model yet.
The standards
To judge an estate rather than the tools, use the avd-assess security method and its scope, the pillars security-posture identity networking-azure networking-client protocol endpoint-protection intune governance, and these pinned Microsoft sources: avd-security-guide, mcsb-avd-baseline, zero-trust-avd, review-checklists-avd, windows-security-baselines, intune-security-baselines, rdp-properties, screen-capture-protection, watermarking, defender-compute-recommendations, avd-private-link, bastion, psrule-azure.
What the review found missing
Gaps the map found, each for the repos named to fix.
| Gap | Repos |
|---|---|
| Closed in 2.2.0; SECURITY.md is present across avd-landing-zone, avd-current-state, avd-second-brain, avd-swarm, avd-assess and avd-ops. | avd-current-state, avd-second-brain, avd-swarm |
| Closed in 2.2.0; GitHub Actions across the family are pinned to 40-character commit SHAs (see lz-actions-pinned). | avd-current-state, avd-second-brain, avd-swarm, avd-ops |
| Closed in 2.2.0; weekly Dependabot update configs (.github/dependabot.yml) and SPDX 2.3 Software Bills of Materials (sbom.spdx.json) are present across avd-landing-zone, avd-current-state, avd-second-brain, avd-swarm, avd-assess and avd-ops (see lz-actions-pinned). | avd-landing-zone, avd-current-state, avd-second-brain, avd-swarm, avd-assess, avd-ops |
| Closed in 2.2.0; gitleaks runs in CI across avd-landing-zone, avd-current-state, avd-second-brain, avd-swarm, avd-assess and avd-ops (see secret-scan). | avd-current-state, avd-swarm, avd-assess |
| Closed in 2.1.0; read-only Graph scopes are enforced and guarded in CI (see cs-graph-readonly). | avd-landing-zone |
| Closed in 2.1.0 by tests/ReadOnlyGuard.Tests.ps1 (see cs-reader-only). | avd-current-state |
| The host baseline (decision 0018) and the jumpbox (decision 0019) have no real-run evidence yet. The hosts' Trusted Launch, subnet rules and role assignments now have template tests. | avd-landing-zone |
| Closed in 2.2.0; docs/threat-model.md is present in both avd-landing-zone and avd-current-state. | avd-landing-zone, avd-current-state |
Reporting a vulnerability
Privately, through Report a vulnerability on the affected repo's Security tab. Where a repo has no security policy yet (avd-current-state, avd-second-brain, avd-swarm) and the button isn't there, open an issue that asks for a private contact and holds no details. Never put secrets, IDs, names or estate data in a public issue.
The map as data
For tools: security-review.json (avd-assess-security-review/v1), byte-identical to avd-assess at 8875905, with its schema.
This page is built from avd-assess's security review map. Something wrong or missing? Open an issue or a pull request in avd-assess.