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

XCCDF variable values are not rendered in the API objects

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • None
    • CMP Sprint 37

      e.g.

      {{ Run the following command on the kubelet node(s):}}
      {{ <pre>$ oc debug -q node/$NODE – jq -r '.evictionSoft."memory.available"' /host/etc/kubernetes/kubelet.conf</pre>}}
      {{ and make sure it outputs}}
      {{ <pre>{{{ xccdf_value("var_kubelet_evictionsoft_memory_available") }}}</pre>}}

       

      gets rendered as:

      Instructions: Run the following command on the kubelet node(s):
      $ oc debug -q node/$NODE – jq -r '.evictionSoft."memory.available"' /host/etc/kubernetes/kubelet.conf
      and make sure it outputs

       

      This means the user has no idea how to debug the failing rule

              wenshen@redhat.com Vincent Shen
              jhrozek@redhat.com Jakub Hrozek (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: