question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Request for Documentation: In Audit Log docs provide a link to the known list of audit record types

See original GitHub issue

Mattermost user stu.doherty from https://community-daily.mattermost.com has requested the following be documented:

This recently came up when discussing a customer issue, and it has come up before.  I can see a short list of example log types, then a link to the current source file where these are defined (if that's even the case.. if not we can discuss options for maintaining the list).

purgeBleveIndexes createBot patchBot updateBotActive assignBot convertBotToUser uploadBrandImage deleteBrandImage createCategoryForTeamForUser updateCategoryOrderForTeamForUser updateCategoriesForTeamForUser updateCategoryForTeamForUser deleteCategoryForTeamForUser localCreateChannel localUpdateChannelPrivacy localRestoreChannel localAddChannelMember localRemoveChannelMember localPatchChannel localMoveChannel localDeleteChannel createChannel updateChannel updateChannelPrivacy patchChannel restoreChannel createDirectChannel createGroupChannel deleteChannel updateChannelMemberRoles updateChannelMemberSchemeRoles updateChannelMemberNotifyProps addChannelMember removeChannelMember updateChannelScheme patchChannelModerations moveChannel createCustomerPayment confirmCustomerPayment localCreateCommand createCommand updateCommand moveCommand deleteCommand executeCommand regenCommandToken createComplianceReport getComplianceReports getComplianceReport downloadComplianceReport localGetConfig localUpdateConfig localPatchConfig getConfig configReload updateConfig patchConfig migrateConfig createPolicy patchPolicy deletePolicy addTeamsToPolicy removeTeamsFromPolicy addChannelsToPolicy removeChannelsFromPolicy purgeElasticsearchIndexes createEmoji deleteEmoji deleteExport uploadFileSimple uploadFileMultipart uploadFileMultipartLegacy getFile getFileLink createGroup patchGroup linkGroupSyncable patchGroupSyncable unlinkGroupSyncable deleteGroup addGroupMembers deleteGroupMembers createJob cancelJob syncLdap linkLdapGroup unlinkLdapGroup idMigrateLdap addLdapPublicCertificate addLdapPrivateCertificate removeLdapPublicCertificate removeLdapPrivateCertificate localAddLicense localRemoveLicense addLicense removeLicense requestTrialLicense requestRenewalLink createOAuthApp updateOAuthApp deleteOAuthApp regenerateOAuthAppSecret uploadPlugin installPluginFromURL installMarketplacePlugin removePlugin enablePlugin disablePlugin setFirstAdminVisitMarketplaceStatus getFirstAdminVisitMarketplaceStatus createPost deletePost updatePost patchPost saveIsPinnedPost updatePreferences deletePreferences remoteClusterAcceptMessage remoteClusterAcceptInvite uploadRemoteData remoteUploadProfileImage patchRole addSamlPublicCertificate addSamlPrivateCertificate addSamlIdpCertificate removeSamlPublicCertificate removeSamlPrivateCertificate removeSamlIdpCertificate createScheme patchScheme deleteScheme localCheckIntegrity getAudits databaseRecycle invalidateCaches getLogs setServerBusy clearServerBusy upgradeToEnterprise restartServer sendWarnMetricAckEmail requestTrialLicenseAndAckWarnMetric updateViewedProductNotices localDeleteTeam localInviteUsersToTeam localCreateTeam createTeam updateTeam patchTeam restoreTeam updateTeamPrivacy regenerateTeamInviteId deleteTeam addTeamMember addUserToTeamFromInvite addTeamMembers removeTeamMember updateTeamMemberRoles updateTeamMemberSchemeRoles importTeam inviteUsersToTeam inviteGuestsToChannels invalidateAllEmailInvites setTeamIcon removeTeamIcon updateTeamScheme createTermsOfService createUpload uploadData localDeleteUser localPermanentDeleteAllUsers createUser setProfileImage setDefaultProfileImage updateUser patchUser deleteUser updateUserRoles updateUserActive updateUserAuth updateUserMfa updatePassword resetPassword sendPasswordReset login login Logout revokeSession revokeAllSessionsForUser revokeAllSessionsAllUsers attachDeviceId getUserAudits verifyUserEmail sendVerificationEmail switchAccountType createUserAccessToken revokeUserAccessToken disableUserAccessToken enableUserAccessToken saveUserTermsOfService promoteGuestToUser demoteUserToGuest verifyUserEmailWithoutToken convertUserToBot migrateAuthToLdap migrateAuthToSaml updateReadStateThreadByUser unfollowThreadByUser followThreadByUser updateReadStateAllThreadsByUser localCreateIncomingHook createOutgoingHook createIncomingHook updateIncomingHook getIncomingHook deleteIncomingHook updateOutgoingHook createOutgoingHook getOutgoingHook regenOutgoingHookToken deleteOutgoingHook extendSessionExpiry reset scheduleExport buildExport bulkExport slackImport bulkImport jobServer authorizeOAuthApp deauthorizeOAuthApp getAccessToken completeSaml

See the original post here.

This issue was generated from Mattermost using the Doc Up plugin.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:7 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
iyampaulcommented, Jan 18, 2022

@cwarnermm We don’t have a timeline for audit logging changes yet. We started conversations this month so it will be some time before any meaningful improvements are seen. @nab-77 is leading the effort from the Product side and may be a better resource to help coordinate timelines and expectations.

1reaction
sadohertcommented, Jan 17, 2022

I totally understand the point about maintenance. Don’t want to create a headache with a constantly growing target we need to hit. I can’t seem to get to the original message, so I forget the context now, but I don’t think an example of every record is needed. Some key records should have an example to admins get the idea. I think we can talk in terms of the big categories of things that trigger audit records (e.g., system config changes, user+channel+team create/update/delete/logins) and the data that is associated (user id, timestamp, some indicator of what’s changed).

Adding a note on all the API docs for items that trigger would be nice, but I’d say low priority.

I think the key is to convey that the audit records are comprehensive, json formatted for easy ingest, and here are some good examples.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Understanding audit logs - Google Cloud
An audit log entry is a type of Cloud Logging log entry. ... The following table lists the services that use serviceData field...
Read more >
Detailed properties in the audit log - Microsoft Learn
Property Description Microsoft 365 service that has this property ClientIP Azure Active Directory, Exchange, SharePoint InternalLogonType Reserved for internal use. Exchange (mailbox activity) Operation All
Read more >
Drive log events - Google Workspace Admin Help
As an administrator, you can use the audit and investigation page to run searches related to Drive log events. There you can view...
Read more >
Audit logging | Cloud Search - Google Developers
Cloud Search doesn't write Policy Denied audit logs. Audited operations. The following summarizes which API operations correspond to each audit log type in ......
Read more >
B.2. Audit Record Types Red Hat Enterprise Linux 6
Table B.2, “Record Types” lists all currently-supported types of Audit records. The event type is specified in the type= field at the beginning...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found