Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Audit logs

The initial release of SonarQube Cloud's audit logs provides you with the essential data you need to meet your immediate compliance and security needs.

This feature is available with the Enterprise plan.

As an Enterprise admin, you can access audit logs through the Audit logs API. To authenticate to the Web API, see Web API.

Audit logs are retained for 180 days.

List of logged events

Event type
Description
For more details

authentication.user_login

An SSO user logs in to SonarQube Cloud.

authentication.user_logout

An SSO user logs out of SonarQube Cloud.

user.create

An SSO user account is created.

user.remove

An SSO user account is removed.

permission_template.create

An organization admin creates a permission template.

permission_template.update

An organization admin updates a permission template's name, description, or pattern.

permission_template.add_permission

An organization admin adds a permission to a permission template.

permission_template.remove_permission

An organization admin removes a permission from a permission template.

permission_template.delete

An organization admin deletes a permission template.

org.add_user

A user is added to an organization.

org.remove_user

A user is removed from an organization.

org.add_group

A group is created in the organization.

org.update_group

A group's name or description is updated.

org.remove_group

A group is removed from the organization.

org.add_permission

An organization-related permission is added to a user or group.

org.remove_permission

An organization-related permission is removed from a user or group.

org.membersync_enabled

An organization admin enables the GitHub member synchronization.

org.membersync_disabled

An organization admin disables the GitHub member synchronization.

portfolio.create

A root portfolio is created.

portfolio.update

A root portfolio or any of its child portfolios changes, for example when a portfolio is renamed, a description changes, or a project selection changes. Logged once for the root portfolio. The event does not record what changed.

portfolio.delete

A root portfolio is deleted.

portfolio.child_create

A child portfolio is created in a hierarchy. When a draft hierarchy is published, this event is logged once for each child portfolio.

portfolio.child_move

A child portfolio is moved to a different parent.

portfolio.child_delete

A child portfolio is deleted. When a root portfolio is deleted, this event is logged once for each of its child portfolios.

portfolio.add_permission

A portfolio admin adds a portfolio-related permission to a user or group. Logged once for the root portfolio, which also covers its child portfolios.

portfolio.remove_permission

A portfolio admin removes a portfolio-related permission from a user or group. Logged once for the root portfolio, which also covers its child portfolios.

project.apply_permission_template

An organization admin applies a permission template to a project.

project.add_permission

A project admin adds a project-related permission to a user or group.

project.remove_permission

A project admin removes a project-related permission from a user or group.

enterprise.add_permission

An enterprise-related permission is added to a user or group.

enterprise.remove_permission

An enterprise-related permission is removed from a user or group.

enterprise.master_key_added

CMK added

enterprise.master_key_rotation_started

CMK rotation started

enterprise.master_key_rotation_completed

CMK rotation completed

enterprise.projects_encryption_started

Projects encryption started

enterprise.projects_encryption_completed

Projects encryption completed

enterprise.data_key_rotation_started

Data key rotation started

enterprise.data_key_rotation_completed

Data key rotation completed

Portfolio events are logged only for published portfolios. Nothing is logged while a portfolio is a draft in the creation wizard. When you publish a draft hierarchy, the portfolio.child_create event is logged for each of its child portfolios.

IP allow lists SSO and provisioning

Last updated

Was this helpful?