We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 126e637 + 5d24ba6 commit 7ba1d51Copy full SHA for 7ba1d51
1 file changed
portal/src/graphql/adminapi/AuditLogScreen.tsx
@@ -53,8 +53,14 @@ const ADMIN_ACTIVITY_TYPES = ALL_ACTIVITY_TYPES.filter(
53
(activityType) =>
54
activityType.startsWith("ADMIN_API") || activityType.startsWith("PROJECT")
55
);
56
+// Activity types to hide from the audit log (shown elsewhere in the portal)
57
+const HIDDEN_ACTIVITY_TYPES = [
58
+ AuditLogActivityType.FraudProtectionDecisionRecorded,
59
+];
60
const USER_ACTIVITY_TYPES = ALL_ACTIVITY_TYPES.filter(
- (activityType) => !ADMIN_ACTIVITY_TYPES.includes(activityType)
61
+ (activityType) =>
62
+ !ADMIN_ACTIVITY_TYPES.includes(activityType) &&
63
+ !HIDDEN_ACTIVITY_TYPES.includes(activityType)
64
65
66
enum AuditLogKind {
0 commit comments