Yandex Cloud
Search
Discuss with expertTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
    • Cloud Interconnect
    • Cloud Backup
    • Cloud Registry
    • Yandex AI Studio
    • Compute Cloud
    • Object Storage
    • Managed Service for Kubernetes®
    • Yandex BareMetal
    • Smart Web Security
    • Security Deck
    • Managed Service for PostgreSQL
    • Managed Service for ClickHouse®
    • Monium
    • Cloud CDN
    • Network Load Balancer
    • Virtual Private Cloud
    • Cloud DNS
    • Application Load Balancer
    • Yandex Cloud Video
    • Stackland
    • Yandex Cloud Router
    • Yandex Managed Service for Trino
    • Managed Service for MySQL®
    • Managed Service for Valkey™
    • Managed Service for Apache Spark™
    • Yandex StoreDoc
    • Managed Service for OpenSearch
    • Managed Service for Apache Kafka®
    • Data Transfer
    • Yandex MPP Analytics Engine for PostgreSQL
    • Yandex Managed Service for Apache Airflow®
    • Data Processing
    • Yandex MetaData Hub
    • Managed Service for YDB
    • Managed Service for Sharded PostgreSQL
    • Managed Service for YTsaurus
    • Yandex WebSQL
    • DataLens
    • Yandex Search API
    • SpeechSense
    • SpeechKit
    • DataSphere
    • Vision OCR
    • Translate
    • Yandex Identity Hub
    • Key Management Service
    • Certificate Manager
    • Yandex Lockbox
    • Audit Trails
    • SmartCaptcha
    • Yandex SIEM
    • SourceCraft Code Assistant
    • Container Registry
    • Managed Service for GitLab
    • Managed Service for Prometheus®
    • Cloud Functions
    • API Gateway
    • Yandex Cloud Postbox
    • Message Queue
    • IoT Core
    • Data Streams
    • Serverless Containers
    • Cloud Notification Service
    • Identity and Access Management
    • Yandex Cloud Console
    • Resource Manager
    • Yandex Cloud Billing
    • Yandex Cloud Quota Manager
    • Cloud Apps
  • System Status
  • Marketplace
    • Featured
    • Infrastructure & Network
    • Data Platform
    • AI for business
    • Security
    • DevOps tools
    • Serverless
    • Monitoring & Resources
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
    • Price calculator
    • Pricing plans
  • Customer Stories
  • Documentation
  • Blog
© 2026 Direct Cursus Technology L.L.C.
Yandex Managed Service for GitLab
  • Getting started
    • All guides
    • Getting instance info
    • Creating and activating an instance
    • Configuring security groups
    • Stopping and starting an instance
    • Updating instance settings
    • Managing backups
    • Migrating from a custom GitLab installation
    • Migrating to a different availability zone
    • Cleaning up full disk space
    • Deleting an instance
    • Creating and adding users to a project
    • Setting up approval rules
    • Instance state monitoring
    • Setting up OmniAuth
    • Integration with Object Storage
    • Integrating with SourceCraft Security
    • Working with a managed runner
  • Access management
  • Pricing policy
  • Terraform reference
  • Monitoring metrics
  • Audit Trails events
  • Release notes
  • FAQ

In this article:

  • Enabling integration
  • Enable the SourceCraft Security add-on to for your organization
  • Enable integration in the GitLab instance settings
  • Wait for the repositories to be mirrored
  • Disabling integration
  • Viewing scan results
  • All repositories
  • Specific repository
  1. Step-by-step guides
  2. Integrating with SourceCraft Security

Setting up Managed Service for GitLab integration with SourceCraft Security

Written by
Yandex Cloud
View in Markdown
  • Enabling integration
    • Enable the SourceCraft Security add-on to for your organization
    • Enable integration in the GitLab instance settings
    • Wait for the repositories to be mirrored
  • Disabling integration
  • Viewing scan results
    • All repositories
    • Specific repository

Integrating Managed Service for GitLab with SourceCraft Security enables automatic scanning of code from the repositories of a GitLab instance for secrets and vulnerabilities in both dependencies and the code itself. Repositories are mirrored to SourceCraft. Checks are performed on mirrored repositories, and the SourceCraft Security features are available for them in their entirety.

Warning

For integration, you need the paid SourceCraft Security add-on. The cost is based on the SourceCraft pricing policy.

Repositories are created in the same Yandex Cloud organization where the GitLab instance is located. This organization may be different from the personal organization created automatically during your sign-up to SourceCraft. Make sure the add-on is enabled exactly for the organization the instance is in.

By enabling the integration, you confirm sending the source code to SourceCraft. All repositories of the GitLab instance are mirrored, regardless of their visibility settings. In SourceCraft, mirrored repositories are created as private.

Enabling integrationEnabling integration

Enable the SourceCraft Security add-on to for your organizationEnable the SourceCraft Security add-on to for your organization

SourceCraft UI
  1. Open the SourceCraft home page.

  2. Navigate to the Organizations list and select the Yandex Cloud organization containing the GitLab instance.

  3. On the organization's page, under Security, open the Overview section.

  4. Make sure the SourceCraft Security add-on is enabled. If a prompt to enable the Security add-on appears instead of scan results, enable it for the selected organization.

    If a trial period is available, click Start free trial and follow the instructions in the UI. If you do not have permission to connect the add-on, contact your organization's administrator.

Enable integration in the GitLab instance settingsEnable integration in the GitLab instance settings

Management console
  1. In the management console, select the folder containing your GitLab instance.
  2. Navigate to Managed Service for GitLab.
  3. Select your instance and click Edit in the top-right corner of the page.
  4. Under SourceCraft integration, enable Enable SourceCraft integration.
  5. Click Save.
  6. Wait for the instance update to complete: its status will switch from Updating to Running, and in the Overview section, the SourceCraft integration field will show Enabled.

Tip

You can also enable integration when creating the GitLab instance. First, connect the SourceCraft Security add-on to the organization where the instance will be created.

Wait for the repositories to be mirroredWait for the repositories to be mirrored

SourceCraft UI
  1. Open the organization for which you have enabled the SourceCraft Security add-on.

  2. Navigate to the organization's repository list and wait for the mirrored repositories of the GitLab instance to appear.

    Their names are derived from the path of the source repository, e.g., test-group/test-subgroup/example-repo is transformed into test-group-test-subgroup-example-repo. Learn more about address transformation.

Note

Scans are triggered when commits are pushed to the default branch of the GitLab source repository. Wait for the code to synchronize and the checks to complete, then view the results in SourceCraft.

Disabling integrationDisabling integration

Management console
  1. In the management console, select the folder containing your GitLab instance.
  2. Navigate to Managed Service for GitLab.
  3. Select your instance and click Edit in the top-right corner of the page.
  4. Under SourceCraft integration, disable Enable SourceCraft integration.
  5. Click Save.
  6. Wait for the instance update to complete. Under Overview, the SourceCraft integration field will switch to Disabled.

Viewing scan resultsViewing scan results

The results are available in the SourceCraft vulnerability control center. To grant developers access to them, invite users to the organization and assign roles for the relevant repositories or the organization.

All repositoriesAll repositories

Select the organization where the GitLab instance is located. Its vulnerability control center displays results for all repositories of this organization that are accessible to you.

SourceCraft UI

To open the security dashboard for an organization:

  1. Open the SourceCraft home page.

  2. Go to the Organizations tab and select an organization.

  3. Under Security, navigate to Overview.

    The Secret scanning alerts, Dependencies, and Code scanning alerts dashboards provide the following statistics:

    • Alert status.
    • Resolved alerts breakdown.
    • Alerts by severity level (Dependencies and Code scanning alerts dashboards).

    To access detailed lists of issues of a specific type, click next to the dashboard header.

    This page also provides a full list of detected security issues with the following information:

    • Repository name.
    • Issue type.
    • Scanner that detected the problem.
    • Last scan time.
    • Warning data.

Specific repositorySpecific repository

Select the mirrored SourceCraft repository matching the source GitLab repository.

SourceCraft UI

To open the security dashboard for a repository:

  1. Open the SourceCraft home page.

  2. On the Home tab, navigate to Repositories and select a repository.

  3. Under  Security on the repository page, go to  Overview.

    The Secret scanning alerts, Dependency scanning alerts, and Code analysis alerts dashboards provide the following statistics:

    • Alert status.
    • Resolved alerts breakdown.
    • Alerts by severity level (Dependency scanning alerts and Code analysis alerts dashboards).

    To download SARIF (Static Analysis Results Interchange Format) or SBOM (Software Bill of Materials) files in SPDX format for audit or integration with external systems, click Download SARIF or Download SBOM on the dashboard.

    The security dashboard also shows the last scan time.

Useful linksUseful links

  • Integrating Managed Service for GitLab with SourceCraft Security.
  • Scanning secrets.
  • Analyzing dependencies.
  • License policy as code.
  • Static application security testing.
  • AI-powered vulnerability analysis and prioritization.
  • Scan history.
  • Setting up a custom security analyzer.

Was the article helpful?

Previous
Integration with Object Storage
Next
Working with a managed runner
© 2026 Direct Cursus Technology L.L.C.