We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad2007e commit 09df66cCopy full SHA for 09df66c
dataikuapi/dssclient.py
@@ -596,6 +596,17 @@ def get_log(self, name):
596
return self._perform_json(
597
"GET", "/admin/logs/%s" % name)
598
599
+ def log_custom_audit(self, custom_type="", custom_params={}):
600
+ """
601
+ Log a custom entry to the audit trail
602
+
603
+ :param str custom_type value for msgCustomType in audit trail item
604
+ :param dict custom_params value for msgCustomParams in audit trail item
605
606
+ return self._perform_empty("POST",
607
+ "/admin/logs/audit/custom?msgCustomType=%s" % custom_type,
608
+ body = custom_params)
609
610
########################################################
611
# Variables
612
0 commit comments