Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-10473

The instructions for some stig rules are missing

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Normal
    • None
    • 4.13.0
    • Compliance Operator
    • None
    • Moderate
    • No
    • 1
    • CMP Sprint 62, CMP Sprint 63
    • 2
    • False
    • Hide

      None

      Show
      None
    • Improved rule instructions for classification_banner, oauth_login_template_set, oauth_logout_url_set, oauth_provider_selection_set, ocp_allowed_registries, and ocp_allowed_registries_for_import rules.

    Description

      Description of problem:

      The instructions for some stig rules are missing 

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

      4.13.0-0.nightly-2023-03-14-053612 + compliance-operator.v0.1.61

      How reproducible:

      Always

      Steps to Reproduce:

      1. Install compliance operator 
      2. Check the instructions for below rules
      ocp4-oauth-login-template-set
      ocp4-oauth-logout-url-set
      ocp4-oauth-provider-selection-set
      ocp4-ocp-allowed-registries
      ocp4-ocp-allowed-registries-for-import
      ocp4-ocp-api-server-audit-log-maxbackup

      Actual results:

      The instructions for below rules are missing.
      $ oc get rule ocp4-oauth-login-template-set -o=jsonpath={.instructions}
      $ oc get rule ocp4-oauth-logout-url-set -o=jsonpath={.instructions}
      $ oc get rule ocp4-oauth-provider-selection-set -o=jsonpath={.instructions}
      $ oc get rule ocp4-ocp-allowed-registries  -o=jsonpath={.instructions}
      $ oc get rule ocp4-ocp-allowed-registries-for-import -o=jsonpath={.instructions}
      $ oc get rule ocp4-ocp-api-server-audit-log-maxbackup -o=jsonpath={.instructions}
      $
      

      Expected results:

      The instructions should be available, thus a user could know the rule should PASS or FAIL easily 

      Additional info:

       

      Attachments

        Activity

          People

            jhrozek@redhat.com Jakub Hrozek
            xiyuan@redhat.com Xiaojie Yuan
            Xiaojie Yuan Xiaojie Yuan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: