Quick start with your code repository
Last updated
Use Managed Scans to connect a repository and run scans from Xygeni.
Xygeni configures the required automation for you. You can start with GitHub or GitLab.
Go to Home → Managed Scans.

Click Add 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.
Go to Managed Scans.
Click Add Repository.
Select GitLab.
Enter a Personal Access Token with these scopes:
api
read_repository
write_repository
Select the group you want to onboard.
Click Configure.
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.
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 include block in .gitlab-ci.yml:
Confirm that XYGENI_TOKEN exists under Settings → CI/CD → Variables.
Approve the merge request if your project requires approvals.
Merge the setup merge request.
When the repository status changes to Ready, click Scan Now again.
Managed Scans supports three scan modes for connected repositories.
Open Managed Scans.
Find the repository.
Click Scan Now.
Xygeni triggers a pipeline on the default branch. Results appear in the dashboard a few minutes later.
Open Managed Scans.
Find the repository.
Click Scheduled Scan.
Select the daily run time.
Save the schedule.
Xygeni runs the scan automatically at the selected time.
Open Managed 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.
For more details and additional options, see Manage Scans.
Last updated
include:
- local: '.xygeni-scan-ci.yml'
- local: '.xygeni-scan-now-ci.yml'
rules:
- if: $XYGENI_SCAN_NOW == 'true'
