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

[Layer Filtering] Fix search term mismatch between UI and backend

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • None
    • Rox Sprint 4.10G

      Overview:
      The "Layer type" filter in Vulnerability Management uses a search term that doesn't match the backend, causing the filter to silently fail.

      Problem:

      • UI sends: Component Layer Type
      • Backend expects: Component From Base Image

      Implementation Details:
      Update the search term and filter values in the UI to match the backend boolean field.

      Acceptance Criteria:

      • [ ] Filter search term changed from Component Layer Type to Component From Base Image
      • [ ] Filter values changed from APPLICATION/BASE_IMAGE to false/true
      • [ ] Layer type filter correctly filters components in Workload CVEs

      Files to Update:
      1. apps/platform/src/Components/CompoundSearchFilter/attributes/imageComponent.ts - Update searchTerm and option values

              schaudhr Saif Chaudhry
              schaudhr Saif Chaudhry
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: