Branch: refs/heads/2.2.0
Home: https://github.com/Checkmk/checkmk
Commit: bc205577070243117629cfef2ce09957edd0659a
https://github.com/Checkmk/checkmk/commit/bc205577070243117629cfef2ce09957e…
Author: Luka Racic <luka.racic(a)checkmk.com>
Date: 2024-03-07 (Thu, 07 Mar 2024)
Changed paths:
A .werks/16340
M cmk/base/plugins/agent_based/inventory_docker_node_images.py
M tests/unit/cmk/base/plugins/agent_based/test_inventory_docker_node_images.py
Log Message:
-----------
16340 FIX docker_node_images: KeyError: 'VirtualSize'
In newer versions of the Docker API the information about the 'VirtualSize' of a node image is not available, because it has been deprecated.
From now on the plugin will use 'VirtualSize' if available, and 'Size' if not.
CMK-15780
Change-Id: Ia10449bf58d52aa80de6328d2042d25265d6e26a
To unsubscribe from these emails, change your notification settings at https://github.com/Checkmk/checkmk/settings/notifications
Branch: refs/heads/master
Home: https://github.com/Checkmk/checkmk
Commit: 442ece97ab6cd456693bbb773ff54fb5996d341c
https://github.com/Checkmk/checkmk/commit/442ece97ab6cd456693bbb773ff54fb59…
Author: Sven Panne <sven.panne(a)checkmk.com>
Date: 2024-03-07 (Thu, 07 Mar 2024)
Changed paths:
M packages/check-cert/run
Log Message:
-----------
Refactoring to avoid shellcheck pragmas.
This opens up the way for adding a feature option to the script, too.
Change-Id: Idbc77e92083c1ef96507be513b22d712c23c42b7
Commit: fc1c0dc9d9efcc743ae2bb3399649d221eca5957
https://github.com/Checkmk/checkmk/commit/fc1c0dc9d9efcc743ae2bb3399649d221…
Author: Wontek Hong <wontek.hong(a)checkmk.com>
Date: 2024-03-07 (Thu, 07 Mar 2024)
Changed paths:
A .werks/16501.md
M bin/.f12
A bin/cmk-trigger-api-spec-job
M omd/packages/apache-omd/skel/etc/init.d/apache
M tests/testlib/pylint_checker_cmk_module_layers.py
Log Message:
-----------
16501 omd: trigger openapi-spec generation job during start, restart & reload
Werk 15724 introduces a mechanism for regenerating the API specification,
which, in certain instances, is executed as a background job due to the
potential time required for completion. This update modifies the omd start,
restart, and reload commands to initiate this specific background job upon
execution. Users should be aware that triggering the job does not result
in immediate availability of the updated documentation; there may be a
delay before the documentation is updated. This saves the user from having
to trigger and wait for the specification regeneration manually in case
relevant changes have been made outside the user interface and the apache
process needs to be restarted.
Based on werk 15724 the specification is now updated in these situations:
* post-create hook: Create the initial spec after a site has been created
* post rename action: Update the spec after a site has been copied, restored or renamed
* update-config action: Update the spec after the site has been updated
* omd apache: Update the spec when the apache process is started, restarted or reloaded
Change-Id: I769d927192e1ec03fd2f433839caf7eca7c733bb
Compare: https://github.com/Checkmk/checkmk/compare/db4b12e5d8f1...fc1c0dc9d9ef
To unsubscribe from these emails, change your notification settings at https://github.com/Checkmk/checkmk/settings/notifications
Branch: refs/heads/2.3.0
Home: https://github.com/Checkmk/checkmk
Commit: 029997a8c5ab5eb78357ecf78640806cfbe4bbad
https://github.com/Checkmk/checkmk/commit/029997a8c5ab5eb78357ecf78640806cf…
Author: Leonardo Petrora <leonardo.petrora(a)checkmk.com>
Date: 2024-03-07 (Thu, 07 Mar 2024)
Changed paths:
A .werks/16579.md
M cmk/gui/livestatus_utils/commands/downtimes.py
M cmk/gui/openapi/endpoints/downtime/__init__.py
M cmk/gui/openapi/endpoints/downtime/request_schemas.py
M cmk/utils/livestatus_helpers/testing.py
M tests/testlib/rest_api_client.py
M tests/unit/cmk/gui/openapi/test_openapi_downtime.py
Log Message:
-----------
16579 downtimes: Added 'modify downtimes' endpoint
With this Werk a new endpoint for modifying downtimes is incorporated.
It is possible to modify the comment and the end timestamp as in the GUI.
The selection of downtimes to modify can be done by id, by query, or by
hostname and service description.
Method: PUT
URL: domain-types/downtime/actions/modify/invoke
CMK-16144
Change-Id: I216e77a8b7e7821393f48a0cd9ec77503f20addc
To unsubscribe from these emails, change your notification settings at https://github.com/Checkmk/checkmk/settings/notifications
Branch: refs/heads/2.2.0
Home: https://github.com/Checkmk/checkmk
Commit: 87a294014e753721cf4cc2852a4d0a1b5c2addfc
https://github.com/Checkmk/checkmk/commit/87a294014e753721cf4cc2852a4d0a1b5…
Author: Leonardo Petrora <leonardo.petrora(a)checkmk.com>
Date: 2024-03-07 (Thu, 07 Mar 2024)
Changed paths:
A .werks/16579
M cmk/gui/livestatus_utils/commands/downtimes.py
M cmk/gui/plugins/openapi/endpoints/downtime/__init__.py
M cmk/gui/plugins/openapi/endpoints/downtime/request_schemas.py
M cmk/utils/livestatus_helpers/testing.py
M tests/testlib/rest_api_client.py
M tests/unit/cmk/gui/plugins/openapi/test_openapi_downtime.py
Log Message:
-----------
16579 downtimes: Added 'modify downtimes' endpoint
With this Werk a new endpoint for modifying downtimes is incorporated.
It is possible to modify the comment and the end timestamp as in the GUI.
The selection of downtimes to modify can be done by id, by query, or by
hostname and service description.
Method: PUT
URL: domain-types/downtime/actions/modify/invoke
CMK-16144
Change-Id: I216e77a8b7e7821393f48a0cd9ec77503f20addc
To unsubscribe from these emails, change your notification settings at https://github.com/Checkmk/checkmk/settings/notifications
Branch: refs/heads/master
Home: https://github.com/Checkmk/checkmk
Commit: 577607466be109dc117aef2ec7a1cc5978913c4c
https://github.com/Checkmk/checkmk/commit/577607466be109dc117aef2ec7a1cc597…
Author: Mathias Laurin <mathias.laurin(a)checkmk.com>
Date: 2024-03-07 (Thu, 07 Mar 2024)
Changed paths:
M tests/Makefile
Log Message:
-----------
Reland "Separate targets for doctests and unit tests"
This reverts commit 7bd41718e672404e9a7c791bc709eee720ed5e2c.
Change-Id: I561092b631ef4382856a33c6728554857f0dec04
Commit: c79c4a41e92ffda75bf0cc10cbac6cc2be51e9be
https://github.com/Checkmk/checkmk/commit/c79c4a41e92ffda75bf0cc10cbac6cc2b…
Author: Kenneth Okoh <kenneth.okoh(a)checkmk.com>
Date: 2024-03-07 (Thu, 07 Mar 2024)
Changed paths:
M web/htdocs/js/modules/forms.ts
Log Message:
-----------
Fix XSS vulnerability in select2 dropdowns
Change-Id: Ia84c09c25b3d217027eab20e038167ce2f978e4c
Commit: 9dc3a4718b876a2ad8177ae3096f0222a5259582
https://github.com/Checkmk/checkmk/commit/9dc3a4718b876a2ad8177ae3096f0222a…
Author: Christoph Rauch <christoph.rauch(a)checkmk.com>
Date: 2024-03-07 (Thu, 07 Mar 2024)
Changed paths:
M cmk/gui/openapi/restful_objects/permissions.py
Log Message:
-----------
permission verification: clarify documention
Change-Id: I6e647db8b50ae3457dd9e192ef6f48305827cdf5
Commit: db4b12e5d8f1e50805c3d1f60194c64b2c7a8df1
https://github.com/Checkmk/checkmk/commit/db4b12e5d8f1e50805c3d1f60194c64b2…
Author: Christoph Rauch <christoph.rauch(a)checkmk.com>
Date: 2024-03-07 (Thu, 07 Mar 2024)
Changed paths:
M cmk/gui/bi/_openapi/__init__.py
M cmk/gui/mkeventd/_openapi/__init__.py
M cmk/gui/openapi/endpoints/acknowledgement/__init__.py
M cmk/gui/openapi/endpoints/activate_changes/__init__.py
M cmk/gui/openapi/endpoints/audit_log/__init__.py
M cmk/gui/openapi/endpoints/aux_tags/__init__.py
M cmk/gui/openapi/endpoints/cert/__init__.py
M cmk/gui/openapi/endpoints/comment/__init__.py
M cmk/gui/openapi/endpoints/contact_group_config/__init__.py
M cmk/gui/openapi/endpoints/downtime/__init__.py
M cmk/gui/openapi/endpoints/folder_config/__init__.py
M cmk/gui/openapi/endpoints/host/__init__.py
M cmk/gui/openapi/endpoints/host_config/__init__.py
M cmk/gui/openapi/endpoints/host_group_config/__init__.py
M cmk/gui/openapi/endpoints/host_internal/__init__.py
M cmk/gui/openapi/endpoints/host_tag_group/__init__.py
M cmk/gui/openapi/endpoints/notification_rules/__init__.py
M cmk/gui/openapi/endpoints/password/__init__.py
M cmk/gui/openapi/endpoints/rule/__init__.py
M cmk/gui/openapi/endpoints/ruleset/__init__.py
M cmk/gui/openapi/endpoints/service/__init__.py
M cmk/gui/openapi/endpoints/service_discovery/__init__.py
M cmk/gui/openapi/endpoints/service_group_config/__init__.py
M cmk/gui/openapi/endpoints/site_management/__init__.py
M cmk/gui/openapi/endpoints/time_periods/__init__.py
M cmk/gui/openapi/endpoints/user_config/__init__.py
M cmk/gui/openapi/endpoints/user_role/__init__.py
M cmk/gui/openapi/restful_objects/decorators.py
R cmk/gui/openapi/restful_objects/permissions.py
M cmk/gui/openapi/spec_generator.py
A cmk/gui/utils/permission_verification.py
M tests/unit/cmk/gui/openapi/test_endpoint.py
Log Message:
-----------
move restful_object.permissions to cmk.utils.permission_verification
Change-Id: Id3f72336f42c42f990434197956973f041562dd7
Compare: https://github.com/Checkmk/checkmk/compare/e240d2466453...db4b12e5d8f1
To unsubscribe from these emails, change your notification settings at https://github.com/Checkmk/checkmk/settings/notifications
Branch: refs/heads/2.2.0
Home: https://github.com/Checkmk/checkmk
Commit: 3b2e1f5fbb7e128191c6e7b52d28bccadf326281
https://github.com/Checkmk/checkmk/commit/3b2e1f5fbb7e128191c6e7b52d28bccad…
Author: Leonardo Petrora <leonardo.petrora(a)checkmk.com>
Date: 2024-03-07 (Thu, 07 Mar 2024)
Changed paths:
A .werks/16210
M cmk/gui/plugins/openapi/endpoints/folder_config/__init__.py
M cmk/gui/plugins/openapi/endpoints/folder_config/request_schemas.py
M cmk/gui/watolib/hosts_and_folders.py
M cmk/gui/watolib/predefined_conditions.py
M tests/testlib/rest_api_client.py
M tests/unit/cmk/gui/plugins/openapi/test_openapi_folder_config.py
Log Message:
-----------
16210 FIX folder_config: Prevent unintentional deletion of a non-empty folder
Prior to this Werk, the REST API could delete non-empty folders without any further check. With this Werk, the endpoint now accepts the delete_method query parameter. The possible values are:
- recursive: Deletes the folder and all the elements it contains.
- abort_on_nonempty: Deletes the folder only if it is not empty
If no delete_method is provided, "recursive" is asumed and the behaviour is the same as before this Werk.
The enpoint will return a 409 status code when trying to delete a folder that contains hosts, rules, subfolders or is referenced by another object.
Use example:
`curl -X 'DELETE' 'http://example.com/my_site/check_mk/api/1.0/objects/folder_config/my_folder…' -H 'accept: */*`
SUP-16540
Change-Id: I3b94ed9eef56a94f6e4b8d1908f0bfd5527b35ac
To unsubscribe from these emails, change your notification settings at https://github.com/Checkmk/checkmk/settings/notifications
Branch: refs/heads/master
Home: https://github.com/Checkmk/checkmk
Commit: e240d246645380cfd7650df19b7106ca599c0f16
https://github.com/Checkmk/checkmk/commit/e240d246645380cfd7650df19b7106ca5…
Author: Leonardo Petrora <leonardo.petrora(a)checkmk.com>
Date: 2024-03-07 (Thu, 07 Mar 2024)
Changed paths:
A .werks/16579.md
M cmk/gui/livestatus_utils/commands/downtimes.py
M cmk/gui/openapi/endpoints/downtime/__init__.py
M cmk/gui/openapi/endpoints/downtime/request_schemas.py
M cmk/utils/livestatus_helpers/testing.py
M tests/testlib/rest_api_client.py
M tests/unit/cmk/gui/openapi/test_openapi_downtime.py
Log Message:
-----------
16579 downtimes: Added 'modify downtimes' endpoint
With this Werk a new endpoint for modifying downtimes is incorporated.
It is possible to modify the comment and the end timestamp as in the GUI.
The selection of downtimes to modify can be done by id, by query, or by
hostname and service description.
Method: PUT
URL: domain-types/downtime/actions/modify/invoke
CMK-16144
Change-Id: I216e77a8b7e7821393f48a0cd9ec77503f20addc
To unsubscribe from these emails, change your notification settings at https://github.com/Checkmk/checkmk/settings/notifications