Zum Hauptinhalt springen

Audit events

This page lists the audit events Semaphore records and the fields you can search and filter them by. To turn on the audit log, see Audit log.

Edition is the Semaphore edition that records the event.

Event format​

Every event is a JSON object. Fields that do not apply to an event are left out.

FieldWhen presentMeaning
event_idAlwaysUnique event ID. Use it to remove duplicate deliveries.
seqAlwaysIncreasing sequence number. Use it to restore event order.
timestampAlwaysEvent time in UTC.
schema_versionAlwaysVersion of the event envelope.
category, event_code, type, actionAlwaysStable values that identify what happened.
outcomeAlwayssuccess or failure.
reasonAlwaysWhy the action failed, if the event lists its reasons. On a partial success, what did not complete. Empty on any other success.
actorAlwaysThe user, anonymous client, system component, runner or integration that acted.
sourceHTTP requestsClient IP address and, when available, User-Agent.
targetWhen an object is identifiedThe object affected by the action.
scopeProject eventsThe project that contains the action.
request_idHTTP requestsThe request ID also returned in X-Request-ID.
instance_idAlwaysThe installation name configured by the administrator.
node_idHA installationsThe node that recorded the event.
metadataAlwaysAdditional fields documented for the event kind.

Authentication​

auth.login is recorded once sign-in is complete, including the TOTP check if the user has one. A wrong TOTP code is recorded as an auth.mfa failure.

Event codeActionTypeOutcomesReasonsMetadataEdition
auth.loginauthenticatestartsuccess, failureinvalid_credentials, user_not_found, method_disabled, invalid_state, provider_error, internal_errormethod, providerCommunity
auth.logoutterminate_sessionendsuccessCommunity
auth.mfaverify_totpinfosuccess, failureinvalid_passcodeCommunity
auth.mfaverify_emailinfosuccess, failureinvalid_passcode, code_expired, too_many_attemptsPro
auth.mfarecoverinfosuccess, failureinvalid_recovery_codeCommunity
auth.api_tokenrejectdeniedfailuretoken_unknown, token_expiredCommunity
auth.authorizationdenydeniedfailureforbiddenmethod, permissionCommunity
auth.csrfblockdeniedfailurecross_originmethodCommunity

Identity and access management​

Event codeActionTypeOutcomesReasonsMetadataEdition
iam.usercreatecreationsuccessadmin, pro, externalCommunity
iam.userupdatechangesuccessfields, admin, proCommunity
iam.userdeletedeletionsuccessCommunity
iam.userauto_provisioncreationsuccessmethod, providerCommunity
iam.user_passwordchangechangesuccess, failureinvalid_current_passwordCommunity
iam.user_passwordadmin_resetchangesuccessCommunity
iam.mfaenablechangesuccessCommunity
iam.mfadisablechangesuccessCommunity
iam.mfaview_qraccesssuccessCommunity
iam.external_identitylinkchangesuccessmethod, providerCommunity
iam.external_identityunlinkchangesuccessmethod, providerCommunity
iam.api_tokencreatecreationsuccessCommunity
iam.api_tokendeletedeletionsuccessCommunity
iam.membershipaddchangesuccessroles, self_removalCommunity
iam.membershipremovechangesuccess, failureowner_self_changeroles, self_removalCommunity
iam.project_rolechangechangesuccess, failureowner_self_changeold_roles, new_rolesCommunity
iam.rolecreatecreationsuccessslug, permissionsPro
iam.roleupdatechangesuccessslug, permissionsPro
iam.roledeletedeletionsuccessslugPro
iam.project_role_definitioncreatecreationsuccessslug, permissionsPro
iam.project_role_definitionupdatechangesuccessslug, permissionsPro
iam.project_role_definitiondeletedeletionsuccessslugPro
iam.template_permissioncreatecreationsuccesstemplate_id, role, permissionsCommunity
iam.template_permissionupdatechangesuccesstemplate_id, role, permissionsCommunity
iam.template_permissiondeletedeletionsuccesstemplate_idCommunity

Resources​

Event codeActionTypeOutcomesReasonsMetadataEdition
resource.projectcreatecreationsuccesssetup_failed (partial success)demo, partialCommunity
resource.projectupdatechangesuccessCommunity
resource.projectdeletedeletionsuccessCommunity
resource.project_backupexportaccesssuccessCommunity
resource.project_backuprestorecreationsuccessrestore_failed (partial success)objects, partialCommunity
resource.inventorycreatecreationsuccessCommunity
resource.inventoryupdatechangesuccessCommunity
resource.inventorydeletedeletionsuccessCommunity
resource.repositorycreatecreationsuccessCommunity
resource.repositoryupdatechangesuccessCommunity
resource.repositorydeletedeletionsuccessCommunity
resource.templatecreatecreationsuccessinventory_failed (partial success)app, created_inventory_id, partialCommunity
resource.templateupdatechangesuccessappCommunity
resource.templatedeletedeletionsuccessCommunity
resource.templateattach_inventorychangesuccessinventory_idCommunity
resource.templatedetach_inventorychangesuccessinventory_idCommunity
resource.templateset_default_inventorychangesuccessinventory_idCommunity
resource.schedulecreatecreationsuccesstemplate_idCommunity
resource.scheduleupdatechangesuccesstemplate_idCommunity
resource.scheduledeletedeletionsuccessCommunity
resource.scheduleactivatechangesuccesstemplate_idCommunity
resource.scheduledeactivatechangesuccesstemplate_idCommunity
resource.integrationcreatecreationsuccesstemplate_id, auth_methodCommunity
resource.integrationupdatechangesuccesstemplate_id, auth_methodCommunity
resource.integrationdeletedeletionsuccessCommunity
resource.integration_matchercreatecreationsuccessintegration_idCommunity
resource.integration_matcherupdatechangesuccessintegration_idCommunity
resource.integration_matcherdeletedeletionsuccessintegration_idCommunity
resource.integration_extractorcreatecreationsuccessintegration_idCommunity
resource.integration_extractorupdatechangesuccessintegration_idCommunity
resource.integration_extractordeletedeletionsuccessintegration_idCommunity
resource.integration_aliascreatecreationsuccessintegration_idCommunity
resource.integration_aliasdeletedeletionsuccessintegration_idCommunity
resource.host_configcreatecreationsuccesstypeCommunity
resource.host_configupdatechangesuccesstypeCommunity
resource.host_configdeletedeletionsuccessCommunity
resource.workflowcreatecreationsuccessPro
resource.workflowupdatechangesuccessPro
resource.workflowdeletedeletionsuccessPro
resource.environmentcreatecreationsuccesssecret_failed (partial success)secrets_created, secrets_updated, secrets_deleted, partialCommunity
resource.environmentupdatechangesuccesssecret_failed (partial success)secrets_created, secrets_updated, secrets_deleted, partialCommunity
resource.environmentdeletedeletionsuccesssecret_failed (partial success)partialCommunity
resource.environmentsyncchangesuccessPro

Secrets​

Event codeActionTypeOutcomesReasonsMetadataEdition
secret.credentialcreatecreationsuccesstypeCommunity
secret.credentialupdatechangesuccesstypeCommunity
secret.credentialdeletedeletionsuccessCommunity
secret.storagecreatecreationsuccesstypeCommunity
secret.storageupdatechangesuccesstypeCommunity
secret.storagedeletedeletionsuccessCommunity
secret.storagesyncchangesuccessPro

Tasks​

Event codeActionTypeOutcomesReasonsMetadataEdition
task.executioncreatecreationsuccesstrigger, template_id, schedule_id, integration_id, parent_task_id, workflow_run_idCommunity
task.approvalrequestinfosuccesstemplate_idCommunity
task.approvalapprovechangesuccesstemplate_idCommunity
task.approvalrejectchangesuccesstemplate_idCommunity
task.controlstopchangesuccesstemplate_idCommunity
task.controlforce_stopchangesuccesstemplate_idCommunity
task.controlstop_allchangesuccessCommunity
task.executioncompleteendsuccessresult, end_reason, template_id, initiator_id, duration_msCommunity
task.historydeletedeletionsuccesstemplate_idCommunity

Runners​

Event codeActionTypeOutcomesReasonsMetadataEdition
runner.lifecyclecreatecreationsuccessCommunity
runner.lifecycleupdatechangesuccessCommunity
runner.lifecycledeletedeletionsuccessCommunity
runner.lifecycleenablechangesuccessCommunity
runner.lifecycledisablechangesuccessCommunity
runner.lifecycleregistercreationsuccess, failureinvalid_registration_tokentokenCommunity
runner.lifecycleunregisterdeletionsuccessCommunity
runner.credentialrotate_registration_tokenchangesuccessCommunity
runner.cachecleardeletionsuccessCommunity
runner.progressrejectdeniedfailureinvalid_statusCommunity

System and audit​

Event codeActionTypeOutcomesReasonsMetadataEdition
system.settingsupdatechangesuccesskeysCommunity
system.licenseactivatechangesuccess, failureactivation_failedPro
audit.lifecyclestartstartsuccessdestinationsCommunity
audit.retentiondeletedeletionsuccessdeleted, last_seq, retention_daysCommunity
audit.logexportaccesssuccessformat, filters, events, completePro