Skip to content

Connect mutation for security training configuration

What does this MR do and why?

In this MR we connect security training configuration with a local resolver that will save the enable/disable status of the provider.

This MR is part of the new security training feature, please see the epic for details and the implementation breakdown > &6176 (closed)

Screenshots or screen recordings

toggle-security-training

Note

We have a follow up issue to handle both the GraphQL error and Network Error here > #348711 (closed)

How to set up and validate locally

This feature is behind a feature flag, to enable

rails c

Feature.enable(:secure_vulnerability_training)
  1. Navigate to Security & Compliance > Configuration
  2. Click on the "Vulnerability Management" tab
  3. Click on the toggle of the provider and it will toggle

Note: the actual backend implementation of the GraphQL mutation will be developed in this issue > #346479 (closed). So the data will not be persisted when refereshed.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #347414 (closed)

Edited by Samantha Ming

Merge request reports