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