Improve pagination functionality in RHACS API
Environment
- Red Hat Advanced Cluster Security for Kubernetes (RHACS)
- 4
Issue
- Currently, when attempting to retrieve the list of policies from the
RHACS API, users encounter limitations with thepaginationfunctionality. Specifically, the parameterspagination.limitandpagination.offsetdo not function as expected. - Despite setting a limit, the API returns the maximum number of results, disregarding the specified limit.
- Additionally, the
offset parameterfails to apply, resulting in the inability to navigate through paginated data effectively.
Resolution
This issue has been reported to Red Hat engineering. It is being tracked in Internal Bug ROX-22797. For more information, please open a new support case
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Comments