Skip to content

This is a helper rule to fetch the required api resource for detecting HyperShift OCP version

An XCCDF Rule

Description

no description

warning alert: Warning

This rule's check operates on the cluster configuration dump. Therefore, you need to use a tool that can query the OCP API, retrieve the following:
  • /apis/hypershift.openshift.io/v1beta1/namespaces/{{.hypershift_namespace_prefix}}/hostedclusters/{{.hypershift_cluster}} API endpoint, filter with with the jq utility using the following filter [.status.version.history[].version] and persist it to the local /hypershift/version file. This rule will be a hidden rule true true

Rationale

no rationale

ID
xccdf_org.ssgproject.content_rule_version_detect_in_hypershift
Severity
Medium
Updated