@huawei-iac-tools/landingzone-workbench 0.0.0-stage → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (246) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +85 -2
  3. package/cordis.patch.yml +21 -0
  4. package/knowledge/account-qualification.md +128 -0
  5. package/knowledge/blueprints/_base/blueprint.json +481 -0
  6. package/knowledge/blueprints/_base/defaults.json +127 -0
  7. package/knowledge/blueprints/foundation-lz/blueprint.json +43 -0
  8. package/knowledge/blueprints/foundation-lz/defaults.json +47 -0
  9. package/knowledge/blueprints/full-lz/blueprint.json +11 -0
  10. package/knowledge/blueprints/full-lz/defaults.json +8 -0
  11. package/knowledge/config.json +43 -0
  12. package/knowledge/error-rules.json +14 -0
  13. package/knowledge/ic-policies.json +21 -0
  14. package/knowledge/modules/account-structure.md +101 -0
  15. package/knowledge/modules/compliance/config-rms.md +212 -0
  16. package/knowledge/modules/compliance/cts.md +179 -0
  17. package/knowledge/modules/compliance/obs-lts.md +155 -0
  18. package/knowledge/modules/ic-policies.json +21 -0
  19. package/knowledge/modules/identity-center.md +603 -0
  20. package/knowledge/modules/module-layers.md +169 -0
  21. package/knowledge/modules/network/er.md +222 -0
  22. package/knowledge/modules/network/nat-eip.md +123 -0
  23. package/knowledge/modules/network/ram-share.md +92 -0
  24. package/knowledge/modules/network/vpc-subnet.md +142 -0
  25. package/knowledge/modules/organization-security/scp.md +122 -0
  26. package/knowledge/modules/organizations.md +212 -0
  27. package/knowledge/modules/recommended-config.md +157 -0
  28. package/knowledge/modules/recommended-rules.json +175 -0
  29. package/knowledge/modules/scp-policies.json +111 -0
  30. package/knowledge/modules/security/aad.md +94 -0
  31. package/knowledge/modules/security/cfw.md +105 -0
  32. package/knowledge/modules/security/waf.md +110 -0
  33. package/knowledge/param-mappings.json +133 -0
  34. package/knowledge/prompts.md +83 -0
  35. package/knowledge/resource-types.json +1162 -0
  36. package/knowledge/scp-policies.json +111 -0
  37. package/knowledge/state-machine.md +33 -0
  38. package/lib/client.js +21 -0
  39. package/lib/index.js +28592 -0
  40. package/lib/types/account-role.d.ts +19 -0
  41. package/lib/types/account-scope.d.ts +10 -0
  42. package/lib/types/agency.d.ts +38 -0
  43. package/lib/types/client/DropdownSelect.d.ts +49 -0
  44. package/lib/types/client/LoginGate.d.ts +20 -0
  45. package/lib/types/client/PanelIcon.d.ts +11 -0
  46. package/lib/types/client/WorkbenchShell.d.ts +21 -0
  47. package/lib/types/client/account-role.d.ts +15 -0
  48. package/lib/types/client/credential-status.d.ts +15 -0
  49. package/lib/types/client/huawei-mark.d.ts +37 -0
  50. package/lib/types/client/index.d.ts +26 -0
  51. package/lib/types/client/layout-ref.d.ts +23 -0
  52. package/lib/types/client/pages/ConfigPage/AdviceCard.d.ts +26 -0
  53. package/lib/types/client/pages/ConfigPage/AuditBar.d.ts +21 -0
  54. package/lib/types/client/pages/ConfigPage/ChangeSummaryCard.d.ts +22 -0
  55. package/lib/types/client/pages/ConfigPage/ChangesCard.d.ts +27 -0
  56. package/lib/types/client/pages/ConfigPage/ComplianceDetail.d.ts +25 -0
  57. package/lib/types/client/pages/ConfigPage/ComplianceSummaryCard.d.ts +31 -0
  58. package/lib/types/client/pages/ConfigPage/FindingsCard.d.ts +21 -0
  59. package/lib/types/client/pages/ConfigPage/GlossaryDrawer.d.ts +17 -0
  60. package/lib/types/client/pages/ConfigPage/OrgComplianceDetail.d.ts +15 -0
  61. package/lib/types/client/pages/ConfigPage/Pager.d.ts +32 -0
  62. package/lib/types/client/pages/ConfigPage/ResourceDrawer.d.ts +26 -0
  63. package/lib/types/client/pages/ConfigPage/ResourcesTable.d.ts +35 -0
  64. package/lib/types/client/pages/ConfigPage/RollupPanel.d.ts +17 -0
  65. package/lib/types/client/pages/ConfigPage/RuleDetailDrawer.d.ts +23 -0
  66. package/lib/types/client/pages/ConfigPage/StatusCards.d.ts +26 -0
  67. package/lib/types/client/pages/ConfigPage/UncoveredDialog.d.ts +22 -0
  68. package/lib/types/client/pages/ConfigPage/config-api.d.ts +101 -0
  69. package/lib/types/client/pages/ConfigPage/config-store.d.ts +57 -0
  70. package/lib/types/client/pages/ConfigPage/index.d.ts +21 -0
  71. package/lib/types/client/pages/ConfigPage/paging.d.ts +46 -0
  72. package/lib/types/client/pages/ConfigPage/scope-options.d.ts +51 -0
  73. package/lib/types/client/pages/CostPage/AccountAllocation.d.ts +24 -0
  74. package/lib/types/client/pages/CostPage/AccountBars.d.ts +20 -0
  75. package/lib/types/client/pages/CostPage/AccountColumns.d.ts +24 -0
  76. package/lib/types/client/pages/CostPage/AccountDonut.d.ts +18 -0
  77. package/lib/types/client/pages/CostPage/AccountSwitcher.d.ts +25 -0
  78. package/lib/types/client/pages/CostPage/AdviceCard.d.ts +43 -0
  79. package/lib/types/client/pages/CostPage/AdviceFindings.d.ts +43 -0
  80. package/lib/types/client/pages/CostPage/BillingPanels.d.ts +23 -0
  81. package/lib/types/client/pages/CostPage/BudgetCard.d.ts +36 -0
  82. package/lib/types/client/pages/CostPage/GlossaryDrawer.d.ts +16 -0
  83. package/lib/types/client/pages/CostPage/KpiRow.d.ts +23 -0
  84. package/lib/types/client/pages/CostPage/MarkdownBlock.d.ts +16 -0
  85. package/lib/types/client/pages/CostPage/ReportView.d.ts +17 -0
  86. package/lib/types/client/pages/CostPage/ResourceColumns.d.ts +19 -0
  87. package/lib/types/client/pages/CostPage/ResourceDonut.d.ts +18 -0
  88. package/lib/types/client/pages/CostPage/ResourcesCard.d.ts +40 -0
  89. package/lib/types/client/pages/CostPage/RuleDetailDrawer.d.ts +23 -0
  90. package/lib/types/client/pages/CostPage/SavingView.d.ts +38 -0
  91. package/lib/types/client/pages/CostPage/ServiceDonut.d.ts +17 -0
  92. package/lib/types/client/pages/CostPage/TrendChart.d.ts +24 -0
  93. package/lib/types/client/pages/CostPage/budget-input.d.ts +30 -0
  94. package/lib/types/client/pages/CostPage/cost-api.d.ts +266 -0
  95. package/lib/types/client/pages/CostPage/cost-store.d.ts +25 -0
  96. package/lib/types/client/pages/CostPage/format.d.ts +37 -0
  97. package/lib/types/client/pages/CostPage/index.d.ts +34 -0
  98. package/lib/types/client/pages/CostPage/trend-fold.d.ts +32 -0
  99. package/lib/types/client/pages/CostPage/useEcharts.d.ts +70 -0
  100. package/lib/types/client/pages/OrgStructurePage/AccountStatsCard.d.ts +22 -0
  101. package/lib/types/client/pages/OrgStructurePage/CoreAccountsCard.d.ts +18 -0
  102. package/lib/types/client/pages/OrgStructurePage/CreateAccountDialog.d.ts +28 -0
  103. package/lib/types/client/pages/OrgStructurePage/ManageUsersDialog.d.ts +28 -0
  104. package/lib/types/client/pages/OrgStructurePage/MemberAccountsTable.d.ts +32 -0
  105. package/lib/types/client/pages/OrgStructurePage/MoveAccountDialog.d.ts +29 -0
  106. package/lib/types/client/pages/OrgStructurePage/OrgGlossaryDrawer.d.ts +13 -0
  107. package/lib/types/client/pages/OrgStructurePage/OrgTreeCard.d.ts +31 -0
  108. package/lib/types/client/pages/OrgStructurePage/index.d.ts +21 -0
  109. package/lib/types/client/pages/OrgStructurePage/org-api.d.ts +166 -0
  110. package/lib/types/client/pages/OverviewPage/AnchorRow.d.ts +24 -0
  111. package/lib/types/client/pages/OverviewPage/AttentionList.d.ts +29 -0
  112. package/lib/types/client/pages/OverviewPage/OverviewCharts.d.ts +79 -0
  113. package/lib/types/client/pages/OverviewPage/OverviewGlossaryDrawer.d.ts +15 -0
  114. package/lib/types/client/pages/OverviewPage/index.d.ts +22 -0
  115. package/lib/types/client/pages/OverviewPage/overview-api.d.ts +115 -0
  116. package/lib/types/client/pages/ResourcePage/AccountResourceList.d.ts +21 -0
  117. package/lib/types/client/pages/ResourcePage/components/GlossaryDrawer.d.ts +20 -0
  118. package/lib/types/client/pages/ResourcePage/components/MetricCards.d.ts +19 -0
  119. package/lib/types/client/pages/ResourcePage/components/MultiSelect.d.ts +27 -0
  120. package/lib/types/client/pages/ResourcePage/components/PanelPager.d.ts +26 -0
  121. package/lib/types/client/pages/ResourcePage/components/RankBars.d.ts +25 -0
  122. package/lib/types/client/pages/ResourcePage/components/ScopeSelect.d.ts +27 -0
  123. package/lib/types/client/pages/ResourcePage/components/SourceConfigModal.d.ts +21 -0
  124. package/lib/types/client/pages/ResourcePage/components/SyncControls.d.ts +18 -0
  125. package/lib/types/client/pages/ResourcePage/components/TrendChart.d.ts +14 -0
  126. package/lib/types/client/pages/ResourcePage/components/useColumnWidths.d.ts +12 -0
  127. package/lib/types/client/pages/ResourcePage/format.d.ts +9 -0
  128. package/lib/types/client/pages/ResourcePage/index.d.ts +20 -0
  129. package/lib/types/client/pages/ResourcePage/summary-api.d.ts +205 -0
  130. package/lib/types/client/pages/SetupPage/AskPanel.d.ts +21 -0
  131. package/lib/types/client/pages/SetupPage/ChatEmbed.d.ts +40 -0
  132. package/lib/types/client/pages/SetupPage/ChatTab.d.ts +17 -0
  133. package/lib/types/client/pages/SetupPage/FormTab.d.ts +12 -0
  134. package/lib/types/client/pages/SetupPage/FormTabV2.d.ts +14 -0
  135. package/lib/types/client/pages/SetupPage/ProgressTreeView.d.ts +15 -0
  136. package/lib/types/client/pages/SetupPage/StageFlow.d.ts +16 -0
  137. package/lib/types/client/pages/SetupPage/index.d.ts +10 -0
  138. package/lib/types/client/pages/SetupPage/progress-types.d.ts +36 -0
  139. package/lib/types/client/pages/SetupPage/session-binding.d.ts +38 -0
  140. package/lib/types/client/pages/SetupPage/session-store.d.ts +57 -0
  141. package/lib/types/client/pages/SetupPage/sessions-ref.d.ts +5 -0
  142. package/lib/types/client/pages/SetupPage/setup-replan.d.ts +13 -0
  143. package/lib/types/client/pages/SetupPage/wb-api.d.ts +192 -0
  144. package/lib/types/client/pages/list-preview.d.ts +36 -0
  145. package/lib/types/client/permission-mode.d.ts +53 -0
  146. package/lib/types/client/store.d.ts +22 -0
  147. package/lib/types/collect.d.ts +78 -0
  148. package/lib/types/config/account-scope.d.ts +61 -0
  149. package/lib/types/config/advice-findings.d.ts +31 -0
  150. package/lib/types/config/advice-prompt.d.ts +60 -0
  151. package/lib/types/config/advice.d.ts +116 -0
  152. package/lib/types/config/cts.d.ts +30 -0
  153. package/lib/types/config/evidence/rules.d.ts +31 -0
  154. package/lib/types/config/evidence/types.d.ts +103 -0
  155. package/lib/types/config/failure-note.d.ts +46 -0
  156. package/lib/types/config/fingerprint-cache.d.ts +45 -0
  157. package/lib/types/config/identity.d.ts +67 -0
  158. package/lib/types/config/query.d.ts +49 -0
  159. package/lib/types/config/rms.d.ts +412 -0
  160. package/lib/types/config/routes.d.ts +32 -0
  161. package/lib/types/config/types.d.ts +785 -0
  162. package/lib/types/config/views.d.ts +158 -0
  163. package/lib/types/cost/accounts.d.ts +29 -0
  164. package/lib/types/cost/advice-findings.d.ts +77 -0
  165. package/lib/types/cost/advice-model.d.ts +19 -0
  166. package/lib/types/cost/advice-prompt.d.ts +73 -0
  167. package/lib/types/cost/advice-subagent-types.d.ts +6 -0
  168. package/lib/types/cost/advice-subagent.d.ts +116 -0
  169. package/lib/types/cost/advice-types.d.ts +63 -0
  170. package/lib/types/cost/advice.d.ts +125 -0
  171. package/lib/types/cost/aggregate.d.ts +157 -0
  172. package/lib/types/cost/assume.d.ts +43 -0
  173. package/lib/types/cost/bss.d.ts +166 -0
  174. package/lib/types/cost/budget-overview.d.ts +38 -0
  175. package/lib/types/cost/budget.d.ts +56 -0
  176. package/lib/types/cost/cache.d.ts +58 -0
  177. package/lib/types/cost/caliber.d.ts +40 -0
  178. package/lib/types/cost/console-links.d.ts +27 -0
  179. package/lib/types/cost/credentials.d.ts +38 -0
  180. package/lib/types/cost/data-window.d.ts +38 -0
  181. package/lib/types/cost/evidence/catalog.d.ts +35 -0
  182. package/lib/types/cost/evidence/index.d.ts +70 -0
  183. package/lib/types/cost/evidence/inventory.d.ts +44 -0
  184. package/lib/types/cost/evidence/pricing.d.ts +72 -0
  185. package/lib/types/cost/evidence/projects.d.ts +18 -0
  186. package/lib/types/cost/evidence/rules.d.ts +66 -0
  187. package/lib/types/cost/evidence/state.d.ts +38 -0
  188. package/lib/types/cost/evidence/thresholds.d.ts +68 -0
  189. package/lib/types/cost/evidence/types.d.ts +288 -0
  190. package/lib/types/cost/evidence/utilization.d.ts +37 -0
  191. package/lib/types/cost/history.d.ts +36 -0
  192. package/lib/types/cost/ledger.d.ts +97 -0
  193. package/lib/types/cost/normalize.d.ts +37 -0
  194. package/lib/types/cost/period-projection.d.ts +57 -0
  195. package/lib/types/cost/plan-check.d.ts +102 -0
  196. package/lib/types/cost/plan-db.d.ts +73 -0
  197. package/lib/types/cost/plan-types.d.ts +183 -0
  198. package/lib/types/cost/plan.d.ts +63 -0
  199. package/lib/types/cost/quote.d.ts +45 -0
  200. package/lib/types/cost/report.d.ts +136 -0
  201. package/lib/types/cost/resources.d.ts +108 -0
  202. package/lib/types/cost/routes.d.ts +38 -0
  203. package/lib/types/cost/scope.d.ts +42 -0
  204. package/lib/types/cost/types.d.ts +335 -0
  205. package/lib/types/cost/unit-prices-derive.d.ts +19 -0
  206. package/lib/types/cost/unit-prices.d.ts +23 -0
  207. package/lib/types/db.d.ts +228 -0
  208. package/lib/types/host-log.d.ts +7 -0
  209. package/lib/types/http.d.ts +42 -0
  210. package/lib/types/index.d.ts +30 -0
  211. package/lib/types/inventory.d.ts +286 -0
  212. package/lib/types/obs.d.ts +16 -0
  213. package/lib/types/org/aggregate.d.ts +36 -0
  214. package/lib/types/org/churn.d.ts +10 -0
  215. package/lib/types/org/orgs.d.ts +258 -0
  216. package/lib/types/org/routes.d.ts +28 -0
  217. package/lib/types/org-types.d.ts +156 -0
  218. package/lib/types/per-service.d.ts +39 -0
  219. package/lib/types/setup/blueprint-loader.d.ts +81 -0
  220. package/lib/types/setup/caller.d.ts +105 -0
  221. package/lib/types/setup/engine.d.ts +41 -0
  222. package/lib/types/setup/form-store.d.ts +13 -0
  223. package/lib/types/setup/nodes/n1-check.d.ts +14 -0
  224. package/lib/types/setup/nodes/n10-governance.d.ts +6 -0
  225. package/lib/types/setup/nodes/n11-infra.d.ts +6 -0
  226. package/lib/types/setup/nodes/n12-reconcile.d.ts +6 -0
  227. package/lib/types/setup/nodes/n2-region.d.ts +6 -0
  228. package/lib/types/setup/nodes/n3-blueprint.d.ts +6 -0
  229. package/lib/types/setup/nodes/n4-modules.d.ts +6 -0
  230. package/lib/types/setup/nodes/n5-details.d.ts +6 -0
  231. package/lib/types/setup/nodes/n6-plan.d.ts +6 -0
  232. package/lib/types/setup/nodes/n7-verify.d.ts +6 -0
  233. package/lib/types/setup/nodes/n8-approve.d.ts +6 -0
  234. package/lib/types/setup/nodes/n9-buildmode.d.ts +6 -0
  235. package/lib/types/setup/plan-state.d.ts +10 -0
  236. package/lib/types/setup/prompt-loader.d.ts +16 -0
  237. package/lib/types/setup/routes.d.ts +22 -0
  238. package/lib/types/setup/session-notify.d.ts +30 -0
  239. package/lib/types/setup/tools.d.ts +19 -0
  240. package/lib/types/setup/types.d.ts +157 -0
  241. package/lib/types/sse-bus.d.ts +23 -0
  242. package/lib/types/tools/config-facts.d.ts +16 -0
  243. package/lib/types/tools/cost-facts.d.ts +10 -0
  244. package/lib/types/tools/register.d.ts +18 -0
  245. package/lib/types/wb-conventions.d.ts +140 -0
  246. package/package.json +77 -4
@@ -0,0 +1,481 @@
1
+ {
2
+ "$schema": "blueprint-v1",
3
+ "id": "_base",
4
+ "label": "基座(不可选)",
5
+ "desc": "继承基座:共享字段 schema 与默认值的兜底来源。蓝图缺省文件从本目录继承。",
6
+ "suitableFor": [],
7
+ "hiddenModules": [],
8
+ "dependencies": [
9
+ {
10
+ "module": "er_mesh",
11
+ "requires": "vpc_network",
12
+ "action": "autoSelect"
13
+ },
14
+ {
15
+ "module": "cfw",
16
+ "requires": "vpc_network",
17
+ "action": "warn"
18
+ }
19
+ ],
20
+ "sections": [
21
+ {
22
+ "id": "ou_structure",
23
+ "label": "OU 结构",
24
+ "revealedBy": "always",
25
+ "fields": [
26
+ {
27
+ "path": "ou_structure.ouList",
28
+ "label": "OU 列表",
29
+ "type": "object-map",
30
+ "required": true,
31
+ "aliases": [
32
+ "ous",
33
+ "root.ous"
34
+ ],
35
+ "specMapping": "organization",
36
+ "editable": true
37
+ }
38
+ ]
39
+ },
40
+ {
41
+ "id": "accounts",
42
+ "label": "账号创建",
43
+ "revealedBy": "always",
44
+ "fields": [
45
+ {
46
+ "path": "accounts.buildDebugAccounts",
47
+ "label": "是否建调试账号",
48
+ "type": "boolean",
49
+ "required": true,
50
+ "decisionField": true,
51
+ "specMapping": "requirements.buildDebugAccounts"
52
+ },
53
+ {
54
+ "path": "accounts.accountNames",
55
+ "label": "账号清单",
56
+ "type": "object-map",
57
+ "required": true,
58
+ "editable": true,
59
+ "specMapping": "accounts"
60
+ }
61
+ ]
62
+ },
63
+ {
64
+ "id": "trusted_services",
65
+ "label": "可信服务 + 委托管理员",
66
+ "revealedBy": "always",
67
+ "fields": [
68
+ {
69
+ "path": "trusted_services.services",
70
+ "label": "可信服务清单",
71
+ "type": "array",
72
+ "required": true,
73
+ "editable": true,
74
+ "specMapping": "trustedServices",
75
+ "options": [
76
+ {
77
+ "value": "cts_trusted_service",
78
+ "label": "CTS 云审计服务",
79
+ "recommend": true
80
+ },
81
+ {
82
+ "value": "config_trusted_service",
83
+ "label": "Config 配置审计",
84
+ "recommend": true
85
+ },
86
+ {
87
+ "value": "ic_trusted_service",
88
+ "label": "Identity Center",
89
+ "recommend": true
90
+ },
91
+ {
92
+ "value": "organizations_trusted_service",
93
+ "label": "Organizations 组织服务"
94
+ },
95
+ {
96
+ "value": "tms_trusted_service",
97
+ "label": "TMS 标签"
98
+ },
99
+ {
100
+ "value": "rms_trusted_service",
101
+ "label": "RMS 资源治理"
102
+ },
103
+ {
104
+ "value": "obs_trusted_service",
105
+ "label": "OBS 对象存储"
106
+ },
107
+ {
108
+ "value": "lts_trusted_service",
109
+ "label": "LTS 日志服务"
110
+ },
111
+ {
112
+ "value": "ces_trusted_service",
113
+ "label": "CES 云监控"
114
+ },
115
+ {
116
+ "value": "rfs_trusted_service",
117
+ "label": "RFS 资源编排服务"
118
+ },
119
+ {
120
+ "value": "evs_trusted_service",
121
+ "label": "EVS 云硬盘"
122
+ },
123
+ {
124
+ "value": "sfs_trusted_service",
125
+ "label": "SFS 弹性文件服务"
126
+ },
127
+ {
128
+ "value": "elb_trusted_service",
129
+ "label": "ELB 弹性负载均衡"
130
+ },
131
+ {
132
+ "value": "nat_trusted_service",
133
+ "label": "NAT 网关"
134
+ },
135
+ {
136
+ "value": "vpn_trusted_service",
137
+ "label": "VPN 网关"
138
+ },
139
+ {
140
+ "value": "dns_trusted_service",
141
+ "label": "DNS 云解析"
142
+ },
143
+ {
144
+ "value": "dcs_trusted_service",
145
+ "label": "DCS 分布式缓存"
146
+ },
147
+ {
148
+ "value": "rds_trusted_service",
149
+ "label": "RDS 云数据库"
150
+ },
151
+ {
152
+ "value": "dms_trusted_service",
153
+ "label": "DMS 消息服务"
154
+ },
155
+ {
156
+ "value": "kafka_trusted_service",
157
+ "label": "Kafka 消息队列"
158
+ },
159
+ {
160
+ "value": "dds_trusted_service",
161
+ "label": "DDS 文档数据库"
162
+ },
163
+ {
164
+ "value": "gaussdb_trusted_service",
165
+ "label": "GaussDB 数据库"
166
+ },
167
+ {
168
+ "value": "dws_trusted_service",
169
+ "label": "DWS 数据仓库"
170
+ },
171
+ {
172
+ "value": "dli_trusted_service",
173
+ "label": "DLI 数据湖探索"
174
+ },
175
+ {
176
+ "value": "dis_trusted_service",
177
+ "label": "DIS 数据接入服务"
178
+ },
179
+ {
180
+ "value": "css_trusted_service",
181
+ "label": "CSS 搜索服务"
182
+ },
183
+ {
184
+ "value": "swr_trusted_service",
185
+ "label": "SWR 容器镜像服务"
186
+ },
187
+ {
188
+ "value": "cce_trusted_service",
189
+ "label": "CCE 云容器引擎"
190
+ },
191
+ {
192
+ "value": "cci_trusted_service",
193
+ "label": "CCI 云容器实例"
194
+ }
195
+ ]
196
+ },
197
+ {
198
+ "path": "trusted_services.delegatedAdmins",
199
+ "label": "委托管理员",
200
+ "type": "array",
201
+ "required": false,
202
+ "editable": true,
203
+ "specMapping": "trustedServices.delegatedAdmins"
204
+ }
205
+ ]
206
+ },
207
+ {
208
+ "id": "identity_center",
209
+ "label": "Identity Center",
210
+ "revealedBy": "modules.enhanced contains identity_center",
211
+ "fields": [
212
+ {
213
+ "path": "identity_center.identitySource",
214
+ "label": "身份源",
215
+ "type": "enum",
216
+ "required": true,
217
+ "decisionField": true,
218
+ "options": [
219
+ {
220
+ "value": "local",
221
+ "label": "本账号认证"
222
+ },
223
+ {
224
+ "value": "external",
225
+ "label": "外部身份源"
226
+ }
227
+ ],
228
+ "specMapping": [
229
+ "identitySource",
230
+ "requirements.identitySource"
231
+ ]
232
+ },
233
+ {
234
+ "path": "identity_center.alias",
235
+ "label": "实例别名",
236
+ "type": "string",
237
+ "required": false,
238
+ "specMapping": "identityCenter.alias"
239
+ },
240
+ {
241
+ "path": "identity_center.users",
242
+ "label": "IC 用户",
243
+ "type": "array",
244
+ "required": false,
245
+ "editable": true,
246
+ "specMapping": "identityCenter.users"
247
+ },
248
+ {
249
+ "path": "identity_center.groups",
250
+ "label": "IC 用户组",
251
+ "type": "array",
252
+ "required": false,
253
+ "editable": true,
254
+ "specMapping": "identityCenter.groups"
255
+ },
256
+ {
257
+ "path": "identity_center.permissionSets",
258
+ "label": "权限集",
259
+ "type": "array",
260
+ "required": false,
261
+ "editable": true,
262
+ "specMapping": "identityCenter.permissionSets"
263
+ }
264
+ ]
265
+ },
266
+ {
267
+ "id": "audit_logging",
268
+ "label": "审计日志投递(CTS+Config+OBS)",
269
+ "revealedBy": "modules.enhanced contains audit_logging",
270
+ "fields": [
271
+ {
272
+ "path": "audit_logging.configBucketName",
273
+ "label": "Config 桶名",
274
+ "type": "string",
275
+ "required": true,
276
+ "aliases": [
277
+ "obsBucket.name"
278
+ ],
279
+ "specMapping": "compliance.configBucketName"
280
+ },
281
+ {
282
+ "path": "audit_logging.ctsTrailName",
283
+ "label": "CTS 追踪器名",
284
+ "type": "string",
285
+ "required": true,
286
+ "aliases": [
287
+ "ctsTracker.trailName"
288
+ ],
289
+ "specMapping": "compliance.ctsTrailName"
290
+ },
291
+ {
292
+ "path": "audit_logging.ctsBucketName",
293
+ "label": "CTS 桶名",
294
+ "type": "string",
295
+ "required": true,
296
+ "aliases": [
297
+ "ctsTracker.ctsBucketName"
298
+ ],
299
+ "specMapping": "compliance.ctsBucketName"
300
+ }
301
+ ]
302
+ },
303
+ {
304
+ "id": "scp",
305
+ "label": "SCP 策略防护",
306
+ "revealedBy": "modules.enhanced contains scp",
307
+ "fields": [
308
+ {
309
+ "path": "scp.policies",
310
+ "label": "策略清单",
311
+ "type": "policy-refs",
312
+ "required": true,
313
+ "refSource": "scp-policies.json",
314
+ "specMapping": "scpPolicies",
315
+ "note": "推荐条目只回传 code/attach;自定义才传 content"
316
+ }
317
+ ]
318
+ },
319
+ {
320
+ "id": "vpc_network",
321
+ "label": "VPC 网络规划",
322
+ "revealedBy": "modules.extended contains vpc_network",
323
+ "fields": [
324
+ {
325
+ "path": "vpc_network.networkTopology",
326
+ "label": "组网方式",
327
+ "type": "enum",
328
+ "required": true,
329
+ "decisionField": true,
330
+ "options": [
331
+ {
332
+ "value": "multi-vpc",
333
+ "label": "多 VPC(推荐)",
334
+ "recommend": true
335
+ },
336
+ {
337
+ "value": "single-vpc",
338
+ "label": "单 VPC"
339
+ },
340
+ {
341
+ "value": "er-mesh",
342
+ "label": "ER 组网"
343
+ }
344
+ ],
345
+ "specMapping": "requirements.networkTopology"
346
+ },
347
+ {
348
+ "path": "vpc_network.vpcs",
349
+ "label": "VPC 网段清单",
350
+ "type": "array",
351
+ "required": true,
352
+ "aliases": [
353
+ "vpcs",
354
+ "vpcCidrs"
355
+ ],
356
+ "editable": true,
357
+ "specMapping": "network.vpcs"
358
+ },
359
+ {
360
+ "path": "vpc_network.subnets",
361
+ "label": "子网划分",
362
+ "type": "array",
363
+ "required": false,
364
+ "aliases": [
365
+ "vpcs[*].subnets"
366
+ ],
367
+ "editable": true,
368
+ "specMapping": "network"
369
+ }
370
+ ]
371
+ },
372
+ {
373
+ "id": "er_mesh",
374
+ "label": "ER 企业路由器组网",
375
+ "revealedBy": "modules.extended contains er_mesh",
376
+ "fields": [
377
+ {
378
+ "path": "er_mesh.erName",
379
+ "label": "ER 名称",
380
+ "type": "string",
381
+ "required": true,
382
+ "specMapping": "network.erName"
383
+ },
384
+ {
385
+ "path": "er_mesh.erAsn",
386
+ "label": "ASN 编号",
387
+ "type": "number",
388
+ "required": true,
389
+ "specMapping": "network.erAsn"
390
+ }
391
+ ]
392
+ },
393
+ {
394
+ "id": "cfw",
395
+ "label": "CFW 云防火墙",
396
+ "revealedBy": "modules.extended contains cfw",
397
+ "fields": [
398
+ {
399
+ "path": "cfw.cfwEdition",
400
+ "label": "版本",
401
+ "type": "enum",
402
+ "required": true,
403
+ "aliases": [
404
+ "edition"
405
+ ],
406
+ "options": [
407
+ {
408
+ "value": "standard",
409
+ "label": "标准版(推荐)",
410
+ "recommend": true
411
+ },
412
+ {
413
+ "value": "professional",
414
+ "label": "专业版"
415
+ }
416
+ ],
417
+ "monthlyCost": true,
418
+ "specMapping": "security.cfw"
419
+ }
420
+ ]
421
+ },
422
+ {
423
+ "id": "waf",
424
+ "label": "WAF Web 应用防火墙",
425
+ "revealedBy": "modules.extended contains waf",
426
+ "fields": [
427
+ {
428
+ "path": "waf.wafEdition",
429
+ "label": "版本",
430
+ "type": "enum",
431
+ "required": true,
432
+ "aliases": [
433
+ "edition"
434
+ ],
435
+ "options": [
436
+ {
437
+ "value": "standard",
438
+ "label": "标准版(推荐)",
439
+ "recommend": true
440
+ },
441
+ {
442
+ "value": "premium",
443
+ "label": "专业版"
444
+ }
445
+ ],
446
+ "monthlyCost": true,
447
+ "specMapping": "security.waf"
448
+ }
449
+ ]
450
+ },
451
+ {
452
+ "id": "aad",
453
+ "label": "AAD 高级 DDoS 防护",
454
+ "revealedBy": "modules.extended contains aad",
455
+ "fields": [
456
+ {
457
+ "path": "aad.aadEdition",
458
+ "label": "版本",
459
+ "type": "enum",
460
+ "required": true,
461
+ "aliases": [
462
+ "edition"
463
+ ],
464
+ "options": [
465
+ {
466
+ "value": "basic",
467
+ "label": "基础版(推荐)",
468
+ "recommend": true
469
+ },
470
+ {
471
+ "value": "professional",
472
+ "label": "专业版"
473
+ }
474
+ ],
475
+ "monthlyCost": true,
476
+ "specMapping": "security.aad"
477
+ }
478
+ ]
479
+ }
480
+ ]
481
+ }
@@ -0,0 +1,127 @@
1
+ {
2
+ "$schema": "blueprint-defaults-v1",
3
+ "description": "_base 共享默认值:各蓝图 defaults.json 按字段路径覆盖合并(蓝图值 > _base 值)。值迁移自旧 recommended-rules.json(已去 *_test5 后缀)。",
4
+ "prefill": {
5
+ "modules": {
6
+ "enhanced": [],
7
+ "extended": []
8
+ }
9
+ },
10
+ "lockedFields": [],
11
+ "budgetCeiling": null,
12
+ "values": {
13
+ "ou_structure.ouList": {
14
+ "root": {
15
+ "code": "root",
16
+ "label": "组织根(Root)"
17
+ },
18
+ "ous": [
19
+ {
20
+ "code": "coreOu",
21
+ "name": "Core",
22
+ "dependsOn": [
23
+ "root"
24
+ ]
25
+ },
26
+ {
27
+ "code": "applicationsOu",
28
+ "name": "Applications",
29
+ "dependsOn": [
30
+ "root"
31
+ ]
32
+ }
33
+ ]
34
+ },
35
+ "accounts.buildDebugAccounts": true,
36
+ "accounts.accountNames": {
37
+ "sharedServicesAccount": {
38
+ "name": "es_SharedServices",
39
+ "ou": "coreOu",
40
+ "displayName": "共享服务账号"
41
+ },
42
+ "logArchiveAccount": {
43
+ "name": "es_LogArchive",
44
+ "ou": "coreOu",
45
+ "displayName": "日志归档账号"
46
+ },
47
+ "securityAccount": {
48
+ "name": "es_SecurityServices",
49
+ "ou": "coreOu",
50
+ "displayName": "安全服务账号"
51
+ },
52
+ "opsAccount": {
53
+ "name": "es_OpsService",
54
+ "ou": "applicationsOu",
55
+ "displayName": "运维账号"
56
+ },
57
+ "devAccount": {
58
+ "name": "es_Dev",
59
+ "ou": "applicationsOu",
60
+ "displayName": "开发调试账号"
61
+ },
62
+ "prodAccount": {
63
+ "name": "es_Prod",
64
+ "ou": "applicationsOu",
65
+ "displayName": "生产账号"
66
+ }
67
+ },
68
+ "identity_center.identitySource": "local",
69
+ "audit_logging.configBucketName": "lz-config-bucket",
70
+ "audit_logging.ctsTrailName": "system",
71
+ "audit_logging.ctsBucketName": "lz-cts-bucket",
72
+ "vpc_network.networkTopology": "multi-vpc",
73
+ "vpc_network.vpcs": [
74
+ {
75
+ "slot": "shared",
76
+ "cidr": "10.0.0.0/16"
77
+ },
78
+ {
79
+ "slot": "ops",
80
+ "cidr": "10.1.0.0/16"
81
+ },
82
+ {
83
+ "slot": "dev",
84
+ "cidr": "10.2.0.0/16"
85
+ },
86
+ {
87
+ "slot": "prod",
88
+ "cidr": "10.3.0.0/16"
89
+ }
90
+ ],
91
+ "er_mesh.erName": "lz-enterprise-router",
92
+ "er_mesh.erAsn": 64512,
93
+ "cfw.cfwEdition": "standard",
94
+ "waf.wafEdition": "standard",
95
+ "aad.aadEdition": "basic",
96
+ "trusted_services.services": [
97
+ {
98
+ "code": "cts_trusted_service",
99
+ "dependsOn": []
100
+ },
101
+ {
102
+ "code": "config_trusted_service",
103
+ "dependsOn": []
104
+ },
105
+ {
106
+ "code": "ic_trusted_service",
107
+ "dependsOn": []
108
+ }
109
+ ],
110
+ "trusted_services.delegatedAdmins": [
111
+ {
112
+ "code": "cts_delegated_admin",
113
+ "accountRef": "logArchiveAccount",
114
+ "dependsOn": [
115
+ "cts_trusted_service"
116
+ ]
117
+ },
118
+ {
119
+ "code": "config_delegated_admin",
120
+ "accountRef": "securityAccount",
121
+ "dependsOn": [
122
+ "config_trusted_service"
123
+ ]
124
+ }
125
+ ]
126
+ }
127
+ }
@@ -0,0 +1,43 @@
1
+ {
2
+ "$schema": "blueprint-v1",
3
+ "id": "foundation-lz",
4
+ "extends": "_base",
5
+ "label": "基础底座(推荐 ⭐)",
6
+ "desc": "组织/OU/账号/可信服务默认必选锁定 + SCP 策略防护、审计日志投递可选(推荐预勾选,可取消)——确认明细即建好治理地基",
7
+ "suitableFor": [
8
+ "治理地基",
9
+ "生产最小集",
10
+ "首次搭建"
11
+ ],
12
+ "hiddenModules": [
13
+ "identity_center",
14
+ "vpc_network",
15
+ "er_mesh",
16
+ "cfw",
17
+ "waf",
18
+ "aad"
19
+ ],
20
+ "dependencies": [],
21
+ "sections": [
22
+ {
23
+ "id": "ou_structure",
24
+ "revealedBy": "always"
25
+ },
26
+ {
27
+ "id": "accounts",
28
+ "revealedBy": "always"
29
+ },
30
+ {
31
+ "id": "trusted_services",
32
+ "revealedBy": "always"
33
+ },
34
+ {
35
+ "id": "audit_logging",
36
+ "revealedBy": "modules.enhanced contains audit_logging"
37
+ },
38
+ {
39
+ "id": "scp",
40
+ "revealedBy": "modules.enhanced contains scp"
41
+ }
42
+ ]
43
+ }
@@ -0,0 +1,47 @@
1
+ {
2
+ "$schema": "blueprint-defaults-v1",
3
+ "description": "基础底座蓝图默认值:SCP/审计推荐预勾选(可取消);预算锁定 0(无上限);精简账号清单(无调试账号)。",
4
+ "prefill": {
5
+ "modules": {
6
+ "enhanced": [
7
+ "scp",
8
+ "audit_logging"
9
+ ],
10
+ "extended": []
11
+ }
12
+ },
13
+ "lockedFields": [
14
+ "budgetCeiling"
15
+ ],
16
+ "budgetCeiling": 0,
17
+ "values": {
18
+ "accounts.buildDebugAccounts": false,
19
+ "accounts.accountNames": {
20
+ "sharedServicesAccount": {
21
+ "name": "es_SharedServices",
22
+ "ou": "coreOu",
23
+ "displayName": "共享服务账号"
24
+ },
25
+ "logArchiveAccount": {
26
+ "name": "es_LogArchive",
27
+ "ou": "coreOu",
28
+ "displayName": "日志归档账号"
29
+ },
30
+ "securityAccount": {
31
+ "name": "es_SecurityServices",
32
+ "ou": "coreOu",
33
+ "displayName": "安全服务账号"
34
+ }
35
+ },
36
+ "scp.policies": [
37
+ {
38
+ "code": "denyHighRiskPortsPolicy",
39
+ "attach": "root"
40
+ },
41
+ {
42
+ "code": "denyDeleteLogArchivePolicy",
43
+ "attach": "root"
44
+ }
45
+ ]
46
+ }
47
+ }