GraphQL APIs for listing project compliance violations
Description
Add GraphQL API to list the project compliance violations for all the projects within the given namespace. This API would be used at the group level dashboard as per this design.
Implementation plan
-
Add migration for adding index on created at and id columns for project_compliance_violations
table, it will be used for sorting the data to be presented. - !192746 (merged) -
Create compliance violations finder similar to https://gitlab.com/gitlab-org/gitlab/-/blob/master/ee/app/finders/compliance_management/compliance_framework/project_requirement_status_finder.rb. - !192606 (merged) -
Move the status enum from compliance violation model to enum file and also create compliance violation status enum graphql type - !192606 (merged) -
Create graphql type for compliance violation. - !192606 (merged) -
Create query under group GraphQL query. - !192606 (merged) -
Create MR for adding audit event graphql type - !195576 (merged) -
Add compliance framework graphql field in compliance requirement graphql type and compliance requirement field to compliance requirements control graphql type. - !193122 (merged) -
Add filtering for projects, status, framework, controls and created_at(after, before).
Edited by Nate Rosandich