Branch: refs/heads/master
Home:
https://github.com/Checkmk/checkmk
Commit: 06479af99b8ed273b54e76dadb5e2ef2ce1771ca
https://github.com/Checkmk/checkmk/commit/06479af99b8ed273b54e76dadb5e2ef2c…
Author: Leonardo Petrora <leonardo.petrora(a)checkmk.com>
Date: 2024-02-12 (Mon, 12 Feb 2024)
Changed paths:
A .werks/16367.md
M cmk/gui/openapi/endpoints/audit_log/__init__.py
M tests/testlib/rest_api_client.py
M tests/unit/cmk/gui/openapi/test_openapi_audit_log.py
Log Message:
-----------
16367 FIX audit_log: Deprecate 'delete' method and replace it for
'archive'
Since the DELETE method actually archives the audit_log entries, this endpoint is
replaced by domain-types/audit_log/actions/archive/invoke
The DELETE endpoint is deprecated and will be removed on version 2.4.0.
In order to update their scripts, users should replace
curl -x DELETE
http://host/site/api/1.0/domain-types/audit_log/collections/all
with
curl -x POST
http://host/site/api/1.0/domain-types/audit_log/actions/archive/invoke
CMK-15847
Change-Id: I37caca8c98e40268500a895ab650bbebf1c702f9