forked from Azure/review-checklists
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaks_checklist.zh-Hant.json
1495 lines (1495 loc) · 62.1 KB
/
aks_checklist.zh-Hant.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"categories": [
{
"name": "身份和訪問管理"
},
{
"name": "網路拓撲和連接"
},
{
"name": "BC 和DR"
},
{
"name": "治理與安全"
},
{
"name": "成本治理"
},
{
"name": "操作"
},
{
"name": "應用程式部署"
}
],
"items": [
{
"category": "應用程式部署",
"cost": 1,
"guid": "785c2fa5-5b56-4ad4-a408-fe72734c476b",
"id": "01.01.01",
"link": "https://learn.microsoft.com/azure/architecture/reference-architectures/containers/aks/secure-baseline-aks",
"severity": "中等",
"subcategory": "發展",
"text": "使用金絲雀或藍/綠部署",
"waf": "操作"
},
{
"category": "應用程式部署",
"cost": 1,
"guid": "ab5351f6-383a-45ed-9c5e-b143b16db40a",
"id": "01.01.02",
"link": "https://learn.microsoft.com/azure/aks/use-windows-hpc",
"service": "AKS",
"severity": "低",
"subcategory": "發展",
"text": "如果 AKS Windows 工作負載需要,可以使用 HostProcess 容器",
"waf": "可靠性"
},
{
"category": "應用程式部署",
"guid": "a280dcf5-90ce-465d-b8e1-3f9ccbd46926",
"id": "01.01.03",
"link": "https://learn.microsoft.com/azure/azure-functions/functions-kubernetes-keda",
"scale": 1,
"service": "AKS",
"severity": "低",
"simple": -1,
"subcategory": "發展",
"text": "如果運行事件驅動的工作負載,請使用KEDA",
"waf": "性能"
},
{
"category": "應用程式部署",
"guid": "26886d20-b66c-457b-a591-19bf8e8f5c58",
"id": "01.01.04",
"link": "https://dapr.io/",
"service": "AKS",
"severity": "低",
"simple": 1,
"subcategory": "發展",
"text": "使用 Dapr 簡化微服務開發",
"waf": "操作"
},
{
"category": "應用程式部署",
"guid": "3acbe04b-be20-49d3-afda-47778424d116",
"ha": 1,
"id": "01.02.01",
"link": "https://learn.microsoft.com/azure/developer/terraform/create-k8s-cluster-with-tf-and-aks",
"severity": "中等",
"simple": -1,
"subcategory": "基礎架構即代碼",
"text": "通過 ARM/TF 使用自動化來創建 Azure 資源",
"waf": "操作"
},
{
"category": "BC 和DR",
"guid": "36cb45e5-7960-4332-9bdf-8cc23318da61",
"ha": 1,
"id": "02.01.01",
"link": "https://learn.microsoft.com/azure/cloud-adoption-framework/ready/enterprise-scale/business-continuity-and-disaster-recovery",
"severity": "高",
"subcategory": "災難恢復",
"text": "定期安排和執行DR測試",
"waf": "可靠性"
},
{
"category": "BC 和DR",
"guid": "170265f4-bb46-4a39-9af7-f317284797b1",
"ha": 1,
"id": "02.02.01",
"link": "https://learn.microsoft.com/azure/aks/operator-best-practices-multi-region",
"severity": "中等",
"subcategory": "高可用性",
"text": "使用 Azure 流量管理員或 Azure Front Door 作為區域故障轉移的全域負載均衡器",
"waf": "可靠性"
},
{
"category": "BC 和DR",
"graph": "resources | where type=='microsoft.containerservice/managedclusters' | extend compliant= isnotnull(properties.agentPoolProfiles[0].availabilityZones) | distinct id,compliant",
"guid": "578a219a-46be-4b54-9350-24922634292b",
"ha": 1,
"id": "02.02.02",
"link": "https://learn.microsoft.com/azure/aks/availability-zones",
"severity": "中等",
"subcategory": "高可用性",
"text": "如果可用性區域在 Azure 區域中受支援,請使用可用性區域",
"waf": "可靠性"
},
{
"category": "BC 和DR",
"cost": -2,
"graph": "where type=='microsoft.containerservice/managedclusters' | extend compliant = (sku.tier=='Paid') | distinct id,compliant",
"guid": "71d41e36-10cc-457b-9a4b-1410d4395898",
"ha": 2,
"id": "02.02.03",
"link": "https://learn.microsoft.com/azure/aks/uptime-sla",
"service": "AKS",
"severity": "高",
"subcategory": "高可用性",
"text": "使用 SLA 支援的 AKS 產品/服務",
"waf": "可靠性"
},
{
"category": "BC 和DR",
"guid": "c1288b3c-6a57-4cfc-9444-51e1a3d3453a",
"ha": 1,
"id": "02.02.04",
"link": "https://learn.microsoft.com/azure/aks/operator-best-practices-scheduler",
"service": "AKS",
"severity": "低",
"simple": -1,
"subcategory": "高可用性",
"text": "在容器和部署定義中使用中斷預算",
"waf": "可靠性"
},
{
"category": "BC 和DR",
"cost": -1,
"guid": "3c763963-7a55-42d5-a15e-401955387e5c",
"ha": 1,
"id": "02.02.05",
"link": "https://learn.microsoft.com/azure/container-registry/container-registry-geo-replication",
"service": "ACR",
"severity": "高",
"subcategory": "高可用性",
"text": "如果使用專用註冊表,請配置區域複製以將映像存儲在多個區域中",
"waf": "可靠性"
},
{
"category": "BC 和DR",
"guid": "bc14aea6-e65d-48d9-a3ad-c218e6436b06",
"ha": 1,
"id": "02.03.01",
"link": "https://learn.microsoft.com/azure/cloud-adoption-framework/ready/enterprise-scale/business-continuity-and-disaster-recovery",
"severity": "高",
"subcategory": "要求",
"text": "定義非功能性要求,例如 SLA、RTO(恢復時間目標)和 RPO(恢復點目標)。",
"waf": "可靠性"
},
{
"category": "成本治理",
"cost": 1,
"guid": "f82cb8eb-8c0a-4a63-a25a-4956eaa8dc4a",
"id": "03.01.01",
"link": "https://learn.microsoft.com/azure/cloud-adoption-framework/scenarios/aks/eslz-cost-governance-with-kubecost",
"service": "AKS",
"severity": "低",
"subcategory": "成本",
"text": "使用外部應用(如 kubecost)將成本分配給不同的使用者",
"waf": "成本"
},
{
"category": "成本治理",
"cost": 1,
"guid": "4d3dfbab-9924-4831-a68d-fdf0d72f462c",
"id": "03.01.02",
"link": "https://learn.microsoft.com/azure/aks/scale-down-mode",
"service": "AKS",
"severity": "低",
"subcategory": "成本",
"text": "使用縮減模式刪除/取消分配節點",
"waf": "成本"
},
{
"category": "成本治理",
"cost": 1,
"guid": "87e651ea-bc4a-4a87-a6df-c06a4b570ebc",
"id": "03.01.03",
"link": "https://learn.microsoft.com/azure/aks/gpu-multi-instance",
"service": "AKS",
"severity": "中等",
"subcategory": "成本",
"text": "需要時,請在 AKS 群集上使用多實例分組 GPU",
"waf": "成本"
},
{
"category": "成本治理",
"cost": 1,
"guid": "2b72a08b-0410-4cd6-9093-e068a5cf27e8",
"id": "03.01.04",
"link": "https://learn.microsoft.com/azure/aks/start-stop-nodepools",
"service": "AKS",
"severity": "低",
"subcategory": "成本",
"text": "如果運行開發/測試群集,請使用 NodePool Start/Stop",
"waf": "成本"
},
{
"category": "治理與安全",
"graph": "where type=='microsoft.containerservice/managedclusters' | extend compliant = (isnotnull(properties.addonProfiles.azurepolicy) and properties.addonProfiles.azurepolicy.enabled==true) | distinct id,compliant",
"guid": "9ca48e4a-85e2-4223-bce8-bb12307ca5f1",
"id": "04.01.01",
"link": "https://learn.microsoft.com/azure/governance/policy/concepts/policy-for-kubernetes",
"security": 1,
"service": "AKS",
"severity": "中等",
"simple": -1,
"subcategory": "合規",
"text": "使用適用於 Kubernetes 的 Azure Policy 確保群集符合性",
"waf": "安全"
},
{
"category": "治理與安全",
"cost": -1,
"graph": "where type=='microsoft.containerservice/managedclusters' | project id,resourceGroup,name,pools=properties.agentPoolProfiles | project id,name,resourceGroup,poolcount=array_length(pools) | extend compliant = (poolcount > 1)",
"guid": "6f158e3e-a3a9-42c2-be7e-2165c3a87af4",
"id": "04.01.02",
"link": "https://learn.microsoft.com/azure/aks/use-system-pools",
"security": 1,
"service": "AKS",
"severity": "中等",
"simple": -1,
"subcategory": "合規",
"text": "使用使用者/系統節點池將應用程式與控制平面分開",
"waf": "安全"
},
{
"category": "治理與安全",
"guid": "a7a1f893-9bda-4477-98f2-4c116775c2ea",
"ha": 1,
"id": "04.01.03",
"link": "https://learn.microsoft.com/azure/aks/use-system-pools",
"service": "AKS",
"severity": "低",
"simple": -1,
"subcategory": "合規",
"text": "向系統節點池添加污點以使其專用",
"waf": "安全"
},
{
"category": "治理與安全",
"guid": "55b46a94-8008-4ae7-b7e4-b475b6c8bdbf",
"id": "04.01.04",
"link": "https://learn.microsoft.com/azure/container-registry/",
"security": 1,
"service": "AKS",
"severity": "中等",
"simple": -1,
"subcategory": "合規",
"text": "對映像使用專用註冊表,例如 ACR",
"waf": "安全"
},
{
"category": "治理與安全",
"cost": -1,
"guid": "59bce65d-e8a0-43f9-9879-468d66a786d6",
"id": "04.01.05",
"link": "https://learn.microsoft.com/azure/security-center/container-security",
"security": 1,
"service": "ACR",
"severity": "中等",
"subcategory": "合規",
"text": "掃描映像以查找漏洞",
"waf": "安全"
},
{
"category": "治理與安全",
"cost": -1,
"guid": "cc639637-a652-42ac-89e8-06965388e9de",
"id": "04.01.06",
"link": "https://learn.microsoft.com/azure/security-center/container-security",
"security": 1,
"severity": "中等",
"subcategory": "合規",
"text": "使用 Azure 安全中心檢測安全狀況漏洞",
"waf": "安全"
},
{
"category": "治理與安全",
"cost": -1,
"guid": "42d4aefe-2383-470e-b019-c30df24996b2",
"id": "04.01.07",
"link": "https://learn.microsoft.com/azure/aks/use-multiple-node-pools#add-a-fips-enabled-node-pool",
"security": 1,
"severity": "低",
"subcategory": "合規",
"text": "如果需要,請配置 FIPS",
"waf": "安全"
},
{
"category": "治理與安全",
"guid": "d167dd18-2b0a-4c24-8b99-9a646f8389a7",
"id": "04.01.08",
"link": "https://learn.microsoft.com/azure/aks/operator-best-practices-cluster-isolation",
"security": 1,
"service": "AKS",
"severity": "高",
"subcategory": "合規",
"text": "定義應用分離要求(命名空間/節點池/集群)",
"waf": "安全"
},
{
"category": "治理與安全",
"guid": "5e3df584-eccc-4d97-a3b6-bcda3b50eb2e",
"id": "04.02.01",
"link": "https://github.com/Azure/secrets-store-csi-driver-provider-azure",
"security": 1,
"service": "AKS",
"severity": "中等",
"simple": -1,
"subcategory": "秘密",
"text": "使用 CSI 機密存儲驅動程式將機密存儲在 Azure Key Vault 中",
"waf": "安全"
},
{
"category": "治理與安全",
"guid": "b03dda6d-58d7-4c89-8ddb-107d5769ae66",
"id": "04.02.02",
"link": "https://learn.microsoft.com/azure/aks/update-credentials",
"security": 1,
"service": "AKS",
"severity": "高",
"subcategory": "秘密",
"text": "如果將服務主體用於群集,請定期刷新憑據(如每季度)",
"waf": "安全"
},
{
"category": "治理與安全",
"cost": -1,
"guid": "e7ba73a3-0508-4f80-806f-527db30cee96",
"id": "04.02.03",
"link": "https://learn.microsoft.com/azure/aks/use-kms-etcd-encryption",
"security": 1,
"service": "AKS",
"severity": "中等",
"subcategory": "秘密",
"text": "如果需要,請添加金鑰管理服務 etcd 加密",
"waf": "安全"
},
{
"category": "治理與安全",
"cost": -1,
"guid": "ec8e4e42-0344-41b0-b865-9123e8956d31",
"id": "04.02.04",
"link": "https://learn.microsoft.com/azure/confidential-computing/confidential-nodes-aks-overview",
"security": 1,
"service": "AKS",
"severity": "低",
"subcategory": "秘密",
"text": "如果需要,請考慮使用適用於 AKS 的機密計算",
"waf": "安全"
},
{
"category": "治理與安全",
"cost": -1,
"guid": "c9e95ffe-6dd1-4a17-8c5f-110389ca9b21",
"id": "04.02.05",
"link": "https://learn.microsoft.com/azure/defender-for-cloud/defender-for-containers-enable",
"security": 1,
"service": "AKS",
"severity": "中等",
"subcategory": "秘密",
"text": "考慮使用 Defender for Containers",
"waf": "安全"
},
{
"category": "身份和訪問管理",
"graph": "where type=='microsoft.containerservice/managedclusters' | extend compliant = (properties.servicePrincipalProfile.clientId=='msi') | distinct id,compliant",
"guid": "ed127dd1-42b0-46b2-8c69-99a646f3389a",
"id": "05.01.01",
"link": "https://learn.microsoft.com/azure/aks/use-managed-identity",
"service": "AKS",
"severity": "高",
"simple": 1,
"subcategory": "身份",
"text": "使用託管標識而不是服務主體",
"waf": "安全"
},
{
"category": "身份和訪問管理",
"graph": "where type=='microsoft.containerservice/managedclusters' | extend compliant = isnotnull(properties.aadProfile) | distinct id,compliant",
"guid": "7e42c78e-78c0-46a6-8a21-94956e698dc4",
"id": "05.01.02",
"link": "https://learn.microsoft.com/azure/aks/managed-aad",
"service": "AKS",
"severity": "中等",
"simple": 1,
"subcategory": "身份",
"text": "將身份驗證與 AAD(使用託管集成)集成",
"waf": "安全"
},
{
"category": "身份和訪問管理",
"guid": "a2fe27b2-e287-401a-8352-beedf79b488d",
"id": "05.01.03",
"link": "https://learn.microsoft.com/azure/aks/control-kubeconfig-access",
"security": 1,
"service": "AKS",
"severity": "中等",
"simple": -1,
"subcategory": "身份",
"text": "限制對管理員 kubeconfig (get-credentials --admin) 的訪問",
"waf": "安全"
},
{
"category": "身份和訪問管理",
"guid": "eec4962c-c3bd-421b-b77f-26e5e6b3bec3",
"id": "05.01.04",
"link": "https://learn.microsoft.com/azure/aks/manage-azure-rbac",
"security": 1,
"service": "AKS",
"severity": "中等",
"simple": -1,
"subcategory": "身份",
"text": "將授權與 AAD RBAC 集成",
"waf": "安全"
},
{
"category": "身份和訪問管理",
"guid": "d4f3537c-1346-4dc5-9027-a71ffe1bd05d",
"ha": 1,
"id": "05.01.05",
"link": "https://learn.microsoft.com/azure/aks/operator-best-practices-identity",
"security": 1,
"service": "AKS",
"severity": "高",
"simple": -1,
"subcategory": "身份",
"text": "在 Kubernetes 中使用命名空間限制 RBAC 許可權",
"waf": "安全"
},
{
"category": "身份和訪問管理",
"guid": "d2e0d5d7-71d4-41e3-910c-c57b4a4b1410",
"id": "05.01.06",
"link": "https://learn.microsoft.com/azure/aks/workload-identity-migration-sidecar",
"security": 1,
"service": "AKS",
"severity": "中等",
"simple": -1,
"subcategory": "身份",
"text": "對於 Pod Identity Access Management,請使用 Azure AD 工作負載標識(預覽版)",
"waf": "安全"
},
{
"category": "身份和訪問管理",
"guid": "f4dcf690-1b30-407d-abab-6f8aa780d3a3",
"id": "05.01.07",
"link": "https://learn.microsoft.com/azure/aks/managed-aad#non-interactive-sign-in-with-kubelogin",
"security": 1,
"service": "AKS",
"severity": "中等",
"simple": -1,
"subcategory": "身份",
"text": "對於 AKS 非互動式登錄名,請使用 kubelogin(預覽版)",
"waf": "安全"
},
{
"category": "身份和訪問管理",
"graph": "where type=='microsoft.containerservice/managedclusters' | extend compliant = (properties.disableLocalAccounts==true) | distinct id,compliant",
"guid": "b085b1f2-3119-4771-8c9a-bbf4411810ec",
"id": "05.01.08",
"link": "https://learn.microsoft.com/azure/aks/managed-aad#disable-local-accounts",
"security": 1,
"service": "AKS",
"severity": "中等",
"simple": -1,
"subcategory": "身份",
"text": "禁用 AKS 本地帳戶",
"waf": "安全"
},
{
"category": "身份和訪問管理",
"guid": "36abb0db-c118-4f4c-9880-3f30f9a2deb6",
"id": "05.01.09",
"link": "https://learn.microsoft.com/azure/aks/managed-aad#configure-just-in-time-cluster-access-with-azure-ad-and-aks",
"security": 1,
"service": "AKS",
"severity": "低",
"simple": -1,
"subcategory": "身份",
"text": "如果需要,請配置 Just-in-time 群集訪問",
"waf": "安全"
},
{
"category": "身份和訪問管理",
"guid": "c4d7f4c6-79bf-45d0-aa05-ce8fc717e150",
"id": "05.01.10",
"link": "https://learn.microsoft.com/azure/aks/managed-aad#use-conditional-access-with-azure-ad-and-aks",
"security": 1,
"service": "AKS",
"severity": "低",
"simple": -1,
"subcategory": "身份",
"text": "如果需要,為 AKS 配置 AAD 條件訪問",
"waf": "安全"
},
{
"category": "身份和訪問管理",
"guid": "e1123a7c-a333-4eb4-a120-4ee3f293c9f3",
"id": "05.01.11",
"link": "https://learn.microsoft.com/azure/aks/use-group-managed-service-accounts",
"security": 1,
"service": "AKS",
"severity": "低",
"simple": -1,
"subcategory": "身份",
"text": "如果 Windows AKS 工作負載需要,請配置 gMSA",
"waf": "安全"
},
{
"category": "身份和訪問管理",
"guid": "1f711a74-3672-470b-b8b8-a2148d640d79",
"id": "05.01.12",
"link": "https://learn.microsoft.com/azure/aks/use-managed-identity#use-a-pre-created-kubelet-managed-identity",
"security": 1,
"service": "AKS",
"severity": "中等",
"simple": -1,
"subcategory": "身份",
"text": "為了獲得更精細的控制,請考慮使用託管的 Kubelet 身份",
"waf": "安全"
},
{
"category": "網路拓撲和連接",
"guid": "cbd8ac2a-aebc-4a2a-94da-1dbf3dc99248",
"id": "06.01.01",
"link": "https://azure.github.io/application-gateway-kubernetes-ingress/setup/install-existing/",
"security": 1,
"service": "AKS",
"severity": "中等",
"simple": -1,
"subcategory": "最佳做法",
"text": "如果使用 AGIC,請勿跨集群共用 AppGW",
"waf": "可靠性"
},
{
"category": "網路拓撲和連接",
"graph": "where type=='microsoft.containerservice/managedclusters' | extend compliant = (isnull(properties.addonProfiles.httpApplicationRouting) or properties.addonProfiles.httpApplicationRouting.enabled==false) | distinct id,compliant",
"guid": "8008ae7d-7e4b-4475-a6c8-bdbf59bce65d",
"id": "06.01.02",
"link": "https://learn.microsoft.com/azure/aks/http-application-routing",
"scale": 1,
"service": "AKS",
"severity": "高",
"simple": -1,
"subcategory": "最佳做法",
"text": "不要使用 AKS HTTP 路由載入項,而是將託管 NGINX 入口與應用程式路由載入項一起使用。",
"waf": "可靠性"
},
{
"category": "網路拓撲和連接",
"guid": "7bacd7b9-c025-4a9d-a5d2-25d6bc5439d9",
"id": "06.01.03",
"link": "https://learn.microsoft.com/azure/virtual-network/accelerated-networking-overview",
"scale": 1,
"service": "AKS",
"severity": "中等",
"simple": -1,
"subcategory": "最佳做法",
"text": "對於 Windows 工作負載,請使用加速網路",
"waf": "性能"
},
{
"category": "網路拓撲和連接",
"graph": "where type=='microsoft.containerservice/managedclusters' | extend compliant = (tolower(properties.networkProfile.loadBalancerSku)=='standard') | distinct id,compliant",
"guid": "ba7da7be-9952-4914-a384-5d997cb39132",
"id": "06.01.04",
"link": "https://learn.microsoft.com/azure/aks/load-balancer-standard",
"scale": 1,
"service": "AKS",
"severity": "高",
"subcategory": "最佳做法",
"text": "使用標準 ALB(而不是基本 ALB)",
"waf": "可靠性"
},
{
"category": "網路拓撲和連接",
"guid": "22fbe8d6-9b40-47ef-9011-25bb1a555a6b",
"id": "06.01.05",
"link": "https://learn.microsoft.com/azure/aks/use-multiple-node-pools#add-a-node-pool-with-a-unique-subnet",
"security": 1,
"service": "AKS",
"severity": "中等",
"simple": -2,
"subcategory": "最佳做法",
"text": "如果使用 Azure CNI,請考慮對 NodePool 使用不同的子網",
"waf": "安全"
},
{
"category": "網路拓撲和連接",
"guid": "c3c39c98-6bb2-4c12-859a-114b5e3df584",
"id": "06.02.01",
"link": "https://learn.microsoft.com/azure/private-link/private-link-overview",
"security": 1,
"service": "AKS",
"severity": "中等",
"simple": -1,
"subcategory": "成本",
"text": "使用專用終結點(首選)或虛擬網路服務終結點從群集訪問 PaaS 服務",
"waf": "安全"
},
{
"category": "網路拓撲和連接",
"cost": -1,
"guid": "e8a03f97-8794-468d-96a7-86d60f96c97b",
"ha": 1,
"id": "06.03.01",
"link": "https://learn.microsoft.com/azure/expressroute/designing-for-disaster-recovery-with-expressroute-privatepeering",
"severity": "中等",
"subcategory": "醫管 局",
"text": "如果需要混合連接,請使用 2xER 或 ER+VPN 以獲得更好的可用性",
"waf": "可靠性"
},
{
"category": "網路拓撲和連接",
"graph": "where type=='microsoft.containerservice/managedclusters' | extend compliant = (properties.networkProfile.networkPlugin=='azure') | distinct id,compliant",
"guid": "a0f61565-9de5-458f-a372-49c831112dbd",
"id": "06.04.01",
"link": "https://learn.microsoft.com/azure/aks/operator-best-practices-network",
"service": "AKS",
"severity": "高",
"simple": 1,
"subcategory": "IPAM的",
"text": "選擇最適合你要求的 CNI 網路外掛程式(建議使用 Azure CNI)",
"waf": "可靠性"
},
{
"category": "網路拓撲和連接",
"guid": "7faf12e7-0943-4f63-8472-2da29c2b1cd6",
"id": "06.04.02",
"link": "https://learn.microsoft.com/azure/aks/configure-azure-cni",
"scale": 1,
"service": "AKS",
"severity": "高",
"subcategory": "IPAM的",
"text": "如果使用 Azure CNI,請根據每個節點的最大 Pod 數相應地調整子網的大小",
"waf": "性能"
},
{
"category": "網路拓撲和連接",
"guid": "22f54b29-bade-43aa-b1e8-c38ec9366673",
"id": "06.04.03",
"link": "https://learn.microsoft.com/azure/aks/configure-azure-cni",
"scale": 1,
"service": "AKS",
"severity": "高",
"simple": -1,
"subcategory": "IPAM的",
"text": "如果使用 Azure CNI,請檢查每個節點的最大 Pod 數(預設為 30)",
"waf": "性能"
},
{
"category": "網路拓撲和連接",
"description": "對於內部應用,組織通常會在其防火牆中打開整個AKS子網。這也會打開對節點的網路訪問,並可能打開對 Pod 的訪問(如果使用 Azure CNI)。如果 LoadBalancer IP 位於不同的子網中,則只有此子網可供應用用戶端使用。另一個原因是,如果 AKS 子網中的 IP 位址是稀缺資源,則將其 IP 位址用於服務會降低群集的最大可伸縮性。",
"guid": "13c00567-4b1e-4945-a459-c373e7ed6162",
"id": "06.04.04",
"link": "https://learn.microsoft.com/azure/aks/internal-lb",
"security": 1,
"service": "AKS",
"severity": "低",
"simple": -1,
"subcategory": "IPAM的",
"text": "如果使用專用IP LoadBalancer服務,請使用專用子網(而不是 AKS 子網)",
"waf": "安全"
},
{
"category": "網路拓撲和連接",
"guid": "43f63047-22d9-429c-8b1c-d622f54b29ba",
"id": "06.04.05",
"link": "https://learn.microsoft.com/azure/aks/configure-azure-cni",
"scale": 1,
"service": "AKS",
"severity": "高",
"subcategory": "IPAM的",
"text": "相應調整服務 IP 位址範圍的大小(這將限制群集的可伸縮性)",
"waf": "可靠性"
},
{
"category": "網路拓撲和連接",
"guid": "57bf217f-6dc8-481c-81e2-785773e9c00f",
"id": "06.05.01",
"link": "https://learn.microsoft.com/azure/aks/use-byo-cni",
"security": 1,
"service": "AKS",
"severity": "低",
"simple": -2,
"subcategory": "操作",
"text": "如果需要,請添加您自己的 CNI 外掛程式",
"waf": "安全"
},
{
"category": "網路拓撲和連接",
"guid": "4b3bb365-9458-44d9-9ed1-5c8f52890364",
"id": "06.05.02",
"link": "https://learn.microsoft.com/azure/aks/use-multiple-node-pools#assign-a-public-ip-per-node-for-your-node-pools",
"security": 1,
"service": "AKS",
"severity": "低",
"simple": -2,
"subcategory": "操作",
"text": "如果需要,請在 AKS 中配置每個節點的公共 IP",
"waf": "性能"
},
{
"category": "網路拓撲和連接",
"guid": "b3808b9f-a1cf-4204-ad01-3a923ce474db",
"id": "06.06.01",
"link": "https://learn.microsoft.com/azure/aks/concepts-network",
"scale": 1,
"service": "AKS",
"severity": "中等",
"simple": -1,
"subcategory": "可擴展性",
"text": "使用入口控制器公開基於 Web 的應用,而不是使用 LoadBalancer 類型的服務公開它們",
"waf": "可靠性"
},
{
"category": "網路拓撲和連接",
"guid": "ccb534e7-416e-4a1d-8e93-533b53199085",
"id": "06.06.02",
"link": "https://learn.microsoft.com/azure/aks/nat-gateway",
"scale": 1,
"service": "AKS",
"severity": "低",
"simple": -1,
"subcategory": "可擴展性",
"text": "使用 Azure NAT 閘道作為 outboundType 來縮放出口流量",
"waf": "可靠性"
},
{
"category": "網路拓撲和連接",
"guid": "8ee9a69a-1b58-4b1e-9c61-476e110a160b",
"id": "06.06.03",
"link": "https://learn.microsoft.com/azure/aks/configure-azure-cni#dynamic-allocation-of-ips-and-enhanced-subnet-support",
"scale": 1,
"service": "AKS",
"severity": "中等",
"simple": -1,
"subcategory": "可擴展性",
"text": "使用IP的動態分配來避免 Azure CNI IP 耗盡",
"waf": "可靠性"
},
{
"category": "網路拓撲和連接",
"graph": "where type=='microsoft.containerservice/managedclusters' | extend compliant = (properties.networkProfile.outboundType=='userDefinedRouting') | distinct id,compliant",
"guid": "3b365a91-7ecb-4e48-bbe5-4cd7df2e8bba",
"id": "06.07.01",
"link": "https://learn.microsoft.com/azure/aks/limit-egress-traffic",
"security": 2,
"service": "AKS",
"severity": "高",
"simple": -2,
"subcategory": "安全",
"text": "如果安全要求要求,請使用 AzFW/NVA 篩選出口流量",
"waf": "安全"
},
{
"category": "網路拓撲和連接",
"graph": "where type=='microsoft.containerservice/managedclusters' | extend compliant = ((isnull(properties.apiServerAccessProfile.enablePrivateCluster) or properties.apiServerAccessProfile.enablePrivateCluster==false) and isnotnull(properties.apiServerAccessProfile.authorizedIPRanges)) | distinct id,compliant",
"guid": "c4581559-bb91-463e-a908-aed8c44ce3b2",
"id": "06.07.02",
"link": "https://learn.microsoft.com/azure/aks/api-server-authorized-ip-ranges",
"security": 1,
"service": "AKS",
"severity": "中等",
"simple": -1,
"subcategory": "安全",
"text": "如果使用公共 API 終端節點,請限制可以存取它的 IP 位址",
"waf": "安全"
},
{
"category": "網路拓撲和連接",
"graph": "where type=='microsoft.containerservice/managedclusters' | where isnotnull(properties.apiServerAccessProfile.enablePrivateCluster) | extend compliant = (properties.apiServerAccessProfile.enablePrivateCluster==true) | distinct id, compliant",
"guid": "ecccd979-3b6b-4cda-9b50-eb2eb03dda6d",
"id": "06.07.03",
"link": "https://learn.microsoft.com/azure/aks/private-clusters",
"security": 1,
"service": "AKS",
"severity": "高",
"simple": -1,
"subcategory": "安全",
"text": "如果要求要求,請使用私有集群",
"waf": "安全"
},
{
"category": "網路拓撲和連接",
"graph": "where type=='microsoft.containerservice/managedclusters' | where isnotnull(properties.apiServerAccessProfile.enablePrivateCluster) | extend compliant = (properties.apiServerAccessProfile.enablePrivateCluster==true) | distinct id, compliant",
"guid": "ce7f2a7c-297c-47c6-adea-a6ff838db665",
"id": "06.07.04",
"link": "https://learn.microsoft.com/azure/aks/use-network-policies",
"security": 1,
"service": "AKS",
"severity": "中等",
"simple": -1,
"subcategory": "安全",
"text": "對於 Windows 2019 和 2022 AKS 節點,可以使用 Calico 網路策略",
"waf": "安全"
},
{
"category": "網路拓撲和連接",
"graph": "where type=='microsoft.containerservice/managedclusters' | extend compliant = isnotnull(properties.networkProfile.networkPolicy) | distinct id,compliant",
"guid": "58d7c892-ddb1-407d-9769-ae669ca48e4a",
"id": "06.07.05",
"link": "https://learn.microsoft.com/azure/aks/use-network-policies",
"security": 1,
"service": "AKS",
"severity": "高",
"subcategory": "安全",
"text": "啟用 Kubernetes 網路策略選項 (Calico/Azure)",
"waf": "安全"
},
{
"category": "網路拓撲和連接",
"guid": "85e2223e-ce8b-4b12-907c-a5f16f158e3e",
"id": "06.07.06",
"link": "https://learn.microsoft.com/azure/aks/operator-best-practices-network",
"security": 1,
"service": "AKS",
"severity": "高",
"simple": -1,
"subcategory": "安全",
"text": "使用 Kubernetes 網路策略提高集群內安全性",
"waf": "安全"
},
{
"category": "網路拓撲和連接",
"cost": -1,
"guid": "a3a92c2d-e7e2-4165-a3a8-7af4a7a1f893",
"id": "06.07.07",
"link": "https://learn.microsoft.com/azure/aks/operator-best-practices-network",
"security": 2,
"service": "AKS",
"severity": "高",
"simple": -1,
"subcategory": "安全",
"text": "將 WAF 用於 Web 工作負載(UI 或 API)",
"waf": "安全"
},
{
"category": "網路拓撲和連接",
"cost": -2,
"graph": "Resources | where type=~'microsoft.containerservice/managedclusters' | project resourceGroup,name,pools=properties.agentPoolProfiles | mv-expand pools | project subnetId=tostring(pools.vnetSubnetID) | where isnotempty(subnetId) | join (Resources | where type=='microsoft.network/virtualnetworks' | project id,resourceGroup,name,enableDdosProtection=tostring(properties.enableDdosProtection),subnets=properties.subnets | mv-expand subnets | project id,resourceGroup,name,enableDdosProtection,subnetId=tostring(subnets.id)) on subnetId | distinct id,resourceGroup,name,enableDdosProtection | extend compliant = (enableDdosProtection == 'true')",
"guid": "9bda4776-8f24-4c11-9775-c2ea55b46a94",
"id": "06.07.08",
"link": "https://learn.microsoft.com/azure/virtual-network/ddos-protection-overview",
"security": 2,
"service": "AKS",
"severity": "中等",
"subcategory": "安全",
"text": "在 AKS 虛擬網路中使用 DDoS 標準",
"waf": "安全"
},
{
"category": "網路拓撲和連接",
"cost": -2,
"graph": "Resources | where type=~'microsoft.containerservice/managedclusters' | project resourceGroup,name,pools=properties.agentPoolProfiles | mv-expand pools | project subnetId=tostring(pools.vnetSubnetID) | where isnotempty(subnetId) | join (Resources | where type=='microsoft.network/virtualnetworks' | project id,resourceGroup,name,enableDdosProtection=tostring(properties.enableDdosProtection),subnets=properties.subnets | mv-expand subnets | project id,resourceGroup,name,enableDdosProtection,subnetId=tostring(subnets.id)) on subnetId | distinct id,resourceGroup,name,enableDdosProtection | extend compliant = (enableDdosProtection == 'true')",
"guid": "6c46b91a-1107-4485-ad66-3183e2a8c266",
"id": "06.07.09",
"link": "https://learn.microsoft.com/azure/aks/http-proxy",
"security": 2,
"service": "AKS",
"severity": "低",
"subcategory": "安全",
"text": "如果需要,請添加公司 HTTP 代理",
"waf": "安全"
},
{
"category": "網路拓撲和連接",
"guid": "e9855d04-c3c3-49c9-a6bb-2c12159a114b",
"id": "06.07.10",
"link": "https://learn.microsoft.com/azure/aks/servicemesh-about",
"security": 1,
"service": "AKS",
"severity": "中等",
"simple": -2,
"subcategory": "安全",
"text": "考慮使用服務網格進行高級微服務通信管理",
"waf": "安全"
},
{
"category": "操作",
"guid": "67f7a9ed-5b31-4f38-a3f3-9812b2463cff",
"ha": 1,
"id": "07.01.01",
"link": "https://learn.microsoft.com/azure/azure-monitor/insights/container-insights-metric-alerts",
"service": "AKS",
"severity": "高",
"simple": -1,
"subcategory": "提醒",
"text": "設定有關最關鍵指標的警報(請參閱容器見解以獲取建議)",
"waf": "操作"
},
{
"category": "操作",
"guid": "337453a3-cc63-4963-9a65-22ac19e80696",
"ha": 1,
"id": "07.02.01",
"link": "https://learn.microsoft.com/azure/advisor/advisor-get-started",
"service": "AKS",
"severity": "低",
"simple": -1,
"subcategory": "合規",
"text": "定期查看 Azure 顧問,瞭解有關群集的建議",
"waf": "操作"
},
{
"category": "操作",
"guid": "3aa70560-e7e7-4968-be3d-628af35b2ced",
"id": "07.02.03",
"link": "https://learn.microsoft.com/azure/aks/certificate-rotation",
"service": "AKS",
"severity": "低",
"simple": 1,
"subcategory": "合規",
"text": "啟用 AKS 自動證書輪換",
"waf": "操作"
},
{
"category": "操作",
"guid": "e189c599-df0d-45a7-9dd4-ce32c1881370",
"id": "07.02.04",
"link": "https://learn.microsoft.com/azure/aks/supported-kubernetes-versions",
"security": 1,
"service": "AKS",
"severity": "高",
"simple": -1,
"subcategory": "合規",
"text": "定期(例如,每季度)升級 kubernetes 版本,或使用 AKS 自動升級功能",
"waf": "操作"
},
{
"category": "操作",
"guid": "6f7c4c0d-4e51-4464-ad24-57ed67138b82",
"id": "07.02.05",
"link": "https://learn.microsoft.com/azure/aks/node-updates-kured",
"service": "AKS",
"severity": "高",
"simple": -1,
"subcategory": "合規",
"text": "如果您不使用 node-image 升級,請使用 kured 進行 Linux 節點升級",
"waf": "操作"
},
{
"category": "操作",
"guid": "139c9580-ade3-426a-ba09-cf157d9f6477",
"id": "07.02.06",
"link": "https://learn.microsoft.com/azure/aks/node-image-upgrade",
"security": 1,
"service": "AKS",
"severity": "高",
"simple": -1,
"subcategory": "合規",
"text": "定期(例如,每周)升級群集節點映像的常規過程",
"waf": "操作"
},
{
"category": "操作",
"guid": "0102ce16-ee30-41e6-b882-e52e4621dd68",
"id": "07.02.07",
"link": "https://learn.microsoft.com/azure/architecture/example-scenario/bedrock/bedrock-automated-deployments",
"service": "AKS",
"severity": "低",
"subcategory": "合規",
"text": "考慮使用 gitops 將應用程式或集群配置部署到多個集群",
"waf": "操作"
},
{
"category": "操作",
"guid": "d7672c26-7602-4482-85a4-14527fbe855c",
"id": "07.02.08",
"link": "https://learn.microsoft.com/azure/aks/command-invoke",
"service": "AKS",
"severity": "低",
"subcategory": "合規",
"text": "請考慮在專用群集上使用 AKS 命令調用",
"waf": "操作"
},
{