We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ad2007e + ed361dc commit 94bab83Copy full SHA for 94bab83
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 customMsgType in audit trail item
604
+ :param dict custom_params value for customMsgParams in audit trail item
605
606
+ return self._perform_empty("POST",
607
+ "/admin/audit/custom/%s" % custom_type,
608
+ body = custom_params)
609
610
########################################################
611
# Variables
612
0 commit comments