-
Notifications
You must be signed in to change notification settings - Fork 27
Closed
Description
Requirement coming from :
https://issues.redhat.com/browse/TC-2497
https://issues.redhat.com/browse/TC-2498
Requirement:
- Have a way to fetch all Labels of all SBOMs
- Have a way to fetch all Labels of all Advisories
To be defined:
- Do we need the Label endpoints to return ALL instances or return only a subset of them and allow the result to be filtered. E.g.
GET /api/v2/sbom-labels?q=some_label
?
Why do we need it:
- https://issues.redhat.com/browse/TC-2497 and https://issues.redhat.com/browse/TC-2498 describe the new Feature: "Labels" that will be available for SBOMs and Advisories. We should be able to filter SBOMs/Advisories by Labels. From the UI point of view, there was an agreement coming from UX and PM that we could adopt the OCP way of filtering by Label.
Having the endpoints for Labels will allow the UI to populate the Label Dropdown Filter with all available Labels and let the user choose one of them to start the filtering process.
There might be things we did still not discovered and we can use this issue to track any difficulties we find in the way and ask for feedback to the UX team if we need to change anything.
Metadata
Metadata
Assignees
Labels
No labels