Fixes fetching Scan Report Concepts at Scan Reports Fields/Values page level, to be conditional based on if fields/values exist.
The issue was that if no fields/values existed, Concepts would still be fetched without the filtering, resulting in long running queries. A few of these in succession (for example, through revalidation) could slow the API down to a halt.
Additionally adding pagination to the endpoints used, and therefore updating the client to fetch all pages where necessary.
We will probably now upgrade any unpaginated endpoint to a v2 with pagination, this is a general concern across every endpoint.
Additionally adds a Forbidden layout - if the user does not have permission to see the Scan Report.
Related #761
Checks
Important: please complete these before merging.
[x] Run migrations, if any.
[x] Update changelog.md, including migration instructions if any.
Changes
Fixes fetching Scan Report Concepts at Scan Reports Fields/Values page level, to be conditional based on if fields/values exist. The issue was that if no fields/values existed, Concepts would still be fetched without the filtering, resulting in long running queries. A few of these in succession (for example, through revalidation) could slow the API down to a halt.
Additionally adding pagination to the endpoints used, and therefore updating the client to fetch all pages where necessary. We will probably now upgrade any unpaginated endpoint to a
v2
with pagination, this is a general concern across every endpoint.Additionally adds a Forbidden layout - if the user does not have permission to see the Scan Report.
Related #761
Checks
Important: please complete these before merging.
changelog.md
, including migration instructions if any.