openshift / compliance-operator

Operator providing OpenShift cluster compliance checks
Apache License 2.0
110 stars 110 forks source link

Gather /version when doing Platform scans #710

Closed JAORMX closed 3 years ago

JAORMX commented 3 years ago

For other kubernetes distros, we rely on the version given by the kube api server in order to determine the CPE in SCAP. Let's gather this endpoint always as it's harmless and helps us scan other kube distros.

Signed-off-by: Juan Antonio Osorio Robles jaosorior@redhat.com

openshift-ci[bot] commented 3 years ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: JAORMX

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[OWNERS](https://github.com/openshift/compliance-operator/blob/master/OWNERS)~~ [JAORMX] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment