-
Notifications
You must be signed in to change notification settings - Fork 0
/
component-definition.json
1069 lines (1069 loc) · 47.7 KB
/
component-definition.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
{
"component-definition": {
"uuid": "9b6eb366-0ddf-4f89-94b9-a60bb40acd9a",
"metadata": {
"title": "Component Definition for Kube",
"last-modified": "2024-05-01T18:45:58+00:00",
"version": "1.0",
"oscal-version": "1.0.4"
},
"components": [
{
"uuid": "0e902a4c-1b39-4d0f-a33e-2db458e8a2c3",
"type": "software",
"title": "Kubernetes",
"description": "Kubernetes",
"props": [
{
"name": "Rule_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kubernetes",
"value": "advanced-restrict-image-registries",
"remarks": "rule_set_00"
},
{
"name": "Rule_Description",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kubernetes",
"value": "In instances where a ClusterPolicy defines all the approved image registries is insufficient, more granular control may be needed to set permitted registries, especially in multi-tenant use cases where some registries may be based on the Namespace. This policy shows an advanced version of the Restrict Image Registries policy which gets a global approved registry from a ConfigMap and, based upon an annotation at the Namespace level, gets the registry approved for that Namespace.",
"remarks": "rule_set_00"
},
{
"name": "Rule_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kubernetes",
"value": "allowed-base-images",
"remarks": "rule_set_01"
},
{
"name": "Rule_Description",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kubernetes",
"value": "Building images which specify a base as their origin is a good start to improving supply chain security, but over time organizations may want to build an allow list of specific base images which are allowed to be used when constructing containers. This policy ensures that a container's base, found in an OCI annotation, is in a cluster-wide allow list.",
"remarks": "rule_set_01"
},
{
"name": "Rule_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kubernetes",
"value": "allowed-image-repos",
"remarks": "rule_set_02"
},
{
"name": "Rule_Description",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kubernetes",
"value": "In addition to restricting the image registry from which images are pulled, in some cases and for example in some restricted Namespaces. This policy ensures that the only allowed image repositories present in a given Pod, across any container type, come from the designated list.",
"remarks": "rule_set_02"
},
{
"name": "Rule_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kubernetes",
"value": "allowed-label-changes",
"remarks": "rule_set_03"
},
{
"name": "Rule_Description",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kubernetes",
"value": "In some cases, operations teams need a type of limited access to change resources during troubleshooting or outage mitigation. This policy demonstrates how to prevent modification to labels except one with the key `breakglass`. Changing, adding, or deleting any other labels is denied.",
"remarks": "rule_set_03"
},
{
"name": "Rule_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kubernetes",
"value": "allowed-podpriorities",
"remarks": "rule_set_04"
},
{
"name": "Rule_Description",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kubernetes",
"value": "A Pod PriorityClass is used to provide a guarantee on the scheduling of a Pod relative to others. In certain cases where not all users in a cluster are trusted, a malicious user could create Pods at the highest possible priorities, causing other Pods to be evicted/not get scheduled. This policy checks the defined `priorityClassName` in a Pod spec to a dictionary of allowable PriorityClasses for the given Namespace stored in a ConfigMap. If the `priorityClassName` is not among them, the Pod is blocked.",
"remarks": "rule_set_04"
},
{
"name": "Rule_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kubernetes",
"value": "podsecurity-subrule-baseline",
"remarks": "rule_set_05"
},
{
"name": "Rule_Description",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kubernetes",
"value": "The baseline profile of the Pod Security Standards is a collection of the most basic and important steps that can be taken to secure Pods. Beginning with Kyverno 1.8, an entire profile may be assigned to the cluster through a single rule. This policy configures the baseline profile through the latest version of the Pod Security Standards cluster wide.",
"remarks": "rule_set_05"
},
{
"name": "Rule_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kubernetes",
"value": "block-cluster-admin-from-ns",
"remarks": "rule_set_06"
},
{
"name": "Rule_Description",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kubernetes",
"value": "In some cases we would want to block operations (CREATE/UPDATE/DELETE) of certain privileged users (i.e. cluster-admins), in a specific namespace. In this policy, Kyverno look for all user operations (`CREATE, UPDATE, DELETE`), on every object kind (Pod,Deployment,Route,Service,etc.), in the testnamespace namespace, and for the `clusterRole cluster-admin`. The `subject User testuser` is also mentioned so it won’t include all the cluster-admins in the cluster, but will be flexiable enough to apply only for a sub-group of the cluster-admins in the cluster.",
"remarks": "rule_set_06"
},
{
"name": "Rule_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kubernetes",
"value": "block-ephemeral-containers",
"remarks": "rule_set_07"
},
{
"name": "Rule_Description",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kubernetes",
"value": "Ephemeral containers, enabled by default in Kubernetes 1.23, allow users to use the `kubectl debug` functionality and attach a temporary container to an existing Pod. This may potentially be used to gain access to unauthorized information executing inside one or more containers in that Pod. This policy blocks the use of ephemeral containers.",
"remarks": "rule_set_07"
},
{
"name": "Rule_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kubernetes",
"value": "block-images-with-volumes",
"remarks": "rule_set_08"
},
{
"name": "Rule_Description",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kubernetes",
"value": "OCI images may optionally be built with VOLUME statements which, if run in read-only mode, would still result in write access to the specified location. This may be unexpected and undesirable. This policy checks the contents of every container image and inspects them for such VOLUME statements, then blocks if found.",
"remarks": "rule_set_08"
},
{
"name": "Rule_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kubernetes",
"value": "block-large-images",
"remarks": "rule_set_09"
},
{
"name": "Rule_Description",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kubernetes",
"value": "Pods which run containers of very large image size take longer to pull and require more space to store. A user may either inadvertently or purposefully name an image which is unusually large to disrupt operations. This policy checks the size of every container image and blocks if it is over 2 Gibibytes.",
"remarks": "rule_set_09"
},
{
"name": "Rule_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kubernetes",
"value": "deny-exec-by-namespace-label",
"remarks": "rule_set_10"
},
{
"name": "Rule_Description",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kubernetes",
"value": "The `exec` command may be used to gain shell access, or run other commands, in a Pod's container. While this can be useful for troubleshooting purposes, it could represent an attack vector and is discouraged. This policy blocks Pod exec commands based upon a Namespace label `exec=false`.",
"remarks": "rule_set_10"
},
{
"name": "Rule_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kubernetes",
"value": "deny-exec-by-namespace-name",
"remarks": "rule_set_11"
},
{
"name": "Rule_Description",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kubernetes",
"value": "The `exec` command may be used to gain shell access, or run other commands, in a Pod's container. While this can be useful for troubleshooting purposes, it could represent an attack vector and is discouraged. This policy blocks Pod exec commands to Pods in a Namespace called `pci`.",
"remarks": "rule_set_11"
},
{
"name": "Rule_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kubernetes",
"value": "deny-exec-by-pod-and-container",
"remarks": "rule_set_12"
},
{
"name": "Rule_Description",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kubernetes",
"value": "The `exec` command may be used to gain shell access, or run other commands, in a Pod's container. While this can be useful for troubleshooting purposes, it could represent an attack vector and is discouraged. This policy blocks Pod exec commands to containers named `nginx` in Pods starting with name `myapp-maintenance`.",
"remarks": "rule_set_12"
},
{
"name": "Rule_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kubernetes",
"value": "deny-exec-by-pod-label",
"remarks": "rule_set_13"
},
{
"name": "Rule_Description",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kubernetes",
"value": "The `exec` command may be used to gain shell access, or run other commands, in a Pod's container. While this can be useful for troubleshooting purposes, it could represent an attack vector and is discouraged. This policy blocks Pod exec commands to Pods having the label `exec=false`.",
"remarks": "rule_set_13"
},
{
"name": "Rule_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kubernetes",
"value": "deny-exec-by-pod-name",
"remarks": "rule_set_14"
},
{
"name": "Rule_Description",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kubernetes",
"value": "The `exec` command may be used to gain shell access, or run other commands, in a Pod's container. While this can be useful for troubleshooting purposes, it could represent an attack vector and is discouraged. This policy blocks Pod exec commands to Pods beginning with the name `myapp-maintenance-`.",
"remarks": "rule_set_14"
},
{
"name": "Rule_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kubernetes",
"value": "block-stale-images",
"remarks": "rule_set_15"
},
{
"name": "Rule_Description",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kubernetes",
"value": "Images that are old usually have some open security vulnerabilities which are not patched. This policy checks the contents of every container image and inspects them for the create time. If it finds any image which was built more than 6 months ago this policy blocks the deployment.",
"remarks": "rule_set_15"
},
{
"name": "Rule_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kubernetes",
"value": "block-updates-deletes",
"remarks": "rule_set_16"
},
{
"name": "Rule_Description",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kubernetes",
"value": "Kubernetes RBAC allows for controls on kinds of resources or those with specific names. But it does not have the type of granularity often required in more complex environments. This policy restricts updates and deletes to any Service resource that contains the label `protected=true` unless by a cluster-admin.",
"remarks": "rule_set_16"
},
{
"name": "Rule_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kubernetes",
"value": "block-velero-restore",
"remarks": "rule_set_17"
},
{
"name": "Rule_Description",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kubernetes",
"value": "Velero allows on backup and restore operations and is designed to be run with full cluster admin permissions. It allows on cross namespace restore operations, which means you can restore backup of namespace A to namespace B. This policy protect restore operation into system or any protected namespaces, listed in deny condition section. It checks the Restore CRD object and its namespaceMapping field. If destination match protected namespace then operation fails and warning message is throw.",
"remarks": "rule_set_17"
},
{
"name": "Rule_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kubernetes",
"value": "cert-manager-limit-duration",
"remarks": "rule_set_18"
},
{
"name": "Rule_Description",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kubernetes",
"value": "Kubernetes managed non-letsencrypt certificates have to be renewed in every 100 days.",
"remarks": "rule_set_18"
},
{
"name": "Rule_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kubernetes",
"value": "k10-3-2-1-backup-policy",
"remarks": "rule_set_19"
},
{
"name": "Rule_Description",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kubernetes",
"value": "The rule of 3-2-1 recommends that you have at least 3 copies of data, on 2 different storage targets, and 1 being offsite. 3-2-1 ensures a health mix of redundancy options for data recovery of the application for localized & multi-region cloud failures or compromise. In K8s/K10, this translates to the original StatefulSet (the original PersistentVolumeClaim), a backup (a snapshot of the PVC on prod storage), and an export to cloud object storage (a secondary cloud copy of the PVC snapshot).",
"remarks": "rule_set_19"
},
{
"name": "Rule_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kubernetes",
"value": "check-deprecated-apis",
"remarks": "rule_set_20"
},
{
"name": "Rule_Description",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kubernetes",
"value": "Kubernetes APIs are sometimes deprecated and removed after a few releases. As a best practice, older API versions should be replaced with newer versions. This policy validates for APIs that are deprecated or scheduled for removal.",
"remarks": "rule_set_20"
},
{
"name": "Rule_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kubernetes",
"value": "k10-policy-hourly-rpo",
"remarks": "rule_set_21"
},
{
"name": "Rule_Description",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kubernetes",
"value": "K10 Policy resources can be educated to adhere to common Recovery Point Objective (RPO) best practices. This policy is advising to use an RPO frequency that with hourly granularity if it has the appPriority: Mission Critical",
"remarks": "rule_set_21"
}
],
"control-implementations": [
{
"uuid": "398f48b2-2c9f-4586-a983-1266de0b8dff",
"source": "catalogs/NIST_SP-800-53_rev5_HIGH/NIST_SP-800-53_rev5_HIGH-baseline-resolved-profile_catalog.json",
"description": "NIST r5 ",
"implemented-requirements": [
{
"uuid": "45b59b0c-5d78-448c-9ded-7d5ba63d00ab",
"control-id": "cm-8.3",
"description": "",
"statements": [
{
"statement-id": "cm-8.3_smt.a",
"uuid": "d7bcf15a-4f4b-4327-97e7-e7f0747948fa",
"description": "",
"props": [
{
"name": "Rule_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kubernetes",
"value": "advanced-restrict-image-registries"
},
{
"name": "Rule_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kubernetes",
"value": "allowed-base-images"
},
{
"name": "Rule_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kubernetes",
"value": "allowed-image-repos"
}
]
}
]
},
{
"control-id": "ac-3",
"description": "",
"props": [
{
"name": "Rule_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kubernetes",
"value": "allowed-label-changes"
}
]
},
{
"uuid": "eb9a4be2-8bc1-474e-8824-40e0051e9e59",
"control-id": "ac-6",
"description": "",
"props": [
{
"name": "Rule_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kubernetes",
"value": "allowed-label-changes"
}
]
}
]
},
{
"uuid": "d60a6634-c980-4492-94ee-cb455ab2733b",
"source": "catalogs/NIST_SP-800-53_rev5_HIGH/NIST_SP-800-53_rev5_HIGH-baseline-resolved-profile_catalog.json",
"description": "NIST r5",
"implemented-requirements": [
{
"uuid": "93bd721b-6ba1-4a6a-89b5-9eaf30ec7bee",
"control-id": "ac-4",
"description": "",
"props": [
{
"name": "Rule_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kubernetes",
"value": "allowed-podpriorities"
},
{
"name": "Rule_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kubernetes",
"value": "podsecurity-subrule-baseline"
},
{
"name": "Rule_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kubernetes",
"value": "block-ephemeral-containers"
},
{
"name": "Rule_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kubernetes",
"value": "block-images-with-volumes"
},
{
"name": "Rule_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kubernetes",
"value": "deny-exec-by-namespace-label"
},
{
"name": "Rule_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kubernetes",
"value": "deny-exec-by-namespace-name"
},
{
"name": "Rule_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kubernetes",
"value": "deny-exec-by-pod-and-container"
},
{
"name": "Rule_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kubernetes",
"value": "deny-exec-by-pod-label"
},
{
"name": "Rule_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kubernetes",
"value": "deny-exec-by-pod-name"
},
{
"name": "Rule_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kubernetes",
"value": "block-updates-deletes"
},
{
"name": "Rule_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kubernetes",
"value": "block-velero-restore"
}
]
},
{
"uuid": "6358aa48-b95b-4aa4-87eb-d4dafe316e1d",
"control-id": "ac-6",
"description": "",
"props": [
{
"name": "Rule_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kubernetes",
"value": "allowed-podpriorities"
},
{
"name": "Rule_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kubernetes",
"value": "podsecurity-subrule-baseline"
},
{
"name": "Rule_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kubernetes",
"value": "block-cluster-admin-from-ns"
},
{
"name": "Rule_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kubernetes",
"value": "block-ephemeral-containers"
},
{
"name": "Rule_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kubernetes",
"value": "deny-exec-by-namespace-label"
},
{
"name": "Rule_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kubernetes",
"value": "deny-exec-by-namespace-name"
},
{
"name": "Rule_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kubernetes",
"value": "deny-exec-by-pod-and-container"
},
{
"name": "Rule_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kubernetes",
"value": "deny-exec-by-pod-label"
},
{
"name": "Rule_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kubernetes",
"value": "deny-exec-by-pod-name"
},
{
"name": "Rule_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kubernetes",
"value": "block-updates-deletes"
},
{
"name": "Rule_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kubernetes",
"value": "block-velero-restore"
}
]
},
{
"uuid": "590107c7-69dd-462f-a297-0e58c76fccee",
"control-id": "ac-3",
"description": "",
"props": [
{
"name": "Rule_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kubernetes",
"value": "podsecurity-subrule-baseline"
},
{
"name": "Rule_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kubernetes",
"value": "block-cluster-admin-from-ns"
},
{
"name": "Rule_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kubernetes",
"value": "deny-exec-by-namespace-label"
},
{
"name": "Rule_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kubernetes",
"value": "deny-exec-by-namespace-name"
},
{
"name": "Rule_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kubernetes",
"value": "deny-exec-by-pod-and-container"
},
{
"name": "Rule_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kubernetes",
"value": "deny-exec-by-pod-label"
},
{
"name": "Rule_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kubernetes",
"value": "deny-exec-by-pod-name"
}
]
},
{
"uuid": "9545aa69-2560-4112-a6eb-352986e88716",
"control-id": "ac-2",
"description": "",
"statements": [
{
"statement-id": "ac-2_smt.d",
"uuid": "fd819e37-97a3-4e42-b92f-c3f744735fad",
"description": "",
"props": [
{
"name": "Rule_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kubernetes",
"value": "block-cluster-admin-from-ns"
}
]
}
]
},
{
"uuid": "dffa0040-b2a9-4f11-9dbf-782bb2e7f0c0",
"control-id": "ac-5",
"description": "",
"statements": [
{
"statement-id": "ac-5_smt.c",
"uuid": "6a075d71-b756-481e-9710-f369dfcb091b",
"description": "",
"props": [
{
"name": "Rule_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kubernetes",
"value": "block-cluster-admin-from-ns"
}
]
}
]
},
{
"uuid": "2d345acd-f017-46f7-9adf-c9dadace37e5",
"control-id": "sc-5",
"description": "",
"props": [
{
"name": "Rule_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kubernetes",
"value": "block-large-images"
}
]
},
{
"uuid": "6dbd96d8-a18b-4de3-941a-00f22995fd82",
"control-id": "cm-8.3",
"description": "",
"statements": [
{
"statement-id": "cm-8.3_smt.a",
"description": "",
"props": [
{
"name": "Rule_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kubernetes",
"value": "block-stale-images"
},
{
"name": "Rule_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kubernetes",
"value": "check-deprecated-apis"
}
]
}
]
},
{
"uuid": "03ba21cb-3b59-4888-b86a-aaf2a07b6e6a",
"control-id": "si-2.2",
"description": "",
"props": [
{
"name": "Rule_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kubernetes",
"value": "block-stale-images"
},
{
"name": "Rule_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kubernetes",
"value": "check-deprecated-apis"
}
]
},
{
"uuid": "3442dd1d-9520-444d-8482-0ddfbe3ad3ef",
"control-id": "ia-5",
"description": "",
"statements": [
{
"statement-id": "ia-5_smt.g",
"uuid": "175411fe-a651-45bf-9a8d-3897f6319f1b",
"description": "",
"props": [
{
"name": "Rule_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kubernetes",
"value": "cert-manager-limit-duration"
}
]
}
]
},
{
"uuid": "1fdfc201-0783-4cbb-9bb6-0f7cb9a115ce",
"control-id": "cp-2",
"description": "",
"props": [
{
"name": "Rule_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kubernetes",
"value": "k10-3-2-1-backup-policy"
}
]
},
{
"uuid": "36c3f32e-878f-40b3-8cb4-13ebc28e3fe5",
"control-id": "cp-9",
"description": "",
"props": [
{
"name": "Rule_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kubernetes",
"value": "k10-3-2-1-backup-policy"
}
]
},
{
"uuid": "7cca92d8-78b4-4c5a-b418-71f9d197bcfd",
"control-id": "cp-10",
"description": "",
"props": [
{
"name": "Rule_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kubernetes",
"value": "k10-policy-hourly-rpo"
}
]
}
]
}
]
},
{g
"uuid": "16e7040e-2a66-462c-bfd2-321ef7a3803a",
"type": "validation",
"title": "Kyverno",
"description": "Kyverno",
"props": [
{
"name": "Rule_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kyverno",
"value": "advanced-restrict-image-registries",
"remarks": "rule_set_22"
},
{
"name": "Check_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kyverno",
"value": "advanced-restrict-image-registries",
"remarks": "rule_set_22"
},
{
"name": "Check_Description",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kyverno",
"value": "advanced-restrict-image-registries",
"remarks": "rule_set_22"
},
{
"name": "Rule_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kyverno",
"value": "allowed-base-images",
"remarks": "rule_set_23"
},
{
"name": "Check_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kyverno",
"value": "allowed-base-images",
"remarks": "rule_set_23"
},
{
"name": "Check_Description",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kyverno",
"value": "allowed-base-images",
"remarks": "rule_set_23"
},
{
"name": "Rule_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kyverno",
"value": "allowed-image-repos",
"remarks": "rule_set_24"
},
{
"name": "Check_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kyverno",
"value": "allowed-image-repos",
"remarks": "rule_set_24"
},
{
"name": "Check_Description",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kyverno",
"value": "allowed-image-repos",
"remarks": "rule_set_24"
},
{
"name": "Rule_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kyverno",
"value": "allowed-label-changes",
"remarks": "rule_set_25"
},
{
"name": "Check_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kyverno",
"value": "allowed-label-changes",
"remarks": "rule_set_25"
},
{
"name": "Check_Description",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kyverno",
"value": "allowed-label-changes",
"remarks": "rule_set_25"
},
{
"name": "Rule_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kyverno",
"value": "allowed-podpriorities",
"remarks": "rule_set_26"
},
{
"name": "Check_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kyverno",
"value": "allowed-podpriorities",
"remarks": "rule_set_26"
},
{
"name": "Check_Description",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kyverno",
"value": "allowed-podpriorities",
"remarks": "rule_set_26"
},
{
"name": "Rule_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kyverno",
"value": "podsecurity-subrule-baseline",
"remarks": "rule_set_27"
},
{
"name": "Check_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kyverno",
"value": "podsecurity-subrule-baseline",
"remarks": "rule_set_27"
},
{
"name": "Check_Description",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kyverno",
"value": "podsecurity-subrule-baseline",
"remarks": "rule_set_27"
},
{
"name": "Rule_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kyverno",
"value": "block-cluster-admin-from-ns",
"remarks": "rule_set_28"
},
{
"name": "Check_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kyverno",
"value": "block-cluster-admin-from-ns",
"remarks": "rule_set_28"
},
{
"name": "Check_Description",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kyverno",
"value": "block-cluster-admin-from-ns",
"remarks": "rule_set_28"
},
{
"name": "Rule_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kyverno",
"value": "block-ephemeral-containers",
"remarks": "rule_set_29"
},
{
"name": "Check_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kyverno",
"value": "block-ephemeral-containers",
"remarks": "rule_set_29"
},
{
"name": "Check_Description",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kyverno",
"value": "block-ephemeral-containers",
"remarks": "rule_set_29"
},
{
"name": "Rule_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kyverno",
"value": "block-images-with-volumes",
"remarks": "rule_set_30"
},
{
"name": "Check_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kyverno",
"value": "block-images-with-volumes",
"remarks": "rule_set_30"
},
{
"name": "Check_Description",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kyverno",
"value": "block-images-with-volumes",
"remarks": "rule_set_30"
},
{
"name": "Rule_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kyverno",
"value": "block-large-images",
"remarks": "rule_set_31"
},
{
"name": "Check_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kyverno",
"value": "block-large-images",
"remarks": "rule_set_31"
},
{
"name": "Check_Description",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kyverno",
"value": "block-large-images",
"remarks": "rule_set_31"
},
{
"name": "Rule_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kyverno",
"value": "deny-exec-by-namespace-label",
"remarks": "rule_set_32"
},
{
"name": "Check_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kyverno",
"value": "deny-exec-by-namespace-label",
"remarks": "rule_set_32"
},
{
"name": "Check_Description",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kyverno",
"value": "deny-exec-by-namespace-label",
"remarks": "rule_set_32"
},
{
"name": "Rule_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kyverno",
"value": "deny-exec-by-namespace-name",
"remarks": "rule_set_33"
},
{
"name": "Check_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kyverno",
"value": "deny-exec-by-namespace-name",
"remarks": "rule_set_33"
},
{
"name": "Check_Description",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kyverno",
"value": "deny-exec-by-namespace-name",
"remarks": "rule_set_33"
},
{
"name": "Rule_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kyverno",
"value": "deny-exec-by-pod-and-container",
"remarks": "rule_set_34"
},
{
"name": "Check_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kyverno",
"value": "deny-exec-by-pod-and-container",
"remarks": "rule_set_34"
},
{
"name": "Check_Description",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kyverno",
"value": "deny-exec-by-pod-and-container",
"remarks": "rule_set_34"
},
{
"name": "Rule_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kyverno",
"value": "deny-exec-by-pod-label",
"remarks": "rule_set_35"
},
{
"name": "Check_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kyverno",
"value": "deny-exec-by-pod-label",
"remarks": "rule_set_35"
},
{
"name": "Check_Description",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kyverno",
"value": "deny-exec-by-pod-label",
"remarks": "rule_set_35"
},
{
"name": "Rule_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kyverno",
"value": "deny-exec-by-pod-name",
"remarks": "rule_set_36"
},
{
"name": "Check_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kyverno",
"value": "deny-exec-by-pod-name",
"remarks": "rule_set_36"
},
{
"name": "Check_Description",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kyverno",
"value": "deny-exec-by-pod-name",
"remarks": "rule_set_36"
},
{
"name": "Rule_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kyverno",
"value": "block-stale-images",
"remarks": "rule_set_37"
},
{
"name": "Check_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kyverno",
"value": "block-stale-images",
"remarks": "rule_set_37"
},
{
"name": "Check_Description",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kyverno",
"value": "block-stale-images",
"remarks": "rule_set_37"
},
{
"name": "Rule_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kyverno",
"value": "block-updates-deletes",
"remarks": "rule_set_38"
},
{
"name": "Check_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kyverno",
"value": "block-updates-deletes",
"remarks": "rule_set_38"
},
{
"name": "Check_Description",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kyverno",
"value": "block-updates-deletes",
"remarks": "rule_set_38"
},
{
"name": "Rule_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kyverno",
"value": "block-velero-restore",
"remarks": "rule_set_39"
},
{
"name": "Check_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kyverno",
"value": "block-velero-restore",
"remarks": "rule_set_39"
},
{
"name": "Check_Description",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kyverno",
"value": "block-velero-restore",
"remarks": "rule_set_39"
},
{
"name": "Rule_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kyverno",
"value": "cert-manager-limit-duration",
"remarks": "rule_set_40"
},
{
"name": "Check_Id",
"ns": "http://ibm.github.io/compliance-trestle/schemas/oscal/cd/kyverno",