File tree 7 files changed +22
-0
lines changed
controller_insecure_port_disabled/tests/ocp4
controller_rotate_kubelet_server_certs/tests/ocp4
controller_secure_port/tests/ocp4
controller_service_account_ca/tests/ocp4
controller_service_account_private_key/tests/ocp4
rbac/rbac_debug_role_protects_pprof
7 files changed +22
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ default_result : PASS
Original file line number Diff line number Diff line change
1
+ ---
2
+ default_result : PASS
Original file line number Diff line number Diff line change
1
+ ---
2
+ default_result : PASS
Original file line number Diff line number Diff line change
1
+ ---
2
+ default_result : PASS
Original file line number Diff line number Diff line change
1
+ ---
2
+ default_result : PASS
Original file line number Diff line number Diff line change @@ -26,6 +26,15 @@ references:
26
26
27
27
severity : medium
28
28
29
+ ocil_clause : |-
30
+ The <tt>cluster-debugger</tt> role isn't protecting <tt>/debug/pprof</tt>
31
+
32
+ ocil : |-
33
+ To verify that the <tt>cluster-debugger</tt> role is configured correctly,
34
+ run the following command:
35
+ <pre>$ oc get clusterroles cluster-debugger -o jsonpath='{.rules[0].nonResourceURLs}'</pre>
36
+ and verify that the <tt>/debug/pprof</tt> path is included there.
37
+
29
38
warnings :
30
39
- general : |-
31
40
{{{ openshift_cluster_setting("/apis/rbac.authorization.k8s.io/v1/clusterroles/cluster-debugger") | indent(4) }}}
@@ -40,3 +49,4 @@ template:
40
49
values :
41
50
- value : ' \/debug\/pprof'
42
51
operation : ' pattern match'
52
+ entity_check : ' at least one'
Original file line number Diff line number Diff line change
1
+ ---
2
+ default_result : PASS
You can’t perform that action at this time.
0 commit comments