Fetch reports from V2
What does this MR do and why?
This MR fetches reports from the newly-introduced V2 endpoints. These endpoints return the non-cached state
property for findings. We will have to use the securityReportFinding
query in GraphQL to fetch feedback objects when the finding is opened through a modal, but I'll work on that in a separate MR.
Screenshots or screen recordings
No visual changes.
How to set up and validate locally
- Enable feature flag:
:refactor_security_extension
- Fork https://gitlab.com/gitlab-examples/security/security-reports
- Create a new MR by modifying a file
- Visit the MR page and check that the security reports load as expected.
Clicking on a finding will open a mostly empty modal. This is a known-issue that will be fixed in a separate MR.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #393632 (closed)