Bitbucket Server における監査イベント

Bitbucket Server での監査ログ

このページの内容

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

The auditing component of Bitbucket Server will log many different events that occur when Bitbucket Server is being used. The events have been assigned priorities based on how important they are – these priorities can be used to control how much information is added to the audit log file. For example, if you have a server under high load and no need for auditing, you may wish to turn audit logging off by setting it to NONE - see the audit log config properties.

このページの内容:

Server level events

イベント 説明 優先度
ApplicationConfigurationChangedEvent The server configuration has changed e.g. the display name or the base url.

High

BackupEvent Audited at the beginning and the end of a system backup.
High
LicenseChangedEvent The server license has changed.
High
MailHostConfigurationChangedEvent The servers mail host has changed (used to send email notifications).
High
MigrationEvent Audited at the beginning and the end of a database migration.
High
ServerEmailAddressChangedEvent The server email address has changed (used in email notifications).
High
TicketRejectedEvent Certain resources (e.g. the Git processes) are throttled, when tickets are rejected (e.g. too many Git processes are in use) this event is fired.

User management events

イベント 説明 優先度
AuthenticationFailureEvent

Occurs every time there is a failed authentication.

Note, this can also apply with no authentication failure, if attempting to clone using a string with only a username. The request will fail, and the user will be prompted for the password.

High

DirectoryCreatedEvent Occurs when a new directory is created.

High

DirectoryDeletedEvent Occurs when a new directory is deleted.
High
GroupCreatedEvent Occurs when a new group is created in the internal directory.
High
GroupUpdatedEvent Occurs when a new group is updated (not when membership changes) in the internal directory.
High
GroupDeletedEvent Occurs when a new group is deleted from the internal directory.
High
GroupMembershipCreatedEvent Occurs when a user is added to a group in the internal directory.
High
GroupMembershipDeletedEvent Occurs when a user is removed from a group in the internal directory.
High
UserAuthenticatedEvent Occurs when a user is successfully authenticated (logged in).
UserAuthenticationFailedInvalidAuthenticationEvent

Occurs whenever a user fails to authenticate.

Note that this can occur frequently in Bitbucket Server whenever a command line CLI is used as the initial URL provided to Bitbucket Server contains a username but no password, which is rejected by Crowd.

UserCreatedEvent Occurs when a user is created in the internal directory.
High
UserCredentialUpdatedEvent Occurs when a user changes password in the internal directory.
High
UserDeletedEvent Occurs when a user is deleted from the internal directory.
High
UserRenamedEvent Occurs when the username of a user is changed in the internal directory.
High

Permission events

(info) in the table below indicates that the event is visible in the recent audit log screen for the project or repository.

イベント 説明 優先度
GlobalPermissionGrantedEvent Occurs when a user or group is granted a global permission (e.g. create project).
High
GlobalPermissionRevokedEvent Occurs when a user or group has a global permission revoked.
High
ProjectPermissionGrantedEvent

Occurs when a user or group is granted a permission for a specific project. (info)

High
ProjectPermissionRevokedEvent

Occurs when a user or group has a permission for a specific project revoked. (info)

High
RepositoryPermissionEvent

Occurs when a user or group has a permission for a specific repository altered. (info)

High
RestrictedRefEvent

Children of this event are fired when a restricted ref is altered. (info)

High

Project events

(info) in the table below indicates that the event is visible in the recent audit log screen for the project.

イベント 説明 優先度
ProjectAvatarUpdatedEvent Raised when a project avatar has been successfully updated.

ProjectCreatedEvent

Raised when a project is created. (info)

High
ProjectCreationRequestedEvent Raised just before a project is created; can be canceled.
ProjectModifiedEvent

Raised when a project has been successfully updated (e.g. the project name). (info)

High
ProjectModificationRequestedEvent  Raised just before a project is updated; can be canceled.
ProjectDeletedEvent  Raised when a project is deleted.
High
ProjectDeletionRequestedEvent  Raised just before a project is deleted; can be canceled.

リポジトリ イベント

(info) in the table below indicates that the event is visible in the recent audit log screen for the project or repository.

イベント 説明 優先度
RepositoryAccessedEvent

Raised when a repository is accessed by a user.
Bitbucket Server currently only fires this event selectively - when users hit a repository page.

RepositoryCreatedEvent

Raised when a repository is created. (info)

RepositoryCreationFailedEvent Raised when an attempt to create a repository fails.
RepositoryCreationRequestedEvent Raised just before a repository is created; can be canceled.
RepositoryForkedEvent

Raised when a repository is forked successfully. (info)

RepositoryForkFailedEvent Raised when an attempt to fork a repository fails.
RepositoryForkRequestedEvent Raised just before a repository is forked; can be canceled.
RepositoryDefaultBranchModifiedEvent Raised when the default branch of a repository is reconfigured (typically through repository settings).
RepositoryDeletedEvent

Raised when a repository is deleted. (info)

High
RepositoryDeletionRequestedEvent Raised just before a repository is deleted; can be canceled.
RepositoryOtherReadEvent Raised when the server uploads a pack file to the client via HTTP.
RepositoryOtherWriteEvent Raised when the server receives a pack file from the client via HTTP.
RepositoryPullEvent Raised when a Git client pulls from a repository (only when new content is sent to the client).
RepositoryPushEvent Raised when a Git client pushed to a repository.

プル リクエスト イベント

イベント 説明 優先度
PullRequestDeletedEvent Fired when a pull request is deleted (added in Bitbucket Server 5.1).

High

PullRequestEvent Fired at different points in the pull request lifecycle (declined, merged, opened, reopened, rescoped [code updated], updated, approved, unapproved, participants updated).

Plugin events

See this plugin documentation for details of when these events below are triggered.

イベント 説明 優先度
PluginDisabledEvent Occurs when a plugin has been disabled, either by the system or a user.

PluginEnabledEvent

Occurs when a plugin has been enabled, either by the system or a user.
PluginModuleDisabledEvent Occurs when a plugin module has been disabled, either by the system or a user.
PluginModuleEnabledEvent Occurs when a plugin module has been enabled, either by the system or a user.
PluginModuleUnavailableEvent Signifies a plugin module is now unavailable outside the usual installation process.
PluginUninstalledEvent Occurs when a plugin is explicitly uninstalled (as opposed to as part of an upgrade).
PluginUpgradedEvent Signifies that a plugin has been upgraded at runtime.
PluginContainerUnavailableEvent Occurs when the container of a plugin is being shutdown, usually as a result of the server being stopped.
PluginModuleAvailableEvent Signifies that a plugin module is now available outside the usual installation process.
PluginFrameworkStartedEvent Signifies that the plugin framework has been started and initialized.


SSH key events

(info) in the table below indicates that the event is visible in the recent audit log screen for the project or repository.

イベント 説明 優先度
SshKeyCreatedEvent

Occurs when:

  • an SSH key is added for a user, or
  • an access key is added to a project or repository and the key has not yet been used on any other projects or repositories.
High
SshKeyDeletedEvent

Occurs when:

  • an SSH key is removed from a user, or
  • an access key is removed from a project or repository and it is no longer being used by any other projects or repositories.
High
SshKeyAccessGrantedEvent Occurs when an access key is given access to a project or repository. (info)
High
SshKeyAccessRevokedEvent Occurs when an access key is removed from a project or repository. (info)
High
最終更新日 2018 年 3 月 19 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.