メインコンテンツまでスキップ

GitLab

OpenLM は OpenLM Cloud Broker を介して GitLab のシート使用状況とライセンス割り当てを監視します。

はじめに

  • OpenLM Platform テナント。
  • Broker Hub で承認された OpenLM Cloud Broker。
  • A GitLab Owner, Maintainer, or instance Administrator account that can issue a personal access token.

Generate the GitLab personal access token

  1. Sign in to GitLab as a user with permission to issue tokens (Owner, Maintainer, or instance Administrator).
  2. Go to your avatar in the top-right corner and select Edit profile.
  3. In the left sidebar, select Access tokens.
  4. Select Add new token.
  5. Enter a token name and (optional) expiration date.
  6. Grant the token at least the read_api and read_user scopes so OpenLM Cloud Broker can read seat and user data.
  7. Select Create personal access token.
  8. Copy the token and store it securely — GitLab shows the token value only once.
ヒント

For self-managed GitLab, the token UI lives at https://<your-gitlab-host>/-/user_settings/personal_access_tokens. For GitLab.com, use https://gitlab.com/-/user_settings/personal_access_tokens.

OpenLM Cloud Broker に認証情報を登録

  1. OpenLM Cloud Broker ダッシュボードを開きます。

  2. Locate the GitLab integration.

  3. Enter the following values:

    • GitLab host URL (for example, https://gitlab.com or your self-managed URL)
    • Personal access token

    GitLab credential configuration in Cloud Broker Cloud Broker での GitLab 認証情報の設定

  4. Test connection を選択し、テストが成功することを確認します。

  5. Save を選択します。

OpenLM Platform で GitLab を承認

  1. OpenLM Platform にサインインします。
  2. メニューから License ServersPending Server を開きます。
  3. GitLab データソースを選択し、Approve and Merge をクリックします。

連携の検証

  1. OpenLM Platform で Allocation を開きます。
  2. GitLab の利用状況データが表示されることを確認します。
注意

承認後、データの反映まで最大 3 分かかります。

レポートの閲覧

  • ユーザーアクティビティの推移 — プラットフォームで活発に活動しているユーザーを把握し、シートの再配分に活用できます。
  • 期限切れまたは未使用ライセンス — 非アクティブなユーザーを特定し、シートを回収します。

参考