Add toggle for continuous vulnerability scans
Related issue: #423903 (closed)
What does this MR do and why?
-
Add component to render the toggle -
Add Experiment
badge -
Add link to testing agreement -
Add feature flag check on the frontend (#419550 (closed)) -
Consume toggle value from the presenter, dependent on !131315 (merged) -
Add GraphQL mutation for toggle, dependent on !131450 (merged) -
Add error handling -
Add test cases
Screenshots or screen recordings
- When feature flag is disabled (no visual changes)
- When feature flag is enabled but dependency scanning is not configured
- When feature flag is enabled and dependency scanning is configured
How to set up and validate locally
- Visit security configuration page at http://127.0.0.1:3000/flightjs/Flight/-/security/configuration/?tab=security-testing
- The toggle will only be visible when
dependency_scanning_on_advisory_ingestion
is true - The toggle should trigger a graphql mutation
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.
Edited by Dheeraj Joshi