From 94d43b038dda295d454c23da7bc106e504884897 Mon Sep 17 00:00:00 2001 From: Kazuhiro Sera Date: Tue, 10 Oct 2023 14:44:49 +0900 Subject: [PATCH] Run all the integration tests - 2023-10-09 PT --- json-logs/raw/audit/v1/actions.json | 3 ++- json-logs/samples/api/admin.apps.activities.list.json | 4 +++- json-logs/samples/api/search.all.json | 3 +-- json-logs/samples/api/search.files.json | 3 +-- .../src/main/java/com/slack/api/audit/Actions.java | 1 + .../src/main/java/com/slack/api/model/admin/AppActivity.java | 2 ++ 6 files changed, 10 insertions(+), 6 deletions(-) diff --git a/json-logs/raw/audit/v1/actions.json b/json-logs/raw/audit/v1/actions.json index bd5314a7e..56ce5d278 100644 --- a/json-logs/raw/audit/v1/actions.json +++ b/json-logs/raw/audit/v1/actions.json @@ -165,7 +165,8 @@ "pref.two_factor_prevent_sms_changed", "apps_analytics_export_started", "apps_analytics_export_prepared", - "pref.canvas_retention_changed" + "pref.canvas_retention_changed", + "audit_logs_export_json_started" ], "user": [ "custom_tos_accepted", diff --git a/json-logs/samples/api/admin.apps.activities.list.json b/json-logs/samples/api/admin.apps.activities.list.json index 5a3a463a6..90366d2a4 100644 --- a/json-logs/samples/api/admin.apps.activities.list.json +++ b/json-logs/samples/api/admin.apps.activities.list.json @@ -38,7 +38,9 @@ "user_id": "W00000000", "channel_id": "C00000000" } - } + }, + "channel_id": "C00000000", + "bot_user_id": "U00000000" }, "created": 12345, "trace_id": "" diff --git a/json-logs/samples/api/search.all.json b/json-logs/samples/api/search.all.json index 6a4b47302..3986dea31 100644 --- a/json-logs/samples/api/search.all.json +++ b/json-logs/samples/api/search.all.json @@ -57849,8 +57849,7 @@ } }, "channels": [ - "C00000000", - "" + "C00000000" ], "groups": [ "" diff --git a/json-logs/samples/api/search.files.json b/json-logs/samples/api/search.files.json index 79467fb0d..770b7df51 100644 --- a/json-logs/samples/api/search.files.json +++ b/json-logs/samples/api/search.files.json @@ -107,8 +107,7 @@ } }, "channels": [ - "C00000000", - "" + "C00000000" ], "groups": [ "" diff --git a/slack-api-client/src/main/java/com/slack/api/audit/Actions.java b/slack-api-client/src/main/java/com/slack/api/audit/Actions.java index 5d221d6a3..460f8e84a 100644 --- a/slack-api-client/src/main/java/com/slack/api/audit/Actions.java +++ b/slack-api-client/src/main/java/com/slack/api/audit/Actions.java @@ -174,6 +174,7 @@ private WorkspaceOrOrg() { public static final String bulk_session_reset_by_admin = "bulk_session_reset_by_admin"; public static final String export_private_channel_analytics_created = "export_private_channel_analytics_created"; public static final String audit_logs_export_csv_started = "audit_logs_export_csv_started"; + public static final String audit_logs_export_json_started = "audit_logs_export_json_started"; public static final String audit_logs_records_searched = "audit_logs_records_searched"; public static final String apps_analytics_export_started = "apps_analytics_export_started"; public static final String apps_analytics_export_prepared = "apps_analytics_export_prepared"; diff --git a/slack-api-model/src/main/java/com/slack/api/model/admin/AppActivity.java b/slack-api-model/src/main/java/com/slack/api/model/admin/AppActivity.java index 48fa395a5..43c529b36 100644 --- a/slack-api-model/src/main/java/com/slack/api/model/admin/AppActivity.java +++ b/slack-api-model/src/main/java/com/slack/api/model/admin/AppActivity.java @@ -25,6 +25,8 @@ public static class Payload { private String workflowName; private String type; private String actor; + private String channelId; + private String botUserId; private String error; // "restricted_action" etc. private String errorExtended; private String functionId; // "Fn0106" etc.