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
Go to Manage Scans.
Click Add Repository.
Select GitLab.
Enter a Personal Access Token with these scopes:
apiread_repositorywrite_repository
Select the group you want to onboard.
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.
Open the setup merge request in GitLab.
Review the new files:
.xygeni-scan-ci.yml.xygeni-scan-now-ci.yml
Review the new
includeblock in.gitlab-ci.yml:
Confirm that
XYGENI_TOKENexists under Settings → CI/CD → Variables.Approve the merge request if your project requires approvals.
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
Open Manage Scans.
Find the repository.
Click Scan Now.
Xygeni triggers a pipeline on the default branch. Results appear in the dashboard a few minutes later.
Schedule a daily scan
Open Manage Scans.
Find the repository.
Click Scheduled Scan.
Select the daily run time.
Save the schedule.
Xygeni runs the scan automatically at the selected time.
Scan on merge requests or pull requests
Open Manage Scans.
Find the repository.
Click Scan on MR/PR.
Xygeni runs a scan for new or updated merge requests or pull requests that target the default branch.
Last updated

