# GitLab

GitLab is a DevOps software package that can develop, secure, and operate software.

### Usage of GitLab in Delivery Shield

* Delivery Shield can run security analysis to identify the GitHub security posture using frameworks such as [OpenSSF Score card](https://docs.opsmx.com/opsmx-secure-software-delivery-ssd-platform/user-guide/compliance-automation/openssf-scorecard). &#x20;
* It also collects metadata such as repository name, branch, list of commits, approvers etc., to perform supply chain security related analysis and populate it on the DBOM for audit purposes.&#x20;

### To Integrate Gitlab:

1. Navigate to **Setup** > **Integrations**.
2. In the **Source** panel, click **Gitlab**.
3. The Gitlab integration page is displayed. Click **+New Account**.

<figure><img src="https://2047464521-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MBEa1hoX6SqpDj-ymNs%2Fuploads%2FLBZxyvZ8XJOYepCBbNHV%2Fgitlab%201.png?alt=media&#x26;token=92c999e2-ae2c-4ef0-8130-f538b04944be" alt=""><figcaption></figcaption></figure>

4. In the popup that appears, enter the following details:

<figure><img src="https://2047464521-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MBEa1hoX6SqpDj-ymNs%2Fuploads%2FV3fzkaYWmzagKzGUunhw%2Fgitlab%202.png?alt=media&#x26;token=ce4f3b9d-841b-4939-80db-141c9372309a" alt=""><figcaption></figcaption></figure>

5. Enter the **Account Name, API URL** and **Token** values of your Gitlab account.
6. Click **Save**. The tool is integrated in the source stage.&#x20;
7. You can edit the entered Gitlab values by clicking the **Edit** option as shown below:

<figure><img src="https://2047464521-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MBEa1hoX6SqpDj-ymNs%2Fuploads%2FJgOXcRAeCFWFo1t6VtYk%2Fgitlab%20edit.png?alt=media&#x26;token=71441448-e6d0-4ae9-8b87-983d35377f32" alt=""><figcaption></figcaption></figure>

8. Enter the new values and click **Update**.&#x20;

<figure><img src="https://2047464521-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MBEa1hoX6SqpDj-ymNs%2Fuploads%2FpfzF3g6Fe162TsdSRKXF%2Fgitlab%203.png?alt=media&#x26;token=91a4aa3a-1f06-4a5f-835d-5e9595f04613" alt=""><figcaption></figcaption></figure>

The new values get updated.&#x20;

\
\ <br>
