Parse SAST Config file for Configuration UI

Problem to Solve

We need to be able to parse our gitlab-ci.yml files to read SAST configuration to display in the new configuration UI.

Details

Other links

Note we already have a few things that parse Yaml files:

Implementation Plan

  • Use yaml processor to parse SAST.gitlab-ci.yml and .gitlab-ci.yml
  • Populate the current values in the JSON read from this file.
  • Modify the GraphQL query to support parsing of .gitlab-ci.yml and SAST.gitlab-ci.yml
Edited by Saikat Sarkar