SDLC Context Agent - Add project-level setting part 1 (backend)

What does this MR do and why?

Implements the backend part of the SDLC Context Agent project-level setting (https://gitlab.com/gitlab-org/gitlab/-/work_items/611376).

Query Plan

The query plan in console.postgres.ai can't be generated yet, because the column doesn't exist yet in DB Lab to test against. However, the scope follows the exact same pattern as the existing with_duo_sast_fp_detection_enabled and with_duo_sast_vr_workflow_enabled scopes.

The raw SQL for the new with_duo_vulnerability_context_analysis_enabled scope:

SELECT "project_settings".* FROM "project_settings" WHERE (duo_vulnerability_context_analysis_enabled IS TRUE);

References

Screenshots or screen recordings

N/A. This is a pure backend change. The frontend will be implemented in a follow-up

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Charlie Kroon

Merge request reports

Loading
Loading