Add more license details to license probe
What does this MR do and why?
This MR adds:
- Gitlab Version
- Gitlab Instance ID
- More license details, like
add_on_products
(add_on_purchased)
{
"name": "license_probe",
"success": true,
"message": "Subscription can be synchronized.",
"details": {
"instance_id": "75b5df50-d96c-43cf-881a-49c457d46e34",
"gitlab_version": "17.4.0-pre",
"license": {
"version": 1,
"licensee": {
"Name": "Nikola Milojevic",
"Email": "admin@example.com",
"Company": "Nikola Milojevic"
},
"starts_at": "2024-09-04",
"expires_at": "2025-09-04",
"notify_admins_at": "2025-08-04",
"notify_users_at": "2025-09-18",
"block_changes_at": "2025-09-18",
"last_synced_at": "2024-09-04T12:20:44.000+00:00",
"next_sync_at": "2024-09-05T12:20:44.000+00:00",
"activated_at": "2024-09-04T11:16:00.000+00:00",
"cloud_licensing_enabled": true,
"offline_cloud_licensing_enabled": false,
"auto_renew_enabled": false,
"seat_reconciliation_enabled": false,
"operational_metrics_enabled": false,
"generated_from_customers_dot": true,
"generated_from_cancellation": false,
"temporary_extension": false,
"restrictions": {
"id": 12,
"previous_user_count": null,
"trueup_period_seat_count": null,
"trueup_quantity": null,
"trueup_from": null,
"trueup_to": null,
"active_user_count": 10,
"subscription_id": "8a8aa0fe917ed4990191bcbe7b2f48e4",
"subscription_name": "A-S00202226",
"plan": "ultimate",
"trial": false,
"reconciliation_completed": false,
"code_suggestions_seat_count": 0,
"add_on_products": {
"duo_enterprise": [
{
"quantity": 10,
"started_on": "2024-09-04",
"expires_on": "2025-09-04",
"purchase_xid": "C-00316247",
"trial": false
}
]
}
}
}
},
"errors": {
}
},
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.