Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
f2ef7d7
feat(ee): add enterprise audit logs settings page with server-side se…
waleedlatif1 Apr 11, 2026
1d13c4d
lint
waleedlatif1 Apr 11, 2026
3eb6b30
fix(ee): fix build error and address PR review comments
waleedlatif1 Apr 11, 2026
36a1aa4
lint
waleedlatif1 Apr 11, 2026
b9ea27d
fix(ee): fix type error with unknown metadata in JSX expression
waleedlatif1 Apr 11, 2026
01dfe81
fix(ee): align skeleton filter width with actual component layout
waleedlatif1 Apr 11, 2026
bc4788a
lint
waleedlatif1 Apr 11, 2026
a325138
feat(audit): add audit logging for passwords, credentials, and schedules
waleedlatif1 Apr 11, 2026
18352d9
fix(audit): align metadata with established recordAudit patterns
waleedlatif1 Apr 11, 2026
e0ab844
fix(testing): sync audit mock with new AuditAction and AuditResourceT…
waleedlatif1 Apr 11, 2026
6c2495b
refactor(audit-logs): derive resource type filter from AuditResourceType
waleedlatif1 Apr 11, 2026
4021cb2
feat(audit): enrich all recordAudit calls with structured metadata
waleedlatif1 Apr 11, 2026
e7d1d0c
fix(audit): remove redundant metadata fields duplicating top-level au…
waleedlatif1 Apr 11, 2026
231df15
fix(audit): split audit types from server-only log module
waleedlatif1 Apr 11, 2026
6f60475
fix(audit): escape LIKE wildcards in audit log search query
waleedlatif1 Apr 11, 2026
bb514a6
fix(audit): use actual deletedCount in bulk API key revoke description
waleedlatif1 Apr 11, 2026
4a996f4
fix(audit-logs): fix OAuth label displaying as "Oauth" in filter drop…
waleedlatif1 Apr 11, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix(testing): sync audit mock with new AuditAction and AuditResourceT…
…ype entries

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
  • Loading branch information
waleedlatif1 and claude committed Apr 11, 2026
commit e0ab84465a73044bfd936b030c675a6d11b54a64
6 changes: 6 additions & 0 deletions packages/testing/src/mocks/audit.mock.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ export const auditMock = {
CHAT_DEPLOYED: 'chat.deployed',
CHAT_UPDATED: 'chat.updated',
CHAT_DELETED: 'chat.deleted',
CREDENTIAL_CREATED: 'credential.created',
CREDENTIAL_UPDATED: 'credential.updated',
CREDENTIAL_DELETED: 'credential.deleted',
CREDENTIAL_RENAMED: 'credential.renamed',
CREDIT_PURCHASED: 'credit.purchased',
Expand Down Expand Up @@ -75,6 +77,7 @@ export const auditMock = {
NOTIFICATION_DELETED: 'notification.deleted',
OAUTH_DISCONNECTED: 'oauth.disconnected',
PASSWORD_RESET: 'password.reset',
PASSWORD_RESET_REQUESTED: 'password.reset_requested',
ORGANIZATION_CREATED: 'organization.created',
ORGANIZATION_UPDATED: 'organization.updated',
ORG_MEMBER_ADDED: 'org_member.added',
Expand All @@ -90,7 +93,9 @@ export const auditMock = {
PERMISSION_GROUP_DELETED: 'permission_group.deleted',
PERMISSION_GROUP_MEMBER_ADDED: 'permission_group_member.added',
PERMISSION_GROUP_MEMBER_REMOVED: 'permission_group_member.removed',
SCHEDULE_CREATED: 'schedule.created',
SCHEDULE_UPDATED: 'schedule.updated',
SCHEDULE_DELETED: 'schedule.deleted',
SKILL_CREATED: 'skill.created',
SKILL_UPDATED: 'skill.updated',
SKILL_DELETED: 'skill.deleted',
Expand Down Expand Up @@ -124,6 +129,7 @@ export const auditMock = {
BYOK_KEY: 'byok_key',
CHAT: 'chat',
CONNECTOR: 'connector',
CREDENTIAL: 'credential',
CREDENTIAL_SET: 'credential_set',
CUSTOM_TOOL: 'custom_tool',
DOCUMENT: 'document',
Expand Down
Loading