Skip to content

Create a graphQL based security dashboard

Problem to solve

Fist class vulnerabilities use a GraphQL endpoint. The dashboards use Vuex. We want the dashboards to start displaying First class vulnerabilities. Therefore, we need a GraphQL based security dashboard.

Further details

This is a sub-issue of #209314 (closed). It only intends to create a GraphQL version of the dashboard that pulls in the vulnerability list. The rest will be added in subsequent issues.

Proposal

We already have a POC done in this branch. That branch isn't clean, so we'd need to start again but it's useful to follow for guidance.

Permissions and Security

All of this should be behind the first_class_vulnerabilities feature flag.

Documentation

We should update #204847 (closed) to only include the docs for the standalone page. This issue should sort the docs for the new dashboard updates. We should create a seperate page so the previous docs still exist for users with the feature flag turned off.

Availability & Testing

This will require a new set of tests. I don't think any existing tests will need to be updated as it's a new component that passes data to old components.

What does success look like, and how can we measure that?

If we can successfully render a GraphQL based vulnerability list when the first_class_vulnerabilities feature flag is turned on.

Links / references

GraphQL demo branch

Edited by Sam Beckham