Branch: refs/heads/2.2.0
Home: https://github.com/tribe29/checkmk
Commit: 1ce1683a85321e9beaa2cbe0270599f404e2c750
https://github.com/tribe29/checkmk/commit/1ce1683a85321e9beaa2cbe0270599f40…
Author: Wontek Hong <wontek.hong(a)tribe29.com>
Date: 2023-03-24 (Fri, 24 Mar 2023)
Changed paths:
A .werks/15427
M cmk/fields/base.py
M cmk/gui/plugins/openapi/restful_objects/request_schemas.py
M tests/testlib/rest_api_client.py
M tests/unit/cmk/gui/conftest.py
M tests/unit/cmk/gui/plugins/openapi/test_openapi_host_tag_group.py
Log Message:
-----------
15427 FIX host_tag_group: introducing minLength validation to create and edit endpoints
Prior to this werk, the user was allowed to call the create and edit host tag group
endpoints with an empty list for the tags. This caused a 500 error. This werk restricts
this and raises a 400 error instead.
Change-Id: I2583fb886a1eb0f5ca8fb0aeef50eb472361efa4
Commit: 5431b276d94d6b7e6b7b173112e96e257516df5a
https://github.com/tribe29/checkmk/commit/5431b276d94d6b7e6b7b173112e96e257…
Author: Wontek Hong <wontek.hong(a)tribe29.com>
Date: 2023-03-24 (Fri, 24 Mar 2023)
Changed paths:
A .werks/15506
M cmk/gui/plugins/openapi/endpoints/time_periods/__init__.py
M cmk/gui/plugins/openapi/endpoints/time_periods/request_schemas.py
M cmk/gui/plugins/openapi/restful_objects/parameters.py
M cmk/gui/wato/pages/timeperiods.py
M cmk/gui/watolib/timeperiods.py
M tests/unit/cmk/gui/plugins/openapi/test_openapi_time_period.py
Log Message:
-----------
15506 FIX time_period: restrict name pattern for create endpoint
Prior to this werk, the user was allowed to specify any string
as name of a new time period. This behaviour differs from the UI
behaviour and this werk fixes this.
Change-Id: Idf749ab57944cc20b3865a3d338aa416188b193d
Commit: 4b8f2b955a8092dc74e63382b2c3c395e843afbe
https://github.com/tribe29/checkmk/commit/4b8f2b955a8092dc74e63382b2c3c395e…
Author: Wontek Hong <wontek.hong(a)tribe29.com>
Date: 2023-03-24 (Fri, 24 Mar 2023)
Changed paths:
A .werks/15428
M cmk/gui/fields/definitions.py
M tests/testlib/rest_api_client.py
M tests/unit/cmk/gui/conftest.py
M tests/unit/cmk/gui/plugins/openapi/test_openapi_password.py
Log Message:
-----------
15428 FIX password: changing 500 error to 400 for invalid password identifier
Prior to this werk, the REST API raised a 500 error when the user attempted
to create a password with an identifier containing ":" (colon). This werk
modifies this so that the error is catched properly by the schema.
Change-Id: I47ba7d17edcc6fcf1dd2cacdcf054c8c751dc575
Commit: a42dc816e1ada933ad6fca4c130a664fd70e749a
https://github.com/tribe29/checkmk/commit/a42dc816e1ada933ad6fca4c130a664fd…
Author: Wontek Hong <wontek.hong(a)tribe29.com>
Date: 2023-03-24 (Fri, 24 Mar 2023)
Changed paths:
A .werks/15429
M cmk/gui/plugins/openapi/endpoints/contact_group_config.py
M cmk/gui/plugins/openapi/endpoints/host_group_config.py
M cmk/gui/plugins/openapi/endpoints/service_group_config.py
M cmk/gui/plugins/openapi/restful_objects/parameters.py
M cmk/gui/plugins/openapi/restful_objects/request_schemas.py
M cmk/gui/watolib/groups.py
M cmk/utils/regex.py
M tests/unit/cmk/gui/plugins/openapi/test_openapi_group_config.py
Log Message:
-----------
15429 FIX group_config: restrict name pattern for service-, contact-, host-group config
Prior to this werk, the user was allowed to specify any string for host group, service group
and contact group names. This behaviour differs from the UI and also the delete and get
endpoints. This werk unifies the restriction.
Change-Id: Ic385716a714c0e36e4503b782ce8ffdd00b2606f
Commit: cf397c7dcefe8b2893fe1183e6cbd483f91fef19
https://github.com/tribe29/checkmk/commit/cf397c7dcefe8b2893fe1183e6cbd483f…
Author: Wontek Hong <wontek.hong(a)tribe29.com>
Date: 2023-03-24 (Fri, 24 Mar 2023)
Changed paths:
A .werks/15430
M cmk/gui/plugins/openapi/endpoints/password.py
M cmk/gui/plugins/openapi/restful_objects/parameters.py
M cmk/gui/plugins/openapi/restful_objects/request_schemas.py
M tests/unit/cmk/gui/plugins/openapi/test_openapi_password.py
Log Message:
-----------
15430 FIX password: restrict ident pattern when creating a password
Prior to this werk, the user was allowed to specify any string as
identifier for a new password. Subsequently, a more restrictive
pattern on the update and get endpoints could make the passwords
non retrievable. This werk unifies the patterns together to resolve
this.
Change-Id: Ia1d23c27e2eb7b2d77148c7b59d96cb9409f2ee5
Commit: a6aa0c2f58b1214742955ae8863f9aae4634b90d
https://github.com/tribe29/checkmk/commit/a6aa0c2f58b1214742955ae8863f9aae4…
Author: Wontek Hong <wontek.hong(a)tribe29.com>
Date: 2023-03-24 (Fri, 24 Mar 2023)
Changed paths:
M cmk/gui/plugins/openapi/restful_objects/code_examples.py
Log Message:
-----------
api/code_examples: addition of pprint import
Change-Id: Ice5dc336605fc6f7f3fc3191f124a77e5db1c729
Commit: d63176910fc6ddcc8aaea8445ae7c3e72b2de0e4
https://github.com/tribe29/checkmk/commit/d63176910fc6ddcc8aaea8445ae7c3e72…
Author: Wontek Hong <wontek.hong(a)tribe29.com>
Date: 2023-03-24 (Fri, 24 Mar 2023)
Changed paths:
A .werks/15507
M cmk/gui/plugins/openapi/endpoints/host_tag.py
M cmk/gui/plugins/openapi/restful_objects/request_schemas.py
M tests/testlib/rest_api_client.py
M tests/unit/cmk/gui/plugins/openapi/test_openapi_host_tag_group.py
Log Message:
-----------
15507 FIX host_tag_group: bring name patterns together
Prior to this werk, the endpoints all had subtle differences in which
string patterns were allowed as ident. This also differed to the pattern
in the UI. This werk fixes this and makes the pattern consistent across
all mentioned.
Change-Id: Ifd2c03c93560637d2807998524da45666e636113
Commit: 707ec5135f3893b52bd7af1bf79bb92e46b80716
https://github.com/tribe29/checkmk/commit/707ec5135f3893b52bd7af1bf79bb92e4…
Author: Wontek Hong <wontek.hong(a)tribe29.com>
Date: 2023-03-24 (Fri, 24 Mar 2023)
Changed paths:
A .werks/15510
M cmk/gui/plugins/openapi/endpoints/user_config.py
M cmk/gui/plugins/openapi/restful_objects/request_schemas.py
Log Message:
-----------
15510 FIX user_config: introduction of 'all' option in authorized_sites
Prior to this werk, not specifying the 'authorized_sites' field when
creating an user implicitly allowed the user to access all sites. This
werk introduces the 'all' option to make this more explicit. The 'all'
is also the default option and therefore does not modify the previous
behaviour.
Change-Id: I588e97856054713fe3c73b8c1ec27d726746d9a3
Commit: 39f9bbaec164383c72d1039035521ca9149c3662
https://github.com/tribe29/checkmk/commit/39f9bbaec164383c72d1039035521ca91…
Author: Alex Zurhake <alex.zurhake(a)tribe29.com>
Date: 2023-03-24 (Fri, 24 Mar 2023)
Changed paths:
M omd/packages/patch/patch_http.bzl
Log Message:
-----------
Add accidentaly deleted sha256
Change-Id: I531f94838b773b3fcb86b09e178f3f06a7b312f4
Commit: f0503bb59b558fd2593396c68a3a1ae989d341fc
https://github.com/tribe29/checkmk/commit/f0503bb59b558fd2593396c68a3a1ae98…
Author: Simon Jess <simon.jess(a)tribe29.com>
Date: 2023-03-24 (Fri, 24 Mar 2023)
Changed paths:
M omd/packages/apache-omd/skel/etc/apache/conf.d/security.conf
Log Message:
-----------
licensing: Remove endpoint verification-result
Change-Id: I8bf8359069e0e7296ac46dc90ba84e64dd186b5c
Compare: https://github.com/tribe29/checkmk/compare/48cd9e52c587...f0503bb59b55
Branch: refs/heads/2.2.0
Home: https://github.com/tribe29/checkmk
Commit: 3f55edc1202def1bf2e06cf32383825476742033
https://github.com/tribe29/checkmk/commit/3f55edc1202def1bf2e06cf3238382547…
Author: Hannes Rantzsch <hannes.rantzsch(a)tribe29.com>
Date: 2023-03-24 (Fri, 24 Mar 2023)
Changed paths:
A .werks/15188
M cmk/gui/plugins/openapi/endpoints/user_config.py
M cmk/gui/plugins/openapi/restful_objects/request_schemas.py
M cmk/utils/crypto/password.py
M tests/unit/cmk/gui/plugins/openapi/test_openapi_user.py
M tests/unit/cmk/gui/test_userdb_htpasswd_connector.py
M tests/unit/cmk/test_cmkpasswd.py
M tests/unit/cmk/utils/crypto/test_password.py
M tests/unit/cmk/utils/crypto/test_password_hashing.py
Log Message:
-----------
15188 FIX setting empty user passwords via the REST API
Prior to this Werk it was possible to set empty passwords for users via
the REST API.
An empty password is not considered a valid password and now results in
a 400 error.
Note that this only affected the REST API, not the UI's User Management
nor it's Change Password functionality.
CMK-12264
Change-Id: I668a14b960f685b3e35baecfe427ac8ebc60475d
Commit: 48cd9e52c5877ba60bf8d2dd2536a70410268637
https://github.com/tribe29/checkmk/commit/48cd9e52c5877ba60bf8d2dd2536a7041…
Author: Alex Zurhake <alex.zurhake(a)tribe29.com>
Date: 2023-03-24 (Fri, 24 Mar 2023)
Changed paths:
M omd/packages/patch/patch_http.bzl
Log Message:
-----------
Add alternative mirror for patch sources
Change-Id: I4e2d939acea29e97b2761fc3c2cc949efed0841f
Compare: https://github.com/tribe29/checkmk/compare/9f3a51bd97ac...48cd9e52c587
Branch: refs/heads/2.1.0
Home: https://github.com/tribe29/checkmk
Commit: 8457635f8c504ee14cd1ea990efd4a3b27fed6bb
https://github.com/tribe29/checkmk/commit/8457635f8c504ee14cd1ea990efd4a3b2…
Author: Hannes Rantzsch <hannes.rantzsch(a)tribe29.com>
Date: 2023-03-24 (Fri, 24 Mar 2023)
Changed paths:
A .werks/15188
M cmk/gui/plugins/openapi/endpoints/user_config.py
M cmk/gui/plugins/openapi/restful_objects/request_schemas.py
M cmk/utils/crypto/password.py
M tests/unit/cmk/gui/plugins/openapi/test_openapi_user.py
M tests/unit/cmk/test_cmkpasswd.py
M tests/unit/cmk/utils/crypto/test_password.py
M tests/unit/cmk/utils/crypto/test_password_hashing.py
Log Message:
-----------
15188 FIX setting empty user passwords via the REST API
Prior to this Werk it was possible to set empty passwords for users via
the REST API.
An empty password is not considered a valid password and now results in
a 400 error.
Note that this only affected the REST API, not the UI's User Management
nor it's Change Password functionality.
CMK-12264
Change-Id: I668a14b960f685b3e35baecfe427ac8ebc60475d
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: 619e8465c3e2ab222ee86fe4aa7547760334cb2e
https://github.com/tribe29/checkmk/commit/619e8465c3e2ab222ee86fe4aa7547760…
Author: Ronny Bruska <ronny.bruska(a)tribe29.com>
Date: 2023-03-24 (Fri, 24 Mar 2023)
Changed paths:
M cmk/gui/watolib/tags.py
Log Message:
-----------
Fix deletion of negated tags
CMK-12742
Change-Id: I7860a1650297c3c861cc83ce5561f700b3b6984d
Commit: b32f929f3c712bd5daafea10e4cd671c537327d5
https://github.com/tribe29/checkmk/commit/b32f929f3c712bd5daafea10e4cd671c5…
Author: Wontek Hong <wontek.hong(a)tribe29.com>
Date: 2023-03-24 (Fri, 24 Mar 2023)
Changed paths:
A .werks/15552
M cmk/gui/plugins/openapi/endpoints/host_tag.py
Log Message:
-----------
15552 FIX host_tag_group: allow 401 for delete endpoint
Prior to this werk, the REST API raised a 500 internal server error when
the user was not allowed to delete the host tag group. This werk fixes this
issue and the REST API will now report a 401 unauthorized error instead.
Change-Id: Ibf747b727eb7cc3f7dc3ab18ff642fc99459de1e
Commit: 032d6250c41321efad4af46931da098e1a125cae
https://github.com/tribe29/checkmk/commit/032d6250c41321efad4af46931da098e1…
Author: Alex Zurhake <alex.zurhake(a)tribe29.com>
Date: 2023-03-24 (Fri, 24 Mar 2023)
Changed paths:
M omd/packages/patch/patch_http.bzl
Log Message:
-----------
Add alternative mirror for patch sources
Change-Id: I4e2d939acea29e97b2761fc3c2cc949efed0841f
Compare: https://github.com/tribe29/checkmk/compare/e700e7752cee...032d6250c413
Branch: refs/heads/2.2.0
Home: https://github.com/tribe29/checkmk
Commit: 9f3a51bd97acd8088af5d7320691169f4ec62894
https://github.com/tribe29/checkmk/commit/9f3a51bd97acd8088af5d7320691169f4…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2023-03-24 (Fri, 24 Mar 2023)
Changed paths:
M cmk/gui/visuals/__init__.py
Log Message:
-----------
cmk-update-config: Do not stumble upon directory in local visual paths
CMK-12788
Change-Id: I19624a3dbe2a57ab0e876c3e095030e866b2f0a1
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: b51be87b39b0b8d48c4874c452fba4c167ccf438
https://github.com/tribe29/checkmk/commit/b51be87b39b0b8d48c4874c452fba4c16…
Author: Hannes Rantzsch <hannes.rantzsch(a)tribe29.com>
Date: 2023-03-24 (Fri, 24 Mar 2023)
Changed paths:
A .werks/15188
M cmk/gui/plugins/openapi/endpoints/user_config.py
M cmk/gui/plugins/openapi/restful_objects/request_schemas.py
M cmk/utils/crypto/password.py
M tests/unit/cmk/gui/plugins/openapi/test_openapi_user.py
M tests/unit/cmk/gui/test_userdb_htpasswd_connector.py
M tests/unit/cmk/test_cmkpasswd.py
M tests/unit/cmk/utils/crypto/test_password.py
M tests/unit/cmk/utils/crypto/test_password_hashing.py
Log Message:
-----------
15188 FIX setting empty user passwords via the REST API
Prior to this Werk it was possible to set empty passwords for users via
the REST API.
An empty password is not considered a valid password and now results in
a 400 error.
Note that this only affected the REST API, not the UI's User Management
nor it's Change Password functionality.
CMK-12264
Change-Id: I668a14b960f685b3e35baecfe427ac8ebc60475d
Commit: 1ec6c8380b80db6a55581bd69696fe6ec53c941e
https://github.com/tribe29/checkmk/commit/1ec6c8380b80db6a55581bd69696fe6ec…
Author: Sven Panne <sven.panne(a)tribe29.com>
Date: 2023-03-24 (Fri, 24 Mar 2023)
Changed paths:
M Pipfile
M Pipfile.lock
M cmk/gui/plugins/openapi/endpoints/time_periods/request_schemas.py
Log Message:
-----------
Bumped openapi-spec-validator 0.5.1 => 0.5.6
Change-Id: Iff6ed448447d332cbdd619cf7a84a30d10e8a3d4
Commit: e700e7752ceef143e2e390b565845f738a0f9b79
https://github.com/tribe29/checkmk/commit/e700e7752ceef143e2e390b565845f738…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2023-03-24 (Fri, 24 Mar 2023)
Changed paths:
M cmk/gui/visuals/__init__.py
Log Message:
-----------
cmk-update-config: Do not stumble upon directory in local visual paths
CMK-12788
Change-Id: I19624a3dbe2a57ab0e876c3e095030e866b2f0a1
Compare: https://github.com/tribe29/checkmk/compare/d4e370df1558...e700e7752cee
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: efa4a188dadb32a42848029d05ae45a07c475e57
https://github.com/tribe29/checkmk/commit/efa4a188dadb32a42848029d05ae45a07…
Author: Simon Jess <simon.jess(a)tribe29.com>
Date: 2023-03-24 (Fri, 24 Mar 2023)
Changed paths:
M cmk/utils/licensing/export.py
M cmk/utils/licensing/usage.py
Log Message:
-----------
licensing: Improve parsing
Change-Id: I400f526d2ddf4b41524277d11d40fa6dd30b15db
Commit: 17a5c93d6cd6a19025556059abb1f6a0d882233a
https://github.com/tribe29/checkmk/commit/17a5c93d6cd6a19025556059abb1f6a0d…
Author: Wontek Hong <wontek.hong(a)tribe29.com>
Date: 2023-03-24 (Fri, 24 Mar 2023)
Changed paths:
M cmk/gui/wato/pages/timeperiods.py
M cmk/gui/watolib/timeperiods.py
Log Message:
-----------
pages/timeperiods: move find_usages functions to watolib
Change-Id: Ifd05ee9c709b91e9880ad6960c0d2c9ee7c7d7d4
Commit: ec1758af358c51ecc9bfdaa217e9a93e8b63a704
https://github.com/tribe29/checkmk/commit/ec1758af358c51ecc9bfdaa217e9a93e8…
Author: Wontek Hong <wontek.hong(a)tribe29.com>
Date: 2023-03-24 (Fri, 24 Mar 2023)
Changed paths:
A .werks/15508
M cmk/gui/plugins/openapi/endpoints/time_periods/__init__.py
M cmk/gui/watolib/timeperiods.py
M tests/testlib/rest_api_client.py
M tests/unit/cmk/gui/plugins/openapi/test_openapi_time_period.py
Log Message:
-----------
15508 FIX time_period: verify time_period usages before deletion
Prior to this werk, the REST API did not check whether a time period to be
deleted was referenced by other objects. This caused a conflict after deletion.
This werk fixes this by preventing the REST API from performing a deletion if
the time period is currently being referenced.
Change-Id: I9b5d03439f16579336c90166e215b85a013a826b
Commit: c1edeb0209c2a6a56dcd692f1ed066a5b87ecd95
https://github.com/tribe29/checkmk/commit/c1edeb0209c2a6a56dcd692f1ed066a5b…
Author: Wontek Hong <wontek.hong(a)tribe29.com>
Date: 2023-03-24 (Fri, 24 Mar 2023)
Changed paths:
M cmk/gui/plugins/userdb/utils.py
M cmk/gui/userdb/__init__.py
M cmk/gui/userdb/htpasswd.py
M cmk/gui/userdb/ldap_connector.py
M cmk/gui/wato/pages/users.py
Log Message:
-----------
connector: introduce simple ConnectorType str class
Change-Id: Ida1bf12fe2469f39335266ecd4a9740adedb89ba
Commit: 63d31ac8337543f527ca1a6c30e92c105d80dac5
https://github.com/tribe29/checkmk/commit/63d31ac8337543f527ca1a6c30e92c105…
Author: Wontek Hong <wontek.hong(a)tribe29.com>
Date: 2023-03-24 (Fri, 24 Mar 2023)
Changed paths:
A .werks/15509
M cmk/gui/plugins/openapi/endpoints/user_config.py
M cmk/gui/plugins/openapi/restful_objects/response_schemas.py
M tests/unit/cmk/gui/plugins/openapi/test_openapi_user.py
Log Message:
-----------
15509 FIX user_config: fixing auth types for SAML2 and LDAP users
Prior to this werk, the REST API always reported an auth_type
"password" for a SAML2 or LDAP user. This werk fixes this and checks
the underlying connection before determining the auth type.
Change-Id: Iacebca78d737173ea85c503238aeb45fce31f01f
Compare: https://github.com/tribe29/checkmk/compare/7122c339e876...63d31ac83375