Skip to content

Adds new resolver for pipeline execution policy type

What does this MR do and why?

This MR adds new resolver

New GraphQl resolver for pipeline execution policy type

MR acceptance checklist

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

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Description UI
Query Screenshot 2024-04-22 at 19.57.39.png

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Go to graphql-explorer and query for pipelineExecutionPolicies
    1. Use:

      {
        group(fullPath:"gitlab-policies") {
          pipelineExecutionPolicies {
            nodes {
              name
              description
              enabled
              policyScope {
                complianceFrameworks {
                  nodes {
                    id
                    name
                  }
                }
                includingProjects {
                  nodes {
                    id
                  }
                }
                excludingProjects {
                  nodes {
                    id
                  }
                }
              }
            }
          }    
        }
      }
      

Related to #454951 (closed)

Edited by Artur Fedorov

Merge request reports