-
Notifications
You must be signed in to change notification settings - Fork 0
/
sample.json
3999 lines (3999 loc) · 106 KB
/
sample.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
{
"$schema": "https://raw.githubusercontent.com/oasis-tcs/sarif-spec/master/Schemata/sarif-schema-2.1.0.json",
"version": "2.1.0",
"runs": [
{
"tool": {
"driver": {
"name": "KICS",
"version": "nightly-",
"fullName": "Keeping Infrastructure as Code Secure",
"informationUri": "https://www.kics.io/",
"rules": [
{
"id": "dfa20ffa-f476-428f-a490-424b41e91c7f",
"name": "Check Secret Expiration Is Set",
"shortDescription": {
"text": "Check Secret Expiration Is Set"
},
"fullDescription": {
"text": "Make sure that for all secrets the expiration date is set"
},
"defaultConfiguration": {
"level": "error"
},
"helpUri": "https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/key_vault_secret",
"relationships": [
{
"target": {
"id": "CAT012",
"index": 12,
"toolComponent": {
"name": "Categories",
"guid": "58cdcc6f-fe41-4724-bfb3-131a93df4c3f",
"index": 0
}
}
}
]
},
{
"id": "73e42469-3a86-4f39-ad78-098f325b4e9f",
"name": "SSL Connection Is Enabled",
"shortDescription": {
"text": "SSL Connection Is Enabled"
},
"fullDescription": {
"text": "Make sure that for MySQL Database Server, 'Enforce SSL connection' is enabled"
},
"defaultConfiguration": {
"level": "error"
},
"helpUri": "https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/mysql_server",
"relationships": [
{
"target": {
"id": "CAT007",
"index": 11,
"toolComponent": {
"name": "Categories",
"guid": "58cdcc6f-fe41-4724-bfb3-131a93df4c3f",
"index": 0
}
}
}
]
},
{
"id": "5400f379-a347-4bdd-a032-446465fdcc6f",
"name": "Trusted Microsoft Services Not Enabled",
"shortDescription": {
"text": "Trusted Microsoft Services Not Enabled"
},
"fullDescription": {
"text": "Trusted MIcrosoft Services are not enabled for Storage Account access"
},
"defaultConfiguration": {
"level": "error"
},
"helpUri": "https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/storage_account#bypass",
"relationships": [
{
"target": {
"id": "CAT007",
"index": 11,
"toolComponent": {
"name": "Categories",
"guid": "58cdcc6f-fe41-4724-bfb3-131a93df4c3f",
"index": 0
}
}
}
]
},
{
"id": "73fb21a1-b19a-45b1-b648-b47b1678681e",
"name": "Client Certificate is Disabled",
"shortDescription": {
"text": "Client Certificate is Disabled"
},
"fullDescription": {
"text": "Kubernetes Clusters must be created with Client Certificate enabled, which means 'master_auth' must have 'client_certificate_config' with the attribute 'issue_client_certificate' equal to true"
},
"defaultConfiguration": {
"level": "error"
},
"helpUri": "https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/container_cluster",
"relationships": [
{
"target": {
"id": "CAT007",
"index": 11,
"toolComponent": {
"name": "Categories",
"guid": "58cdcc6f-fe41-4724-bfb3-131a93df4c3f",
"index": 0
}
}
}
]
},
{
"id": "5baa92d2-d8ee-4c75-88a4-52d9d8bb8067",
"name": "Legacy Authorization is Enabled",
"shortDescription": {
"text": "Legacy Authorization is Enabled"
},
"fullDescription": {
"text": "Kubernetes Engine Clusters must have Legacy Authorization set to disabled, which means the attribute 'enable_legacy_abac' must not be true"
},
"defaultConfiguration": {
"level": "error"
},
"helpUri": "https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/container_cluster",
"relationships": [
{
"target": {
"id": "CAT007",
"index": 11,
"toolComponent": {
"name": "Categories",
"guid": "58cdcc6f-fe41-4724-bfb3-131a93df4c3f",
"index": 0
}
}
}
]
},
{
"id": "b03a748a-542d-44f4-bb86-9199ab4fd2d5",
"name": "Healthcheck Instruction Missing",
"shortDescription": {
"text": "Healthcheck Instruction Missing"
},
"fullDescription": {
"text": "Ensure that HEALTHCHECK is being used. The HEALTHCHECK instruction tells Docker how to test a container to check that it is still working"
},
"defaultConfiguration": {
"level": "note"
},
"helpUri": "https://docs.docker.com/engine/reference/builder/#healthcheck",
"relationships": [
{
"target": {
"id": "CAT007",
"index": 11,
"toolComponent": {
"name": "Categories",
"guid": "58cdcc6f-fe41-4724-bfb3-131a93df4c3f",
"index": 0
}
}
}
]
},
{
"id": "9630336b-3fed-4096-8173-b9afdfe346a7",
"name": "Image is not scanned",
"shortDescription": {
"text": "Image is not scanned"
},
"fullDescription": {
"text": "Checks if the Image has been scanned"
},
"defaultConfiguration": {
"level": "warning"
},
"helpUri": "https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ecr_repository#scan_on_push",
"relationships": [
{
"target": {
"id": "CAT006",
"index": 3,
"toolComponent": {
"name": "Categories",
"guid": "58cdcc6f-fe41-4724-bfb3-131a93df4c3f",
"index": 0
}
}
}
]
},
{
"id": "2b3c671f-1b76-4741-8789-ed1fe0785dc4",
"name": "PostgreSQL Server Without Connection Throttling",
"shortDescription": {
"text": "PostgreSQL Server Without Connection Throttling"
},
"fullDescription": {
"text": "Ensure that Connection Throttling is set for the PostgreSQL server"
},
"defaultConfiguration": {
"level": "warning"
},
"helpUri": "https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/postgresql_configuration",
"relationships": [
{
"target": {
"id": "CAT010",
"index": 6,
"toolComponent": {
"name": "Categories",
"guid": "58cdcc6f-fe41-4724-bfb3-131a93df4c3f",
"index": 0
}
}
}
]
},
{
"id": "acfdbec6-4a17-471f-b412-169d77553332",
"name": "Google Container Node Pool Auto Repair is Disabled",
"shortDescription": {
"text": "Google Container Node Pool Auto Repair is Disabled"
},
"fullDescription": {
"text": "Verifies if Google Conatiner Node Pool Auto Repair is Enabled"
},
"defaultConfiguration": {
"level": "warning"
},
"helpUri": "https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/container_node_pool",
"relationships": [
{
"target": {
"id": "CAT007",
"index": 11,
"toolComponent": {
"name": "Categories",
"guid": "58cdcc6f-fe41-4724-bfb3-131a93df4c3f",
"index": 0
}
}
}
]
},
{
"id": "b139213e-7d24-49c2-8025-c18faa21ecaa",
"name": "Node Auto Upgrade Not Enabled",
"shortDescription": {
"text": "Node Auto Upgrade Not Enabled"
},
"fullDescription": {
"text": "Node 'auto_upgrade' should be enabled for Kubernetes Clusters"
},
"defaultConfiguration": {
"level": "error"
},
"helpUri": "https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/container_node_pool#auto_upgrade",
"relationships": [
{
"target": {
"id": "CAT007",
"index": 11,
"toolComponent": {
"name": "Categories",
"guid": "58cdcc6f-fe41-4724-bfb3-131a93df4c3f",
"index": 0
}
}
}
]
},
{
"id": "30e8dfd2-3591-4d19-8d11-79e93106c93d",
"name": "Stackdriver Monitoring is Disabled",
"shortDescription": {
"text": "Stackdriver Monitoring is Disabled"
},
"fullDescription": {
"text": "Kubernetes Engine Clusters must have Stackdriver Monitoring enabled, which means the attribute 'monitoring_service' must be defined and different than 'none'"
},
"defaultConfiguration": {
"level": "error"
},
"helpUri": "https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/container_cluster",
"relationships": [
{
"target": {
"id": "CAT010",
"index": 6,
"toolComponent": {
"name": "Categories",
"guid": "58cdcc6f-fe41-4724-bfb3-131a93df4c3f",
"index": 0
}
}
}
]
},
{
"id": "fd54f200-402c-4333-a5a4-36ef6709af2f",
"name": "Missing User Instruction",
"shortDescription": {
"text": "Missing User Instruction"
},
"fullDescription": {
"text": "A user should be specified in the dockerfile, otherwise the image will run as root"
},
"defaultConfiguration": {
"level": "error"
},
"helpUri": "https://docs.docker.com/engine/reference/builder/#user",
"relationships": [
{
"target": {
"id": "CAT005",
"index": 2,
"toolComponent": {
"name": "Categories",
"guid": "58cdcc6f-fe41-4724-bfb3-131a93df4c3f",
"index": 0
}
}
}
]
},
{
"id": "3790d386-be81-4dcf-9850-eaa7df6c10d9",
"name": "PostgreSQL Logs Checkpoints Is On",
"shortDescription": {
"text": "PostgreSQL Logs Checkpoints Is On"
},
"fullDescription": {
"text": "Make sure that for Postgre SQL Database Server, parameter 'log_checkpoints' is set to 'ON'"
},
"defaultConfiguration": {
"level": "warning"
},
"helpUri": "https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/postgresql_configuration",
"relationships": [
{
"target": {
"id": "CAT010",
"index": 6,
"toolComponent": {
"name": "Categories",
"guid": "58cdcc6f-fe41-4724-bfb3-131a93df4c3f",
"index": 0
}
}
}
]
},
{
"id": "819d50fd-1cdf-45c3-9936-be408aaad93e",
"name": "Security Center Pricing Tier Is Not Standard",
"shortDescription": {
"text": "Security Center Pricing Tier Is Not Standard"
},
"fullDescription": {
"text": "Make sure that the 'Standard' pricing tiers were selected."
},
"defaultConfiguration": {
"level": "warning"
},
"helpUri": "https://docs.bridgecrew.io/docs/ensure-standard-pricing-tier-is-selected",
"relationships": [
{
"target": {
"id": "CAT007",
"index": 11,
"toolComponent": {
"name": "Categories",
"guid": "58cdcc6f-fe41-4724-bfb3-131a93df4c3f",
"index": 0
}
}
}
]
},
{
"id": "70cdf849-b7d9-4569-b87d-5d82ffd44719",
"name": "GKE Basic Authentication is Enabled",
"shortDescription": {
"text": "GKE Basic Authentication is Enabled"
},
"fullDescription": {
"text": "GCP - Google Kubernetes Engine (GKE) Basic Authentication must be disabled, which means the username and password provided in the master_auth block must be empty"
},
"defaultConfiguration": {
"level": "error"
},
"helpUri": "https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/container_cluster",
"relationships": [
{
"target": {
"id": "CAT007",
"index": 11,
"toolComponent": {
"name": "Categories",
"guid": "58cdcc6f-fe41-4724-bfb3-131a93df4c3f",
"index": 0
}
}
}
]
},
{
"id": "3e4d5ce6-3280-4027-8010-c26eeea1ec01",
"name": "Project-wide SSH Keys Are Enabled In VM Instances",
"shortDescription": {
"text": "Project-wide SSH Keys Are Enabled In VM Instances"
},
"fullDescription": {
"text": "Check if SSH keys are enabled project-wide in VM instances"
},
"defaultConfiguration": {
"level": "warning"
},
"helpUri": "https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/compute_instance",
"relationships": [
{
"target": {
"id": "CAT007",
"index": 11,
"toolComponent": {
"name": "Categories",
"guid": "58cdcc6f-fe41-4724-bfb3-131a93df4c3f",
"index": 0
}
}
}
]
},
{
"id": "b1d51728-7270-4991-ac2f-fc26e2695b38",
"name": "VM CSEK Encryption Is Disabled",
"shortDescription": {
"text": "VM CSEK Encryption Is Disabled"
},
"fullDescription": {
"text": "VM disks for critical VMs must be encrypted with Customer Supplied Encryption Keys (CSEK), which means the attribute 'disk_encryption_key' must be defined and its sub attribute 'sha256' must also be defined and not empty"
},
"defaultConfiguration": {
"level": "warning"
},
"helpUri": "https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/compute_disk",
"relationships": [
{
"target": {
"id": "CAT006",
"index": 3,
"toolComponent": {
"name": "Categories",
"guid": "58cdcc6f-fe41-4724-bfb3-131a93df4c3f",
"index": 0
}
}
}
]
},
{
"id": "568a4d22-3517-44a6-a7ad-6a7eed88722c",
"name": "S3 Bucket Without Versioning",
"shortDescription": {
"text": "S3 Bucket Without Versioning"
},
"fullDescription": {
"text": "S3 bucket without versioning"
},
"defaultConfiguration": {
"level": "error"
},
"helpUri": "https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/s3_bucket#versioning",
"relationships": [
{
"target": {
"id": "CAT007",
"index": 11,
"toolComponent": {
"name": "Categories",
"guid": "58cdcc6f-fe41-4724-bfb3-131a93df4c3f",
"index": 0
}
}
}
]
},
{
"id": "b187edca-b81e-4fdc-aff4-aab57db45edb",
"name": "Cloud SQL DB Is Publicly Accessible",
"shortDescription": {
"text": "Cloud SQL DB Is Publicly Accessible"
},
"fullDescription": {
"text": "Check if any Cloud SQL instances are publicly accessible."
},
"defaultConfiguration": {
"level": "error"
},
"helpUri": "https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/sql_database_instance",
"relationships": [
{
"target": {
"id": "CAT009",
"index": 5,
"toolComponent": {
"name": "Categories",
"guid": "58cdcc6f-fe41-4724-bfb3-131a93df4c3f",
"index": 0
}
}
}
]
},
{
"id": "8a893e46-e267-485a-8690-51f39951de58",
"name": "COS Node Image Not Used",
"shortDescription": {
"text": "COS Node Image Not Used"
},
"fullDescription": {
"text": "A node image, that is not Container-Optimized OS (COS), is used for Kubernetes Engine Clusters Node image"
},
"defaultConfiguration": {
"level": "error"
},
"helpUri": "https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/container_node_pool#node_config",
"relationships": [
{
"target": {
"id": "CAT007",
"index": 11,
"toolComponent": {
"name": "Categories",
"guid": "58cdcc6f-fe41-4724-bfb3-131a93df4c3f",
"index": 0
}
}
}
]
},
{
"id": "4d080822-5ee2-49a4-8984-68f3d4c890fc",
"name": "Check Key Expiration Is Set",
"shortDescription": {
"text": "Check Key Expiration Is Set"
},
"fullDescription": {
"text": "Make sure that for all keys the expiration date is set"
},
"defaultConfiguration": {
"level": "error"
},
"helpUri": "https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/key_vault_key",
"relationships": [
{
"target": {
"id": "CAT012",
"index": 12,
"toolComponent": {
"name": "Categories",
"guid": "58cdcc6f-fe41-4724-bfb3-131a93df4c3f",
"index": 0
}
}
}
]
},
{
"id": "08bd0760-8752-44e1-9779-7bb369b2b4e4",
"name": "DB Instance Storage Not Encrypted",
"shortDescription": {
"text": "DB Instance Storage Not Encrypted"
},
"fullDescription": {
"text": "The parameter storage_encrypted in aws_db_instance must be true (the default is false)"
},
"defaultConfiguration": {
"level": "error"
},
"helpUri": "https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/db_instance#storage_encrypted",
"relationships": [
{
"target": {
"id": "CAT006",
"index": 3,
"toolComponent": {
"name": "Categories",
"guid": "58cdcc6f-fe41-4724-bfb3-131a93df4c3f",
"index": 0
}
}
}
]
},
{
"id": "cc997676-481b-4e93-aa81-d19f8c5e9b12",
"name": "EBS Volume Clusters Not Encrypted",
"shortDescription": {
"text": "EBS Volume Clusters Not Encrypted"
},
"fullDescription": {
"text": "The value on AWS EBS Volume Cluster Encryption must be true"
},
"defaultConfiguration": {
"level": "error"
},
"helpUri": "https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ebs_volume#encrypted",
"relationships": [
{
"target": {
"id": "CAT006",
"index": 3,
"toolComponent": {
"name": "Categories",
"guid": "58cdcc6f-fe41-4724-bfb3-131a93df4c3f",
"index": 0
}
}
}
]
},
{
"id": "7081f85c-b94d-40fd-8b45-a4f1cac75e46",
"name": "IAM Access Key Is Exposed",
"shortDescription": {
"text": "IAM Access Key Is Exposed"
},
"fullDescription": {
"text": "Check if IAM Access Key is active for some user besides 'root'"
},
"defaultConfiguration": {
"level": "warning"
},
"helpUri": "https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_access_key",
"relationships": [
{
"target": {
"id": "CAT007",
"index": 11,
"toolComponent": {
"name": "Categories",
"guid": "58cdcc6f-fe41-4724-bfb3-131a93df4c3f",
"index": 0
}
}
}
]
},
{
"id": "24e16922-4330-4e9d-be8a-caa90299466a",
"name": "ElasticSearch Not Encrypted At Rest",
"shortDescription": {
"text": "ElasticSearch Not Encrypted At Rest"
},
"fullDescription": {
"text": "Check if ElasticSearch encryption is disabled at Rest"
},
"defaultConfiguration": {
"level": "warning"
},
"helpUri": "https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/elasticsearch_domain",
"relationships": [
{
"target": {
"id": "CAT006",
"index": 3,
"toolComponent": {
"name": "Categories",
"guid": "58cdcc6f-fe41-4724-bfb3-131a93df4c3f",
"index": 0
}
}
}
]
},
{
"id": "575a2155-6af1-4026-b1af-d5bc8fe2a904",
"name": "IAM Policy Allows All ('*') In Policy Statement",
"shortDescription": {
"text": "IAM Policy Allows All ('*') In Policy Statement"
},
"fullDescription": {
"text": "IAM policies allow all ('*') in a statement action"
},
"defaultConfiguration": {
"level": "warning"
},
"helpUri": "https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_role_policy",
"relationships": [
{
"target": {
"id": "CAT001",
"index": 8,
"toolComponent": {
"name": "Categories",
"guid": "58cdcc6f-fe41-4724-bfb3-131a93df4c3f",
"index": 0
}
}
}
]
},
{
"id": "c606ba1d-d736-43eb-ac24-e16108f3a9e0",
"name": "IP Aliasing is Disabled",
"shortDescription": {
"text": "IP Aliasing is Disabled"
},
"fullDescription": {
"text": "Kubernetes Clusters must be created with Alias IP ranges enabled, which means the attribut 'ip_allocation_policy' must be defined and, if defined, the attribute 'networking_mode' must be VPC_NATIVE "
},
"defaultConfiguration": {
"level": "error"
},
"helpUri": "https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/container_cluster",
"relationships": [
{
"target": {
"id": "CAT007",
"index": 11,
"toolComponent": {
"name": "Categories",
"guid": "58cdcc6f-fe41-4724-bfb3-131a93df4c3f",
"index": 0
}
}
}
]
},
{
"id": "0437633b-daa6-4bbc-8526-c0d2443b946e",
"name": "SSL Enforce Is Disabled",
"shortDescription": {
"text": "SSL Enforce Is Disabled"
},
"fullDescription": {
"text": "Make sure that for PosgreSQL, the 'Enforce SSL connection' is set to 'ENABLED'"
},
"defaultConfiguration": {
"level": "error"
},
"helpUri": "https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/postgresql_server",
"relationships": [
{
"target": {
"id": "CAT006",
"index": 3,
"toolComponent": {
"name": "Categories",
"guid": "58cdcc6f-fe41-4724-bfb3-131a93df4c3f",
"index": 0
}
}
}
]
},
{
"id": "a6cd52a1-3056-4910-96a5-894de9f3f3b3",
"name": "Cloud Storage Anonymous or Publicly Accessible",
"shortDescription": {
"text": "Cloud Storage Anonymous or Publicly Accessible"
},
"fullDescription": {
"text": "Cloud Storage Buckets must not be anonymously or publicly accessible, which means the attribute 'members' must not possess 'allUsers' or 'allAuthenticatedUsers'"
},
"defaultConfiguration": {
"level": "warning"
},
"helpUri": "https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/storage_bucket_iam#google_storage_bucket_iam_binding",
"relationships": [
{
"target": {
"id": "CAT001",
"index": 8,
"toolComponent": {
"name": "Categories",
"guid": "58cdcc6f-fe41-4724-bfb3-131a93df4c3f",
"index": 0
}
}
}
]
},
{
"id": "1baba08e-3c8a-4be7-95eb-dced5833de21",
"name": "Master Authentication is Disabled",
"shortDescription": {
"text": "Master Authentication is Disabled"
},
"fullDescription": {
"text": "Kubernetes Engine Clusters must have Master Authentication set to enabled, which means the attribute 'master_auth' must have the subattributes 'username' and 'password' defined and not empty"
},
"defaultConfiguration": {
"level": "error"
},
"helpUri": "https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/container_cluster",
"relationships": [
{
"target": {
"id": "CAT001",
"index": 8,
"toolComponent": {
"name": "Categories",
"guid": "58cdcc6f-fe41-4724-bfb3-131a93df4c3f",
"index": 0
}
}
}
]
},
{
"id": "6ccb85d7-0420-4907-9380-50313f80946b",
"name": "Private Cluster Is Disabled",
"shortDescription": {
"text": "Private Cluster Is Disabled"
},
"fullDescription": {
"text": "Kubernetes Clusters must be created with Private Clusters enabled, meaning the 'private_cluster_config' must be defined and the attributes 'enable_private_nodes' and 'enable_private_endpoint' must be true"
},
"defaultConfiguration": {
"level": "error"
},
"helpUri": "https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/container_cluster",
"relationships": [
{
"target": {
"id": "CAT007",
"index": 11,
"toolComponent": {
"name": "Categories",
"guid": "58cdcc6f-fe41-4724-bfb3-131a93df4c3f",
"index": 0
}
}
}
]
},
{
"id": "3cb4af0b-056d-4fb1-8b95-fdc4593625ff",
"name": "Using Default Service Account",
"shortDescription": {
"text": "Using Default Service Account"
},
"fullDescription": {
"text": "Instances must not be configured to use the Default Service Account, that has full access to all Cloud APIs, which means the attribute 'service_account' and its sub attribute 'email' must be defined. Additionally, 'email' must not be empty and must also not be a default Google Compute Engine service account."
},
"defaultConfiguration": {
"level": "warning"
},
"helpUri": "https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/compute_instance",
"relationships": [
{
"target": {
"id": "CAT007",
"index": 11,
"toolComponent": {
"name": "Categories",
"guid": "58cdcc6f-fe41-4724-bfb3-131a93df4c3f",
"index": 0
}
}
}
]
},
{
"id": "4728cd65-a20c-49da-8b31-9c08b423e4db",
"name": "Fully Open Ingress",
"shortDescription": {
"text": "Fully Open Ingress"
},
"fullDescription": {
"text": "Security groups allow ingress from 0.0.0.0:0"
},
"defaultConfiguration": {
"level": "error"
},
"helpUri": "https://www.terraform.io/docs/providers/aws/r/security_group.html",
"relationships": [
{
"target": {
"id": "CAT009",
"index": 5,
"toolComponent": {
"name": "Categories",
"guid": "58cdcc6f-fe41-4724-bfb3-131a93df4c3f",
"index": 0
}
}
}
]
},
{
"id": "1dc73fb4-5b51-430c-8c5f-25dcf9090b02",
"name": "RDS Without Backup",
"shortDescription": {
"text": "RDS Without Backup"
},
"fullDescription": {
"text": "RDS configured without backup"
},
"defaultConfiguration": {
"level": "warning"
},
"helpUri": "https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/db_instance",
"relationships": [
{
"target": {
"id": "CAT003",
"index": 10,
"toolComponent": {
"name": "Categories",
"guid": "58cdcc6f-fe41-4724-bfb3-131a93df4c3f",
"index": 0
}
}
}
]
},
{
"id": "6726dcc0-5ff5-459d-b473-a780bef7665c",
"name": "S3 Bucket Without Encryption",
"shortDescription": {
"text": "S3 Bucket Without Encryption"
},
"fullDescription": {
"text": "S3 bucket should have encryption defined"
},
"defaultConfiguration": {
"level": "error"
},
"helpUri": "https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/s3_bucket",
"relationships": [
{
"target": {
"id": "CAT007",
"index": 11,
"toolComponent": {
"name": "Categories",
"guid": "58cdcc6f-fe41-4724-bfb3-131a93df4c3f",
"index": 0
}
}
}
]
},
{
"id": "ffac8a12-322e-42c1-b9b9-81ff85c39ef7",
"name": "HTTP Port Open",
"shortDescription": {
"text": "HTTP Port Open"
},
"fullDescription": {
"text": "HTTP port is open to the internet"
},
"defaultConfiguration": {
"level": "error"
},
"helpUri": "https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/security_group",
"relationships": [
{
"target": {
"id": "CAT009",
"index": 5,
"toolComponent": {
"name": "Categories",
"guid": "58cdcc6f-fe41-4724-bfb3-131a93df4c3f",
"index": 0
}
}
}
]
},
{
"id": "cf3c7631-cd1e-42f3-8801-a561214a6e79",
"name": "SQL Database Backup Configuration Disabled",
"shortDescription": {
"text": "SQL Database Backup Configuration Disabled"
},
"fullDescription": {
"text": "Checks if backup configuration is enabled for all Cloud SQL Database instances"
},
"defaultConfiguration": {
"level": "error"
},
"helpUri": "https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/sql_database_instance",
"relationships": [
{
"target": {