Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-5804

openshift: kube-controller-manager: Minimize wildcard/privilege Usage in Cluster and Local Roles [openshift-4]

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None

      Description of problem:

      bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2066690
      
      According http://static.open-scap.org/ssg-guides/ssg-ocp4-guide-cis.html#xccdf_org.ssgproject.content_rule_rbac_wildcard_use the usage of wildcard in ClusterRole and Roles should be prevented as best as possible.
      
      Further, one should refrain from using `cluster-admin` permissions to comply with CIS security requirements.
      
      It's therefore requested to review the below serviceAccount and their associated Roles as they were found not to be compliant with the above and restrict permissions further to the extend possible.
      
       - system:serviceaccount:openshift-kube-controller-manager-operator:kube-controller-manager-operator
       - system:serviceaccount:openshift-kube-controller-manager:installer-sa
       - system:serviceaccount:openshift-kube-controller-manager:localhost-recovery-client

      Version-Release number of selected component (if applicable):

       

      How reproducible:

       

      Steps to Reproduce:

      1.
      2.
      3.
      

      Actual results:

       

      Expected results:

       

      Additional info:

       

            fkrepins@redhat.com Filip Krepinsky
            fkrepins@redhat.com Filip Krepinsky
            ying zhou ying zhou
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: