Skip to content

OperatorGroup aggregate roles include wildcards which violate Kubernetes CIS 5.1.3 #2727

@cdjohnson

Description

@cdjohnson

Feature Request

Is your feature request related to a problem? Please describe.
The OpenShift Compliance Operator includes a CIS Benchmark rule set that enforces the OpenSCAP CIS OpenShift 4 Benchmark which includes Kubernetes CIS Benchmark 5.1.3:

Defining OperatorGroups intentionally creates ClusterRoles with wildcards which violates one of the rules:

Describe the solution you'd like
Instead of providing wildcards for the verbs for the CRDs and APIs provided by the operator, provide instructions in the ClusterServiceVersion that describe what verbs the controller needs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featureCategorizes issue or PR as related to a new feature.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions