Architecture & Governance参照資料確認: 2026-09-11

Security Admin Rules

Azure Virtual Network Manager Security Admin Rulesで全社guardrailをVNetへ適用し、NSGとの評価順・Allow / Always Allow / Deny・Private Endpoint例外を誤らず設計する。

Architecture contract

Security Admin Rulesをworkload NSGの代替ではなく、central governance teamが所有するorganization-wide guardrailとして扱う。中央で固定する禁止・必須許可と、application teamへ残すleast-privilege制御を分離し、rule actionごとのNSGへの継続/終了、Private Endpointのcurrent limitation、regional deploymentをacceptance criteriaへ含める。

この記事の目次

Security Admin Rulesを理解するための前提

Security Admin RulesはAzure Virtual Network ManagerからVNetへ適用する中央security controlで、NSGより先に評価される。central teamがbaseline guardrailを持ち、workload teamはNSGでapplication固有制御を追加する。 actionはAllow / Always Allow / Deny。Allowはsecurity admin ruleで許可された後もNSG評価へ進むため、workload側でさらに絞り込める。

Always Allowは後続NSG評価を終了してtrafficを許可し、Denyも後続評価を終了して遮断する。例外用途でAlways Allowを乱用するとworkload NSGの防御を迂回する。 Security Admin Ruleは現在VNet levelへ適用され、Network Groupを使って複数VNetへ一元配布する。group membershipとconfiguration deploymentの両方が適用対象を決める。

Microsoft Learnのcurrent documentationではmanaged VNet scope内のPrivate EndpointにはSecurity Admin Rulesが適用されないと明記されている。Private Endpoint protectionを同ルールだけに依存しない。 一つのregionへ複数security admin configurationをそのままdeployするのではなく、必要な複数policy domainは一つのsecurity configuration内の複数rule collectionとして設計する。

deploymentはeventual consistencyで反映される。deploy APIの成功直後だけで全VNetへ適用済みと判定せず、effective rule / representative flowを確認する。

通信や判断の流れを追う
Platform policyShared servicesSpoke / Workload運用・変更

Ownership / Control / Data plane boundary

Central guardrail

organization-wide Denyや必須Allowをcentral governance teamが所有する。

Workload policy

subnet/NIC NSGでapplication固有のleast privilegeをworkload teamが所有する。

Evaluation boundary

AllowはNSGへ継続、Always Allow / Denyはsecurity admin ruleで評価終了する。

Coverage boundary

Private Endpoint等のcurrent coverage limitationを別controlで補完する。

Architecture model

読み方Security Admin RulesとNSGを『どちらが強いか』だけで理解せず、actionごとに後続評価が継続するかを確認する。特にAllowはcentral許可で完結せず、NSGがdenyできる。

設計判断

判断軸推奨する問い設計時に固定するもの
Central baselineどのflowをorganization-wideに絶対禁止・必須許可とするか。rule purpose、source/destination、priority、action、owner。
Action choiceAllowでworkload裁量を残すか、Always Allow / Denyで中央判断を確定するか。action rationale、downstream NSG expectation、exception。
Rule collectionsenvironment / trust / exceptionをどのrule collectionへ分離するか。collection owner、Network Group binding、priority policy。
Private EndpointSecurity Admin Rules対象外のPrivate Endpoint trafficを何で保護するか。NSG/subnet policy、service-side access、Private Link/DNS governance。
Deployment waveどのregion / groupから適用するか。canary、positive/negative flow、stop condition、rollback config。
Exception governance一時例外をAlways Allowで作る必要が本当にあるか。approval、expiry、compensating control、removal evidence。

実装・展開の順序

  1. 既存NSG baselineをinventoryする。 central guardrailと重複/矛盾しそうなrules、critical management flow、break-glass pathを抽出する。
  2. central policyを最小化する。 全workload共通で説明できるDeny/AllowだけをSecurity Admin Rulesへ上げ、application固有条件を中央へ吸い上げ過ぎない。
  3. Network Groupをcanary化する。 representative VNetを少数選び、Private Endpoint有無やNSG patternを含むtest matrixを作る。
  4. rule actionを検証する。 Allow→NSG継続、Always Allow/Deny→評価終了という期待をpositive / negative flowで実証する。
  5. region単位にdeployする。 eventual consistencyを考慮してeffective stateが収束してから次waveへ進む。
  6. exceptionを期限管理する。 temporary Always Allow等はowner/expiryを必須にし、期限後の削除と再testまでchangeを閉じない。

Platform team / Workload team の責任分界

領域Platform / central teamWorkload / application team
Security baselineSecurity Admin Rules、priority standard、Network Group bindingを所有。central baselineを前提にapplication固有requirementsを提示。
NSG共通template / minimum controlを提示。subnet/NIC NSGとapplication least privilegeを実装。
Exceptionscross-workload例外とbreak-glassを審査。業務理由、期限、対象flow、compensating controlを申請。
Private Endpointcentral coverage limitationと補完standardを定義。PE subnet/service-side access/DNSを実装し別途検証。
Verificationeffective admin rulesと共通negative testを提供。real application journey、NSG hit/effective ruleを確認。

Actionごとの評価モデル

Security Admin actionNSGへ進むか設計上の意味
Allow進む中央で候補flowを許可するが、workload NSGはさらにDenyできる。通常の責任分界を維持しやすい。
Always Allow進まないNSGによる後続denyを迂回して必ず許可する。例外・基盤必須flowでもblast radiusを厳格に限定する。
Deny進まないNSGに関係なく中央で遮断する。全社guardrailに向くが、誤適用時の影響が大きい。

Verification / review evidence

設計レビューで残す証拠

  • Security Admin configuration / rule collection / ruleのsource version
  • Network Group membershipとtarget region deployment status
  • rule priority / action / source / destinationのreviewed matrix
  • 既存NSGとの重複・矛盾一覧
  • Private Endpointを含むcoverage gapとcompensating control
  • exception owner / expiry / approval / rollback record

runtimeで確認すること

  • Deny flowがNSGの許可有無に関係なく遮断されること
  • Allow flowがNSGでさらにDeny可能であること
  • Always Allow対象だけがNSGを迂回し、範囲外へ広がっていないこと
  • canary VNetのeffective security admin rulesが期待versionへ収束すること
  • Private Endpoint flowは別controlで期待通り保護されていること
  • rollback後にcentral ruleとworkload NSGの合成結果がknown-goodへ戻ること
Azure CLI — security admin configurations (read-only)
az network manager security-admin-config list --network-manager-name <manager> --resource-group <rg> -o table
Azure CLI — effective security admin rules (read-only)
az network manager list-effective-security-admin-rule --network-manager-name <manager> --resource-group <rg> --virtual-network-name <vnet> -o jsonc

Common failure modes

症状 / anti-pattern原因になりやすい設計確認・是正
NSG Allowなのに通信できない上位Security Admin RuleがDeny。effective security admin ruleをNSGより先に確認。
NSG Denyなのに通信できるAlways AllowでNSG評価を迂回。action typeとrule priorityを確認し、Always Allowの必要性を再審査。
Private Endpointも守られていると思ったが対象外Security Admin Rulesのcurrent coverage limitationを設計に反映していない。PE用のNSG/service-side/access governanceを別controlとして検証。
deploy直後にVNetごと結果が違うeventual consistency中に完了判定。deployment statusとeffective ruleの収束を待ち、wave gateを定義。
中央rulesがapplication仕様だらけcentral guardrailとworkload least privilegeの責任分界が崩壊。共通baselineだけ中央へ残し、application固有条件はNSGへ戻す。

Change safety / rollback

一括変更を避ける: security configurationのknown-good versionを保持し、canary → region waveの逆順で戻す。rule削除・priority変更・Network Group membership変更を同時に行わず、rollback後はAllow/Always Allow/Denyそれぞれの代表flowとNSG合成結果を再試験する。

Current notes — 2026-09-11

Private Endpoint limitation

Microsoft Learnは現在、managed virtual networkのscopeに入るPrivate EndpointへSecurity Admin Rulesは適用されないと明記している。仕様は更新され得るため、設計・監査時にcurrent coverageを再確認する。

Official sources