Uploaded image for project: 'Cloud Infrastructure Security & Compliance'
  1. Cloud Infrastructure Security & Compliance
  2. CMP-3606

The kubelet-configure-tls-cipher-suites-kubeapiserver-operator remediation is broken on permissions

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • False
    • CMP Sprint 105, CMP Sprint 106, CMP Sprint 107

      Description of problem:

          The remediation for updating TLS ciphers for the kubeapi server is broken because the Compliance Operator is missing permissions.

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

          1.7.0 or the latest development content for the Compliance Operator (1.7.1-dev)

      How reproducible:

          100%

      Steps to Reproduce:

          1. Run a profile with the kubelet-configure-tls-cipher-suites-kubeapiserver-operator rule
          2. Apply the remediation
          

      Actual results:

          Compliance Operator errors out trying to apply the remediation due to permission issues:
      
      $ oc get rems platform-kubelet-configure-tls-cipher-suites-kubeapiserver-operator -ojson  | jq .status
      {
        "applicationState": "Error",
        "errorMessage": "Unable to get fix object from ComplianceRemediation. Please update the compliance-operator's permissions: kubeapiservers.operator.openshift.io \"cluster\" is forbidden: User \"system:serviceaccount:openshift-compliance:compliance-operator\" cannot get resource \"kubeapiservers\" in API group \"operator.openshift.io\" at the cluster scope"
      }
      

      Expected results:

          The remediation should apply successfully.

      Additional info:

          

              wsato@redhat.com Watson Sato
              lbragsta@redhat.com Lance Bragstad
              Xiaojie Yuan Xiaojie Yuan
              Maria Simon Marcos Maria Simon Marcos
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: