Uploaded image for project: 'Red Hat Advanced Cluster Security'
  1. Red Hat Advanced Cluster Security
  2. ROX-30821

RHCOS BSI Profile in RHACS appears under 'Others' tab

    • False
    • Hide

      None

      Show
      None
    • False
    • Rox Sprint 4.10E, Rox Sprint 4.10F, Rox Sprint 4.10G

      USER PROBLEM

      RHCOS BSI profile appears under 'others'

      CONDITIONS
      What conditions need to exist for a user to be affected? Is it everyone? Is it only those with a specific integration? Is it specific to someone with particular database content? etc.

      This is reproducible 100% of time.

      1. Install CO
      2. Schedule any RHCOS BSI profile using RHACS
      3. Wait for results & inspect them

       

      ROOT CAUSE
      What is the root cause of the bug?

      Initially we decided to extract the benchmark information from the profile CRD (see CMP-2579). As a temporary solution we embedded some configuration files to map benchmarks to profiles. These configuration files need to be updated every time there’s a new profile in the Compliance Operator, otherwise we will see this issue.

      FIX
      How was the bug fixed (this is more important if a workaround was implemented rather than an actual fix)?

      • While we wait for CMP-2579, a solution would be to add regex rules to map profiles to benchmarks (e.g. a profile name containing cis can be mapped to CIS). This will not work if a new profile that maps to a completely new benchmark is added, but at least new versions will be automatically mapped. Since new versions happen fairly frequently and new benchmarks don’t, we think the regex solution is a good trade-off.

        1. image-2025-09-09-10-36-52-220.png
          11 kB
          Steffen Lützenkirchen
        2. image-2025-09-09-10-37-21-037.png
          11 kB
          Steffen Lützenkirchen
        3. image-2025-09-09-10-37-25-515.png
          131 kB
          Steffen Lützenkirchen
        4. image-2025-09-09-10-37-57-492.png
          67 kB
          Steffen Lützenkirchen
        5. image-2025-10-21-10-56-34-878.png
          512 kB
          Maria Simon Marcos
        6. image-2025-10-28-08-55-08-740.png
          11 kB
          Steffen Lützenkirchen
        7. image-2025-10-28-08-55-31-264.png
          29 kB
          Steffen Lützenkirchen
        8. image-2025-11-24-10-20-53-745.png
          34 kB
          Steffen Lützenkirchen
        9. image-2025-11-24-10-21-28-544.png
          12 kB
          Steffen Lützenkirchen
        10. image-2025-12-04-12-27-14-268.png
          31 kB
          Luis Valero Martin

              rh-ee-mtodorov Mladen Todorovic
              sluetzen Steffen Lützenkirchen
              Lance Bragstad, Luis Valero Martin
              ACS Sensor & Ecosystem
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: