Observability and logs

Audit logs

Audit logs provide a log of events across your organization, such as creating or deleting a repository, or modifications to repository settings/configuration.

Cloudsmith retains audit logs for 1 year. Your plan level determines how far back you can review and search audit logs.

PlanAudit log review period
ProLast 30 days
UltraLast 60 days
EnterpriseCustom, up to 1 year
To update your audit log review period, please reach out to your customer success manager.

Key concepts

Clicking on a row in your audit log will expand to show more details.

Each entry in the log represents an event or a state change and consists of four main components.

  • Actor: The object that performed the Action, such as a User, Service Account or System
  • Verb: The verb (phrase) identifying "what_happened", such as login, retention_settings_changed or token_created
  • Action Object: The object which was created, deleted or updated by the action.
  • Target: (Optional) The object within which the Action was performed, such as a repository or account

Searching / filtering

You can Search and Filter the Audit Log using the search box at the top. You can also use boolean logic (e.g. AND/OR/NOT) for complex search queries.

Search terms

Search BySearch Terms Example
Actoractor:some-user
Actor Kindactor_kind:user (user)
actor_kind:service_account (service account)
actor_kind:system
Event Timeevent_at:>"1 day ago"
event_at:<"June 21, 2022 EST"
Event Kindevent_kind:action (action)
event_kind:create (create)
event_kind:read (read)
event_kind:update (update)
event_kind:delete (delete)
Event (Fuzzy)event:api_key (api key events)
event:entitlement (entitlement events)
event:login (login events)
event:package (package events)
event:retention (retention events)
event:service_account (service account events)

Field type modifiers (depending on the type, you can influence behaviour)

  • For all queries, you can use:
    ~foo for negation

  • For string queries, you can use:
    ^foo to anchor to start of term
    foo$ to anchor to end of term
    foo*bar for fuzzy matching

  • For number/date queries, you can use:
    >foo for values greater than
    >=foo for values greater / equal
    <foo for values less than
    <=foo for values less / equal

🔐 Audit log event types (user and organization)

Cloudsmith tracks a wide range of user and organization-level activities. The following audit events help you monitor security, access control, policy enforcement, and team collaboration across your organization.

EventIdentifierDescriptionContent Type
API Token Exposedaction.api_key_exposedAn API token has been exposed.System
API Token Refreshedupdate.api_key_refreshedA user refreshed their API token.User
API Token Refresh Enforcedupdate.api_key_enforced_refreshAn API token refresh was enforced.User
API Token Expiry Notifiedaction.api_key_expiring_soonUser notified of upcoming API token expiration.User
API Token Expired Notifiedaction.api_key_expiredUser notified that their API token has expired.User
Password Updatedupdate.passwordUser password was updated.User
User Loginaction.loginUser successfully logged in.User
Service Createdcreate.serviceCreated a new service user.User
Service Deleteddelete.serviceDeleted a service user.User
Service Key Refreshedupdate.service_key_refreshedRefreshed the key for a service user.User
User Deactivateddelete.userA user account was deactivated.User
User Restoredaction.user_restoredA previously deactivated user account was restored.User
Member Invitedcreate.member_invited_to_orgInvited a new member to the organization.Org
Invitation Canceleddelete.member_invitation_canceledCanceled an organization invitation.Org
Invitation Extendedupdate.member_invitation_extendedExtended an existing invitation.Org
Invitation Acceptedcreate.member_invitation_acceptedA user accepted an organization invitation.Org
Member Addedcreate.org_membership_addedA user was added to the organization.Org
Member Removeddelete.org_membership_removedA user was removed from the organization.Org
Member Role Changedupdate.org_membership_role_changedUpdated a member's role within the organization.Org
OIDC Settings Createdcreate.open_id_connect_provider_settings_createdCreated OpenID Connect (OIDC) settings.Org
OIDC Settings Updatedupdate.open_id_connect_provider_settings_updatedUpdated OIDC settings.Org
OIDC Settings Deleteddelete.open_id_connect_provider_settings_deletedDeleted OIDC settings.Org
Organization Deleteddelete.org_deletedDeleted an organization.Org
Organization Renamedupdate.org_renamedRenamed an organization.Org
Package Delivery On-Demand Limit Updatedupdate.org_bandwidth_ondemand_limit_updatedUpdated the on-demand package delivery (bandwidth) limit for the workspace.Org
Artifact Data On-Demand Limit Updatedupdate.org_storage_ondemand_limit_updatedUpdated the on-demand artifact data (storage) limit for the workspace.Org
Repo Creation Enabledupdate.create_repos_enabledEnabled repository creation in the organization.Org
Repo Creation Disabledupdate.create_repos_disabledDisabled repository creation.Org
Team Creation Enabledupdate.create_teams_enabledEnabled creation of new teams.Org
Team Creation Disabledupdate.create_teams_disabledDisabled creation of new teams.Org
Invite Collaborators Enabledupdate.invite_collaborators_enabledEnabled collaborator invites.Org
Invite Collaborators Disabledupdate.invite_collaborators_disabledDisabled collaborator invites.Org
Invite Users Enabledupdate.invite_users_enabledEnabled user invites.Org
Invite Users Disabledupdate.invite_users_disabledDisabled user invites.Org
Unredacted Email View Enabledupdate.view_unredacted_emails_enabledEnabled viewing member emails without redaction.Org
Unredacted Email View Disabledupdate.view_unredacted_emails_disabledDisabled viewing member emails without redaction.Org
SCIM Provisioning Allowedupdate.scim_allowedAllowed SCIM provisioning.Org
SCIM Provisioning Blockedupdate.scim_blockedBlocked SCIM provisioning.Org
SAML Login Enabledupdate.saml_enabledEnabled SAML-based login.Org
SAML Login Disabledupdate.saml_disabledDisabled SAML-based login.Org
SAML Enforce Enabledupdate.saml_enforce_enabledEnforced SAML login for all users.Org
SAML Enforce Disabledupdate.saml_enforce_disabledDisabled SAML enforcement.Org
SAML Group Sync Enabledupdate.saml_group_sync_enabledEnabled SAML group synchronization.Org
SAML Group Sync Disabledupdate.saml_group_sync_disabledDisabled SAML group synchronization.Org
Enforce 2FA Enabledupdate.enforce_2fa_enabledEnforced Two-Factor Authentication.Org
Enforce 2FA Disabledupdate.enforce_2fa_disabledDisabled 2FA enforcement.Org
License Policy Createdcreate.package_license_policy_createdCreated a package license policy.Org
License Policy Updatedupdate.package_license_policy_updatedUpdated a package license policy.Org
License Policy Deleteddelete.package_license_policy_deletedDeleted a package license policy.Org
Vulnerability Policy Createdcreate.package_vulnerability_policy_createdCreated a vulnerability policy.Org
Vulnerability Policy Updatedupdate.package_vulnerability_policy_updatedUpdated a vulnerability policy.Org
Vulnerability Policy Deleteddelete.package_vulnerability_policy_deletedDeleted a vulnerability policy.Org
Vulnerability Policy Quarantine Enabledupdate.package_vulnerability_policy_quarantine_enabledEnabled quarantine on a vulnerability policy.Org
Vulnerability Policy Quarantine Disabledupdate.package_vulnerability_policy_quarantine_disabledDisabled quarantine on a vulnerability policy.Org
API Key Policy Createdcreate.org_api_key_rule_createdCreated an API key policy.Org
API Key Policy Deleteddelete.org_api_key_rule_deletedDeleted an API key policy.Org
API Key Auto-Refresh Enabledupdate.org_api_key_rule_refresh_enabledEnabled automatic API key refresh.Org
API Key Auto-Refresh Disabledupdate.org_api_key_rule_refresh_disabledDisabled automatic API key refresh.Org
API Key Max Age Updatedupdate.org_api_key_rule_max_age_changedChanged maximum allowed API key age.Org
Package Deny Policy Createdcreate.package_deny_policy_createdCreated a package deny policy.Org
Package Deny Policy Updated (Name)update.package_deny_policy_name_updatedUpdated deny policy name.Org
Package Deny Policy Updated (Desc)update.package_deny_policy_description_updatedUpdated deny policy description.Org
Package Deny Policy Updated (Query)update.package_deny_policy_query_updatedUpdated deny policy query.Org
Package Deny Policy Enabledupdate.package_deny_policy_enabledEnabled a deny policy.Org
Package Deny Policy Disabledupdate.package_deny_policy_disabledDisabled a deny policy.Org
Package Deny Policy Deleteddelete.package_deny_policy_deletedDeleted a deny policy.Org
Team Createdcreate.team_createdCreated a team.Org
Team Deleteddelete.team_deletedDeleted a team.Org
Team Renamedupdate.team_renamedRenamed a team.Org
Team Slug Renamedupdate.team_renamed_slugChanged the team’s slug.Org
Added to Teamcreate.team_membership_addedAdded a user to a team.Org
Removed from Teamdelete.team_membership_removedRemoved a user from a team.Org
Team Role Changedupdate.team_membership_role_changedUpdated a team member’s role.Org

🔐 Audit log event types (repository)

The following events are logged for repository-level actions, including package changes, key management, entitlement tokens, retention rules, Geo/IP rules, and more.

Webhook events record the webhook ID and its target URL. Webhook secrets, signature keys and any credentials embedded in the URL are never written to the audit log.

EventIdentifierDescriptionContent Type
Repository Createdcreate.repository_createdCreated a new repository.Repo
Repository Deleteddelete.repository_deletedDeleted a repository.Repo
EULA Enforcement Enabledupdate.eula_enforcement_enabledEnabled EULA enforcement on a repository.Repo
EULA Enforcement Disabledupdate.eula_enforcement_disabledDisabled EULA enforcement on a repository.Repo
Retention Rules Enabledupdate.retention_enabledEnabled retention rules on a repository.Repo
Retention Rules Disabledupdate.retention_disabledDisabled retention rules on a repository.Repo
Retention Days Updatedupdate.retention_daysUpdated 'limit by days' rule for retention.Repo
Retention Count Updatedupdate.retention_count_limitUpdated 'limit by count' rule for retention.Repo
Retention Size Updatedupdate.retention_size_limitUpdated 'limit by size' rule for retention.Repo
Retention Group by Name Updatedupdate.retention_group_by_nameUpdated retention rule to group by package name.Repo
Retention Group by Format Updatedupdate.retention_group_by_backendUpdated retention rule to group by package format.Repo
Retention Group by Type Updatedupdate.retention_group_by_typeUpdated retention rule to group by package type.Repo
Storage Region Updatedupdate.storage_region_updatedChanged the storage region of a repository.Repo
Verify Signatures Enabledupdate.verify_signatures_enabledEnabled signature verification for packages.Repo
Verify Signatures Disabledupdate.verify_signatures_disabledDisabled signature verification for packages.Repo
Hidden from Public Listingsupdate.public_hidden_enabledHid the repository from public repository listings.Repo
Shown in Public Listingsupdate.public_hidden_disabledShowed the repository in public repository listings.Repo
File Indexing Enabledupdate.index_files_enabledEnabled indexing of files contained in packages.Repo
File Indexing Disabledupdate.index_files_disabledDisabled indexing of files contained in packages.Repo
Vulnerability Scanning Enabledupdate.vulnerability_scanning_enabledEnabled vulnerability scanning on a repository.Repo
Vulnerability Scanning Disabledupdate.vulnerability_scanning_disabledDisabled vulnerability scanning on a repository.Repo
Geo/IP Restrictions Enabledupdate.geoip_enabledEnabled Geo/IP restrictions on a repository.Repo
Geo/IP Restrictions Disabledupdate.geoip_disabledDisabled Geo/IP restrictions on a repository.Repo
Geo/IP Country Deny List Updatedupdate.geoip_country_deny_listUpdated the country deny list. Records the previous and new list.Repo
Geo/IP Country Allow List Updatedupdate.geoip_country_allow_listUpdated the country allow list. Records the previous and new list.Repo
Geo/IP IP/CIDR Deny List Updatedupdate.geoip_ip_deny_listUpdated the IP/CIDR deny list. Records the previous and new list.Repo
Geo/IP IP/CIDR Allow List Updatedupdate.geoip_ip_allow_listUpdated the IP/CIDR allow list. Records the previous and new list.Repo
Entitlement Tokens Syncedaction.entitlement_token_syncSynced entitlement tokens for the repository.Repo
Cache Rule Createdcreate.repository_cache_rule_createdCreated a new edge cache rule.Repo
Cache Rule Deleteddelete.repository_cache_rule_deletedDeleted an edge cache rule.Repo
Cache Metadata TTL Updatedupdate.repository_cache_rule_dynamic_ttl_updatedUpdated metadata TTL for edge caching.Repo
Cache Storage TTL Updatedupdate.repository_cache_rule_metadata_ttl_updatedUpdated package TTL for edge caching.Repo
Entitlement Token Createdcreate.entitlement_createdCreated an entitlement token.Repo
Entitlement Token Deleteddelete.entitlement_deletedDeleted an entitlement token.Repo
Entitlement Token Enabledupdate.entitlement_enabledEnabled an entitlement token.Repo
Entitlement Token Disabledupdate.entitlement_disabledDisabled an entitlement token.Repo
Entitlement Token Secret Updatedupdate.entitlement_secret_updatedUpdated the secret for an entitlement token.Repo
EULA Revision Createdcreate.eula_revision_createdCreated a new EULA revision.Repo
EULA Revision Deleteddelete.eula_revision_deletedDeleted a EULA revision.Repo
EULA Content Updatedupdate.eula_content_updatedUpdated the content of a EULA revision.Repo
EULA Identifier Updatedupdate.eula_identifier_updatedUpdated the identifier of a EULA revision.Repo
GPG Key Createdcreate.repository_gpg_key_createdCreated a GPG key for the repository.Repo
GPG Key Deleteddelete.repository_gpg_key_deletedDeleted a GPG key from the repository.Repo
GPG Key Enabledupdate.repository_gpg_key_enabledEnabled a GPG key.Repo
GPG Key Disabledupdate.repository_gpg_key_disabledDisabled a GPG key.Repo
GPG Key Set as Defaultupdate.repository_gpg_key_is_defaultSet a GPG key as the default for signing.Repo
RSA Key Createdcreate.repository_rsa_key_createdCreated an RSA key for the repository.Repo
RSA Key Deleteddelete.repository_rsa_key_deletedDeleted an RSA key from the repository.Repo
RSA Key Enabledupdate.repository_rsa_key_enabledEnabled an RSA key.Repo
RSA Key Disabledupdate.repository_rsa_key_disabledDisabled an RSA key.Repo
RSA Key Set as Defaultupdate.repository_rsa_key_is_defaultSet an RSA key as the default for signing.Repo
Signature Key Createdcreate.repository_sig_key_createdCreated a signature key.Repo
Signature Key Deleteddelete.repository_sig_key_deletedDeleted a signature key.Repo
Signature Key Type Changedupdate.repository_sig_key_type_changedChanged the type of a repository signature key.Repo
Upstream Createdcreate.upstream_createdCreated an upstream for the repository.Repo
Upstream Deleteddelete.upstream_deletedDeleted an upstream from the repository.Repo
Upstream Enabledupdate.upstream_enabledEnabled an upstream.Repo
Upstream Disabledupdate.upstream_disabledDisabled an upstream.Repo
Upstream Name Updatedupdate.upstream_nameUpdated the name of an upstream.Repo
Upstream URL Updatedupdate.upstream_urlUpdated the URL of an upstream.Repo
Upstream Mode Updatedupdate.upstream_modeUpdated the mode (proxy or cache) of an upstream.Repo
Upstream Priority Updatedupdate.upstream_priorityUpdated the priority of an upstream.Repo
Upstream SSL Verification Enabledupdate.upstream_ssl_verification_enabledEnabled SSL verification for an upstream.Repo
Upstream SSL Verification Disabledupdate.upstream_ssl_verification_disabledDisabled SSL verification for an upstream.Repo
Upstream Authentication Updatedupdate.upstream_authenticationUpdated authentication for an upstream (credentials are never recorded).Repo
Webhook Createdcreate.webhook_createdCreated a webhook. Records the webhook ID and target URL.Repo
Webhook Deleteddelete.webhook_deletedDeleted a webhook. Records the webhook ID, target URL and subscribed events.Repo
Webhook Enabledupdate.webhook_enabledEnabled a webhook.Repo
Webhook Disabledupdate.webhook_disabledDisabled a webhook. Records the reason. A disable caused by delivery failures is logged as a system action.Repo
Webhook URL Updatedupdate.webhook_urlUpdated the target URL of a webhook. Records the previous and new URL.Repo
Webhook Subscriptions Updatedupdate.webhook_subscriptionsUpdated the events a webhook subscribes to. Records the previous and new event lists.Repo