Foundational flows

  • Tier: Premium, Ultimate
  • Offering: GitLab.com, GitLab Self-Managed, GitLab Dedicated

Foundational flows are built and maintained by GitLab and display a GitLab-maintained badge ( tanuki-verified ).

Each flow is designed to solve a specific problem or help you with a development task.

The following foundational flows are available:

Configure flow execution CI/CD details

You can configure the environment where flows use CI/CD to execute.

For example, on GitLab Self-Managed, administrators can configure a custom container registry for foundational flow images.

For more information, see Configure flow execution.

Security for foundational flows

In the GitLab UI, foundational flows have access to the following GitLab APIs:

Service accounts

Foundational flows use a service account to complete tasks. For more information, see composite identity workflow.

When foundational flows create merge requests, the merge request is attributed to the service account. This means the user who triggered the flow can approve and merge AI-generated code. Organizations with SOC 2, SOX, ISO 27001, or FedRAMP requirements should review the compliance considerations and implement appropriate approval policies.

Turn foundational flows on or off

You can turn foundational flows on or off for a top-level group (namespace) or an instance. If you turn off foundational flows for a top-level group, users with that group as their default GitLab Duo namespace cannot access foundational flows in any namespace.

You can also turn flow execution on or off to control whether agents run in the GitLab UI. When this setting is turned on, agents execute in CI/CD pipelines and consume compute minutes.

Prerequisites:

  • You must have the Owner role for the group.
  1. On the top bar, select Search or go to and find your group.
  2. Select Settings > GitLab Duo.
  3. Select Change configuration.
  4. Under Flow execution, select the Allow flow execution and Allow foundational flows checkboxes.
  5. Select the checkbox for each foundational flow you want to turn on.
  6. Select Save changes.

You must turn on individual foundational flows for the top-level group. It can take a few minutes for these settings to propagate across groups.

Prerequisites:

  • You must be an administrator.
  1. In the upper-right corner, select Admin.
  2. On the left sidebar, select GitLab Duo.
  3. Select Change configuration.
  4. Under Flow execution, select the Allow flow execution and Allow foundational flows checkboxes.
  5. Select the checkbox for each foundational flow you want to turn on.
  6. Select Save changes.