-
Notifications
You must be signed in to change notification settings - Fork 330
/
Copy pathaks_checklist.pt.json
1495 lines (1495 loc) · 66.2 KB
/
aks_checklist.pt.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": "Gerenciamento de identidades e acesso"
},
{
"name": "Topologia de rede e conectividade"
},
{
"name": "BC e DR"
},
{
"name": "Governança e Segurança"
},
{
"name": "Governança de Custos"
},
{
"name": "Operações"
},
{
"name": "Implantação de aplicativos"
}
],
"items": [
{
"category": "Implantação de aplicativos",
"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": "Média",
"subcategory": "Desenvolvimento",
"text": "Usar implantações canárias ou azuis/verdes",
"waf": "Operações"
},
{
"category": "Implantação de aplicativos",
"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": "Baixo",
"subcategory": "Desenvolvimento",
"text": "Se necessário para cargas de trabalho do AKS Windows, os contêineres HostProcess podem ser usados",
"waf": "Fiabilidade"
},
{
"category": "Implantação de aplicativos",
"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": "Baixo",
"simple": -1,
"subcategory": "Desenvolvimento",
"text": "Usar o KEDA se estiver executando cargas de trabalho orientadas a eventos",
"waf": "Desempenho"
},
{
"category": "Implantação de aplicativos",
"guid": "26886d20-b66c-457b-a591-19bf8e8f5c58",
"id": "01.01.04",
"link": "https://dapr.io/",
"service": "AKS",
"severity": "Baixo",
"simple": 1,
"subcategory": "Desenvolvimento",
"text": "Use o Dapr para facilitar o desenvolvimento de microsserviços",
"waf": "Operações"
},
{
"category": "Implantação de aplicativos",
"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": "Média",
"simple": -1,
"subcategory": "Infraestrutura como Código",
"text": "Usar a automação por meio do ARM/TF para criar seus recursos do Azure",
"waf": "Operações"
},
{
"category": "BC e 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": "Alto",
"subcategory": "Recuperação de desastres",
"text": "Agende e realize testes de DR regularmente",
"waf": "Fiabilidade"
},
{
"category": "BC e 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": "Média",
"subcategory": "Alta Disponibilidade",
"text": "Usar o Gerenciador de Tráfego do Azure ou o Azure Front Door como um balanceador de carga global para failover de região",
"waf": "Fiabilidade"
},
{
"category": "BC e 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": "Média",
"subcategory": "Alta Disponibilidade",
"text": "Usar zonas de disponibilidade se elas tiverem suporte em sua região do Azure",
"waf": "Fiabilidade"
},
{
"category": "BC e 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": "Alto",
"subcategory": "Alta Disponibilidade",
"text": "Use a oferta AKS apoiada por SLA",
"waf": "Fiabilidade"
},
{
"category": "BC e 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": "Baixo",
"simple": -1,
"subcategory": "Alta Disponibilidade",
"text": "Usar orçamentos de interrupção em seu pod e definições de implantação",
"waf": "Fiabilidade"
},
{
"category": "BC e 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": "Alto",
"subcategory": "Alta Disponibilidade",
"text": "Se estiver usando um registro privado, configure a replicação de região para armazenar imagens em várias regiões",
"waf": "Fiabilidade"
},
{
"category": "BC e 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": "Alto",
"subcategory": "Requisitos",
"text": "Defina requisitos não funcionais, como SLAs, RTO (Recovery Time Objective, objetivo de tempo de recuperação) e RPO (Recovery Point Objective, objetivo de ponto de recuperação).",
"waf": "Fiabilidade"
},
{
"category": "Governança de Custos",
"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": "Baixo",
"subcategory": "Custar",
"text": "Use um aplicativo externo, como kubecost, para alocar custos para diferentes usuários",
"waf": "Custar"
},
{
"category": "Governança de Custos",
"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": "Baixo",
"subcategory": "Custar",
"text": "Usar o modo de redução para excluir/desalocar nós",
"waf": "Custar"
},
{
"category": "Governança de Custos",
"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": "Média",
"subcategory": "Custar",
"text": "Quando necessário, use a GPU de partioning de várias instâncias em clusters AKS",
"waf": "Custar"
},
{
"category": "Governança de Custos",
"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": "Baixo",
"subcategory": "Custar",
"text": "Se estiver executando um cluster de desenvolvimento/teste, use NodePool Start/Stop",
"waf": "Custar"
},
{
"category": "Governança e Segurança",
"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": "Média",
"simple": -1,
"subcategory": "Conformidade",
"text": "Usar a Política do Azure para Kubernetes para garantir a conformidade do cluster",
"waf": "Segurança"
},
{
"category": "Governança e Segurança",
"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": "Média",
"simple": -1,
"subcategory": "Conformidade",
"text": "Separe os aplicativos do plano de controle com pools de nós de usuário/sistema",
"waf": "Segurança"
},
{
"category": "Governança e Segurança",
"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": "Baixo",
"simple": -1,
"subcategory": "Conformidade",
"text": "Adicione mancha ao seu nodepool do sistema para torná-lo dedicado",
"waf": "Segurança"
},
{
"category": "Governança e Segurança",
"guid": "55b46a94-8008-4ae7-b7e4-b475b6c8bdbf",
"id": "04.01.04",
"link": "https://learn.microsoft.com/azure/container-registry/",
"security": 1,
"service": "AKS",
"severity": "Média",
"simple": -1,
"subcategory": "Conformidade",
"text": "Usar um registro privado para suas imagens, como o ACR",
"waf": "Segurança"
},
{
"category": "Governança e Segurança",
"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": "Média",
"subcategory": "Conformidade",
"text": "Analise suas imagens em busca de vulnerabilidades",
"waf": "Segurança"
},
{
"category": "Governança e Segurança",
"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": "Média",
"subcategory": "Conformidade",
"text": "Usar a Central de Segurança do Azure para detectar vulnerabilidades de postura de segurança",
"waf": "Segurança"
},
{
"category": "Governança e Segurança",
"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": "Baixo",
"subcategory": "Conformidade",
"text": "Se necessário, configure o FIPS",
"waf": "Segurança"
},
{
"category": "Governança e Segurança",
"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": "Alto",
"subcategory": "Conformidade",
"text": "Definir requisitos de separação de aplicativos (namespace/nodepool/cluster)",
"waf": "Segurança"
},
{
"category": "Governança e Segurança",
"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": "Média",
"simple": -1,
"subcategory": "Segredos",
"text": "Armazene seus segredos no Cofre de Chaves do Azure com o driver do CSI Secrets Store",
"waf": "Segurança"
},
{
"category": "Governança e Segurança",
"guid": "b03dda6d-58d7-4c89-8ddb-107d5769ae66",
"id": "04.02.02",
"link": "https://learn.microsoft.com/azure/aks/update-credentials",
"security": 1,
"service": "AKS",
"severity": "Alto",
"subcategory": "Segredos",
"text": "Se estiver usando entidades de serviço para o cluster, atualize as credenciais periodicamente (como trimestralmente)",
"waf": "Segurança"
},
{
"category": "Governança e Segurança",
"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": "Média",
"subcategory": "Segredos",
"text": "Se necessário, adicione criptografia etcd do Serviço de Gerenciamento de Chaves",
"waf": "Segurança"
},
{
"category": "Governança e Segurança",
"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": "Baixo",
"subcategory": "Segredos",
"text": "Se necessário, considere o uso de computação confidencial para AKS",
"waf": "Segurança"
},
{
"category": "Governança e Segurança",
"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": "Média",
"subcategory": "Segredos",
"text": "Considere o uso do Defender for Containers",
"waf": "Segurança"
},
{
"category": "Gerenciamento de identidades e acesso",
"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": "Alto",
"simple": 1,
"subcategory": "Identidade",
"text": "Usar identidades gerenciadas em vez de entidades de serviço",
"waf": "Segurança"
},
{
"category": "Gerenciamento de identidades e acesso",
"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": "Média",
"simple": 1,
"subcategory": "Identidade",
"text": "Integrar autenticação com AAD (usando a integração gerenciada)",
"waf": "Segurança"
},
{
"category": "Gerenciamento de identidades e acesso",
"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": "Média",
"simple": -1,
"subcategory": "Identidade",
"text": "Limitar o acesso ao admin kubeconfig (get-credentials --admin)",
"waf": "Segurança"
},
{
"category": "Gerenciamento de identidades e acesso",
"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": "Média",
"simple": -1,
"subcategory": "Identidade",
"text": "Integrar autorização com AAD RBAC",
"waf": "Segurança"
},
{
"category": "Gerenciamento de identidades e acesso",
"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": "Alto",
"simple": -1,
"subcategory": "Identidade",
"text": "Usar namespaces para restringir o privilégio RBAC no Kubernetes",
"waf": "Segurança"
},
{
"category": "Gerenciamento de identidades e acesso",
"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": "Média",
"simple": -1,
"subcategory": "Identidade",
"text": "Para o Gerenciamento de Acesso à Identidade de Pod, use a Identidade de Carga de Trabalho do Azure AD (visualização)",
"waf": "Segurança"
},
{
"category": "Gerenciamento de identidades e acesso",
"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": "Média",
"simple": -1,
"subcategory": "Identidade",
"text": "Para logins não interativos do AKS, use kubelogin (visualização)",
"waf": "Segurança"
},
{
"category": "Gerenciamento de identidades e acesso",
"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": "Média",
"simple": -1,
"subcategory": "Identidade",
"text": "Desativar contas locais do AKS",
"waf": "Segurança"
},
{
"category": "Gerenciamento de identidades e acesso",
"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": "Baixo",
"simple": -1,
"subcategory": "Identidade",
"text": "Configurar, se necessário, o acesso ao cluster just-in-time",
"waf": "Segurança"
},
{
"category": "Gerenciamento de identidades e acesso",
"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": "Baixo",
"simple": -1,
"subcategory": "Identidade",
"text": "Configurar, se necessário, o acesso condicional do AAD para AKS",
"waf": "Segurança"
},
{
"category": "Gerenciamento de identidades e acesso",
"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": "Baixo",
"simple": -1,
"subcategory": "Identidade",
"text": "Se necessário para cargas de trabalho do Windows AKS, configure o gMSA ",
"waf": "Segurança"
},
{
"category": "Gerenciamento de identidades e acesso",
"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": "Média",
"simple": -1,
"subcategory": "Identidade",
"text": "Para um controle mais fino, considere usar uma Identidade Kubelet gerenciada",
"waf": "Segurança"
},
{
"category": "Topologia de rede e conectividade",
"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": "Média",
"simple": -1,
"subcategory": "Práticas recomendadas",
"text": "Se estiver usando AGIC, não compartilhe um AppGW entre clusters",
"waf": "Fiabilidade"
},
{
"category": "Topologia de rede e conectividade",
"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": "Alto",
"simple": -1,
"subcategory": "Práticas recomendadas",
"text": "Não use AKS HTTP Routing Add-On, use em vez disso a entrada NGINX gerenciada com o complemento de roteamento de aplicativo.",
"waf": "Fiabilidade"
},
{
"category": "Topologia de rede e conectividade",
"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": "Média",
"simple": -1,
"subcategory": "Práticas recomendadas",
"text": "Para cargas de trabalho do Windows, use a Rede Acelerada",
"waf": "Desempenho"
},
{
"category": "Topologia de rede e conectividade",
"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": "Alto",
"subcategory": "Práticas recomendadas",
"text": "Use o ALB padrão (em oposição ao básico)",
"waf": "Fiabilidade"
},
{
"category": "Topologia de rede e conectividade",
"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": "Média",
"simple": -2,
"subcategory": "Práticas recomendadas",
"text": "Se estiver usando o CNI do Azure, considere usar sub-redes diferentes para NodePools",
"waf": "Segurança"
},
{
"category": "Topologia de rede e conectividade",
"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": "Média",
"simple": -1,
"subcategory": "Custar",
"text": "Usar Pontos de Extremidade Privados (preferencial) ou Pontos de Extremidade de Serviço de Rede Virtual para acessar serviços de PaaS do cluster",
"waf": "Segurança"
},
{
"category": "Topologia de rede e conectividade",
"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": "Média",
"subcategory": "HA",
"text": "Se a conectividade híbrida for necessária, use 2xER ou ER+VPN para melhor disponibilidade",
"waf": "Fiabilidade"
},
{
"category": "Topologia de rede e conectividade",
"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": "Alto",
"simple": 1,
"subcategory": "IPAM",
"text": "Escolha o melhor plug-in de rede CNI para seus requisitos (Azure CNI recomendado)",
"waf": "Fiabilidade"
},
{
"category": "Topologia de rede e conectividade",
"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": "Alto",
"subcategory": "IPAM",
"text": "Se estiver usando o Azure CNI, dimensione sua sub-rede de acordo considerando o número máximo de pods por nó",
"waf": "Desempenho"
},
{
"category": "Topologia de rede e conectividade",
"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": "Alto",
"simple": -1,
"subcategory": "IPAM",
"text": "Se estiver usando o Azure CNI, verifique o máximo de pods/nó (padrão 30)",
"waf": "Desempenho"
},
{
"category": "Topologia de rede e conectividade",
"description": "Para aplicativos internos, as organizações geralmente abrem toda a sub-rede AKS em seus firewalls. Isso abre o acesso de rede para os nós também e, potencialmente, para os pods também (se estiver usando o Azure CNI). Se os IPs do LoadBalancer estiverem em uma sub-rede diferente, somente este precisará estar disponível para os clientes do aplicativo. Outra razão é que, se os endereços IP na sub-rede AKS são um recurso escasso, consumir seus endereços IP para serviços reduzirá a escalabilidade máxima do cluster.",
"guid": "13c00567-4b1e-4945-a459-c373e7ed6162",
"id": "06.04.04",
"link": "https://learn.microsoft.com/azure/aks/internal-lb",
"security": 1,
"service": "AKS",
"severity": "Baixo",
"simple": -1,
"subcategory": "IPAM",
"text": "Se estiver usando serviços LoadBalancer de IP privado, use uma sub-rede dedicada (não a sub-rede AKS)",
"waf": "Segurança"
},
{
"category": "Topologia de rede e conectividade",
"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": "Alto",
"subcategory": "IPAM",
"text": "Dimensione o intervalo de endereços IP do serviço de acordo (isso limitará a escalabilidade do cluster)",
"waf": "Fiabilidade"
},
{
"category": "Topologia de rede e conectividade",
"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": "Baixo",
"simple": -2,
"subcategory": "Operações",
"text": "Se necessário, adicione seu próprio plugin CNI",
"waf": "Segurança"
},
{
"category": "Topologia de rede e conectividade",
"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": "Baixo",
"simple": -2,
"subcategory": "Operações",
"text": "Se necessário, configure o IP público por nó no AKS",
"waf": "Desempenho"
},
{
"category": "Topologia de rede e conectividade",
"guid": "b3808b9f-a1cf-4204-ad01-3a923ce474db",
"id": "06.06.01",
"link": "https://learn.microsoft.com/azure/aks/concepts-network",
"scale": 1,
"service": "AKS",
"severity": "Média",
"simple": -1,
"subcategory": "Escalabilidade",
"text": "Usar um controlador de entrada para expor aplicativos baseados na Web em vez de expô-los com serviços do tipo LoadBalancer",
"waf": "Fiabilidade"
},
{
"category": "Topologia de rede e conectividade",
"guid": "ccb534e7-416e-4a1d-8e93-533b53199085",
"id": "06.06.02",
"link": "https://learn.microsoft.com/azure/aks/nat-gateway",
"scale": 1,
"service": "AKS",
"severity": "Baixo",
"simple": -1,
"subcategory": "Escalabilidade",
"text": "Usar o Gateway NAT do Azure como outboundType para dimensionar o tráfego de saída",
"waf": "Fiabilidade"
},
{
"category": "Topologia de rede e conectividade",
"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": "Média",
"simple": -1,
"subcategory": "Escalabilidade",
"text": "Usar alocações dinâmicas de IPs para evitar o esgotamento de IP do CNI do Azure",
"waf": "Fiabilidade"
},
{
"category": "Topologia de rede e conectividade",
"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": "Alto",
"simple": -2,
"subcategory": "Segurança",
"text": "Filtre o tráfego de saída com AzFW/NVA se seus requisitos de segurança exigirem",
"waf": "Segurança"
},
{
"category": "Topologia de rede e conectividade",
"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": "Média",
"simple": -1,
"subcategory": "Segurança",
"text": "Se estiver usando um ponto de extremidade de API público, restrinja os endereços IP que podem acessá-lo",
"waf": "Segurança"
},
{
"category": "Topologia de rede e conectividade",
"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": "Alto",
"simple": -1,
"subcategory": "Segurança",
"text": "Use clusters privados se seus requisitos exigirem",
"waf": "Segurança"
},
{
"category": "Topologia de rede e conectividade",
"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": "Média",
"simple": -1,
"subcategory": "Segurança",
"text": "Para os nós AKS do Windows 2019 e 2022, as Diretivas de Rede Calico podem ser usadas ",
"waf": "Segurança"
},
{
"category": "Topologia de rede e conectividade",
"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": "Alto",
"subcategory": "Segurança",
"text": "Habilitar uma opção de Política de Rede do Kubernetes (Calico/Azure)",
"waf": "Segurança"
},
{
"category": "Topologia de rede e conectividade",
"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": "Alto",
"simple": -1,
"subcategory": "Segurança",
"text": "Usar diretivas de rede do Kubernetes para aumentar a segurança intra-cluster",
"waf": "Segurança"
},
{
"category": "Topologia de rede e conectividade",
"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": "Alto",
"simple": -1,
"subcategory": "Segurança",
"text": "Usar um WAF para cargas de trabalho da Web (UIs ou APIs)",
"waf": "Segurança"
},
{
"category": "Topologia de rede e conectividade",
"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": "Média",
"subcategory": "Segurança",
"text": "Usar DDoS Standard na Rede Virtual AKS",
"waf": "Segurança"
},
{
"category": "Topologia de rede e conectividade",
"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": "Baixo",
"subcategory": "Segurança",
"text": "Se necessário, adicione o proxy HTTP da empresa",
"waf": "Segurança"
},
{
"category": "Topologia de rede e conectividade",
"guid": "e9855d04-c3c3-49c9-a6bb-2c12159a114b",
"id": "06.07.10",
"link": "https://learn.microsoft.com/azure/aks/servicemesh-about",
"security": 1,
"service": "AKS",
"severity": "Média",
"simple": -2,
"subcategory": "Segurança",
"text": "Considere o uso de uma malha de serviço para gerenciamento avançado de comunicação de microsserviços",
"waf": "Segurança"
},
{
"category": "Operações",
"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": "Alto",
"simple": -1,
"subcategory": "Alertando",
"text": "Configurar alertas nas métricas mais críticas (consulte Insights de contêiner para obter recomendações)",
"waf": "Operações"
},
{
"category": "Operações",
"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": "Baixo",
"simple": -1,
"subcategory": "Conformidade",
"text": "Verifique regularmente o Azure Advisor para obter recomendações sobre o seu cluster",
"waf": "Operações"
},
{
"category": "Operações",
"guid": "3aa70560-e7e7-4968-be3d-628af35b2ced",
"id": "07.02.03",
"link": "https://learn.microsoft.com/azure/aks/certificate-rotation",
"service": "AKS",
"severity": "Baixo",
"simple": 1,
"subcategory": "Conformidade",
"text": "Habilitar a rotação automática do certificado AKS",
"waf": "Operações"
},
{
"category": "Operações",
"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": "Alto",
"simple": -1,
"subcategory": "Conformidade",
"text": "Tenha um processo regular para atualizar sua versão do kubernetes periodicamente (trimestralmente, por exemplo), ou use o recurso de atualização automática do AKS",
"waf": "Operações"
},
{
"category": "Operações",
"guid": "6f7c4c0d-4e51-4464-ad24-57ed67138b82",
"id": "07.02.05",
"link": "https://learn.microsoft.com/azure/aks/node-updates-kured",
"service": "AKS",
"severity": "Alto",
"simple": -1,
"subcategory": "Conformidade",
"text": "Use kured para atualizações de nó do Linux caso você não esteja usando a atualização de imagem de nó",
"waf": "Operações"
},
{
"category": "Operações",
"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": "Alto",
"simple": -1,
"subcategory": "Conformidade",
"text": "Tenha um processo regular para atualizar as imagens do nó do cluster periodicamente (semanalmente, por exemplo)",
"waf": "Operações"
},
{
"category": "Operações",
"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": "Baixo",
"subcategory": "Conformidade",
"text": "Considere gitops para implantar aplicativos ou configuração de cluster em vários clusters",
"waf": "Operações"
},
{
"category": "Operações",
"guid": "d7672c26-7602-4482-85a4-14527fbe855c",
"id": "07.02.08",
"link": "https://learn.microsoft.com/azure/aks/command-invoke",
"service": "AKS",
"severity": "Baixo",
"subcategory": "Conformidade",
"text": "Considere o uso do comando AKS invoke em clusters privados",
"waf": "Operações"
},
{