Add ability to search instanceSecurityDashboard.projects GraphQL query

Why are we doing this work

The Group.projects GraphQL query (projects for a group) allows searching:

ksnip_20210217-230022

However, the instanceSecurityDashboard.projects GraphQL query (projects manually added to an instance's security dashboard) does not:

ksnip_20210217-230330

We should add the search ability to this query as well, to match the functionality of the Group.projects query.

Relevant links

Non-functional requirements

  • Documentation: Update GraphQL docs
  • Testing: Update/add tests for query parameters

Implementation plan

  • backend Add query parameters for project in ee/app/assets/javascripts/security_dashboard/graphql/queries/get_instance_security_dashboard_projects.query.graphql
Edited by Jonathan Schafer