-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
None
-
None
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