Werk #16100: licensing: the 'settings' field is now required for license configuration

Komponente REST API
Titel licensing: the 'settings' field is now required for license configuration
Datum 14.09.2023
Checkmk Edition Checkmk Raw (CRE)
Checkmk-Version 2.2.0p10 2.3.0b1
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Inkompatibel - Manuelle Interaktion könnte erforderlich sein

This werk addresses an issue found by our QA team with regards to the following endpoint

PUT /domain-types/licensing/actions/configure/invoke

Previously, we got an internal server error when attempting to call this endpoint with no 'settings' field or with no data for the 'settings' field. We have now made 'settings' a required field and the correct request data must be present.

Examples of correct request data

{
    "settings": {
        "mode": "offline"
    }
}

or

{
    "settings": {
        "mode": "online",
        "credentials": {
            "username": "application-account-id",
            "password": "application-account-password"
        }}
}

Zur Liste aller Werks