Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Quick start with your SCM

Use the Manage Scans option to automatically connect to a repository in your SCM tool and run scans from the Xygeni platform.

You can start with GitHub, GitLab, Azure or Bitbucket.

Open Manage Scans

Go to Home → Manage Scans.

Click Add Repository.

Connect a GitHub repository

Select GitHub to install the Xygeni GitHub Application.

Choose the installation scope. You can install it for a user or an organization.

Choose whether Xygeni can access all repositories or only selected repositories.

Click Install & Authorize. Xygeni adds the integration and lists the repositories it can access.

Click Scan Now for the repository you want to scan.

Xygeni starts a GitHub workflow for that scan.

After the scan finishes, results appear in the Dashboard. The project name matches the repository name.

You can also enable notifications. See Notifications.

Connect a GitLab repository

1. Create the integration

  1. Go to Manage Scans.

  2. Click Add Repository.

  3. Select GitLab.

  4. Enter a Personal Access Token with these scopes:

    • api

    • read_repository

    • write_repository

  5. Select the group you want to onboard.

  6. Click Configure.

Ensure the Gitlab token belongs to a user with sufficient permissions/right role. Also, pipeline variable permissions should be set accordingly. Otherwise, this might lead to a configuration failure being displayed.

2. Let Xygeni prepare the pipeline

Click Scan Now for the repository you want to scan.

Xygeni configures the repository based on the default branch settings:

  • If the default branch is not protected, Xygeni commits the pipeline files directly.

  • If the default branch is protected, Xygeni creates a setup merge request.

3. Review the setup merge request for protected branches

If GitLab creates a setup merge request, review and merge it before the first scan runs.

  1. Open the setup merge request in GitLab.

  2. Review the new files:

    • .xygeni-scan-ci.yml

    • .xygeni-scan-now-ci.yml

  3. Review the new include block in .gitlab-ci.yml:

  1. Confirm that XYGENI_TOKEN exists under Settings → CI/CD → Variables.

  2. Approve the merge request if your project requires approvals.

  3. Merge the setup merge request.

4. Run the first scan

When the repository status changes to Ready, click Scan Now again.

Run scans

Manage Scans supports three scan modes for connected repositories.

Run a scan now

  1. Open Manage Scans.

  2. Find the repository.

  3. Click Scan Now.

Xygeni triggers a pipeline on the default branch. Results appear in the dashboard a few minutes later.

Schedule a daily scan

  1. Open Manage Scans.

  2. Find the repository.

  3. Click Scheduled Scan.

  4. Select the daily run time.

  5. Save the schedule.

Xygeni runs the scan automatically at the selected time.

Scan on merge requests or pull requests

  1. Open Manage Scans.

  2. Find the repository.

  3. Click Scan on MR/PR.

Xygeni runs a scan for new or updated merge requests or pull requests that target the default branch.

For more details and additional options, see Managed CI.

Last updated