AuditService
class AuditService (View source)
Writes the "client_ip:.. user:.. operation:.." audit lines. Every line starts with the same actor context; one method per event keeps the field names in one place.
Methods
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
An identity-provider handshake error. Logged as login_error, not login_failed, so it does not feed fail2ban brute-force counters.
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
A zone file import: a new zone or records added to an existing one.
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
Logged against the member zone: that is the zone whose stored catalog changed.
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
Written to the general log: the group row is gone, so there is nothing to attach it to.
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
Details
__construct(PDO $db, LegacyLogger|null $logger = null, IpAddressRetriever|null $ipRetriever = null, UserContextService|null $userContext = null)
No description
void
logPermTemplateChange(string $targetUser, int $oldTemplateId, int $newTemplateId)
No description
void
logSessionExpired()
No description
void
logAccessDenied(string $permission, string $requestUri)
No description
void
logUserAdd(string $username, string $email)
No description
void
logUserEdit(string $targetUser, int $permTemplateId, string $authType)
No description
void
logUserDelete(string $targetUser)
No description
void
logPasswordChange()
No description
void
logLogout()
No description
void
logPasswordResetRequest(string $email)
No description
void
logPasswordReset(int $userId)
No description
void
logUsernameRecovery(string $email)
No description
void
logMfaEnable(string $mfaType)
No description
void
logMfaDisable()
No description
void
logMfaRecoveryCodesRegenerate()
No description
void
logMfaVerify(string $mfaType)
No description
void
logMfaFailed(string $mfaType)
No description
void
logSsoLoginError(string $authMethod, string $error)
An identity-provider handshake error. Logged as login_error, not login_failed, so it does not feed fail2ban brute-force counters.
void
logSsoLoginSuccess(string $authMethod)
No description
void
logSamlLogout(string|null $username)
No description
void
logApiKeyCreate(int $keyId, string $keyName)
No description
void
logApiKeyEdit(int $keyId, string $keyName)
No description
void
logApiKeyDelete(int $keyId, string $keyName)
No description
void
logApiKeyRegenerate(int $keyId, string $keyName)
No description
void
logApiKeyToggle(int $keyId, string $keyName, bool $disabled)
No description
void
logPermTemplateAdd(string $name)
No description
void
logPermTemplateEdit(int $templateId, string $name)
No description
void
logPermTemplateDelete(int $templateId, string $name)
No description
void
logZoneAdd(int $zoneId, string $zoneName, string $zoneType, string|null $template = null, string|null $master = null)
No description
void
logZoneDelete(int $zoneId, string $zoneName, string $zoneType)
No description
void
logZoneImport(int $zoneId, string $zoneName, bool $intoExistingZone)
A zone file import: a new zone or records added to an existing one.
void
logSecondaryZoneImport(int $zoneId, string $zoneName, string $master)
No description
void
logApiZoneAdd(int $zoneId, string $zoneName, string $zoneType)
No description
void
logApiZoneDelete(int $zoneId, string $zoneName)
No description
void
logRecordAdd(int $zoneId, string $type, string $name, string $content, int|string $ttl, int|string $prio)
No description
void
logRecordEdit(int|null $zoneId, array $before, array $after)
No description
void
logRecordDelete(int $zoneId, string $type, string $name, string $content, int|string $ttl, int|string|null $prio)
No description
void
logBatchPtrRecordAdd(int $zoneId, string $name, string $content, int|string $ttl, int|string $prio)
No description
void
logRecordTypeDefaultSave(string $type, int $ttl)
No description
void
logRecordTypeDefaultDelete(string $type)
No description
void
logApiRecordAdd(int $zoneId, string $name, string $type, string $content)
No description
void
logApiRecordEdit(int $zoneId, string $name, string $type, string $content)
No description
void
logApiRecordDelete(int $zoneId, string $name, string $type, string $content)
No description
void
logApiRrsetReplace(int $zoneId, string $name, string $type, int $records)
No description
void
logApiRrsetDelete(int $zoneId, string $name, string $type, int $records)
No description
void
logApiBulkRecords(int $zoneId, int $operations)
No description
void
logZoneCatalogAssign(int $zoneId, string $zoneName, string $catalog)
Logged against the member zone: that is the zone whose stored catalog changed.
void
logZoneCatalogClear(int $zoneId, string $zoneName, string $catalog)
No description
void
logZoneOwnerAdd(int $zoneId, string $zoneName, int $ownerId)
No description
void
logZoneOwnerRemove(int $zoneId, string $zoneName, int $ownerId)
No description
void
logZoneGroupAdd(int $zoneId, string $zoneName, int $groupId)
No description
void
logZoneGroupRemove(int $zoneId, string $zoneName, int $groupId)
No description
void
logDnssecAddKey(int $zoneId, string $zoneName, string $keyType, string $bits, string $algorithm)
No description
void
logDnssecDeleteKey(int $zoneId, string $zoneName, int $keyId)
No description
void
logDnssecToggleKey(int $zoneId, string $zoneName, int $keyId, string $action)
No description
void
logZoneMetadataEdit(int $zoneId, string $zoneName, array $kinds)
No description
void
logDnssecSignZone(int $zoneId, string $zoneName)
No description
void
logDnssecUnsignZone(int $zoneId, string $zoneName)
No description
void
logGroupCreate(int $groupId, string $groupName, string $templateName, int $templateId)
No description
void
logGroupEdit(int $groupId, string $groupName, array $changes)
No description
void
logGroupDelete(int $groupId, string $groupName, int $membersAffected, int $zonesAffected)
Written to the general log: the group row is gone, so there is nothing to attach it to.
void
logGroupMembersAdd(int $groupId, string $groupName, array $usernames)
No description
void
logGroupMembersRemove(int $groupId, string $groupName, array $usernames)
No description
void
logApiGroupMemberAdd(int $groupId, string $groupName, string $username)
No description
void
logGroupZonesAdd(int $groupId, string $groupName, array $zoneNames)
No description
void
logGroupZonesRemove(int $groupId, string $groupName, array $zoneNames)
No description
void
logGroupMemberRemove(int $groupId, int $userId)
No description
void
logZoneTemplateAdd(string $templateName)
No description
void
logZoneTemplateEdit(int $templateId, string $templateName)
No description
void
logZoneTemplateDelete(int $templateId)
No description
void
logZoneTemplateUnlink(int $zoneId)
No description
void
logZoneTemplateRecordAdd(int $templateId, string $recordName, string $recordType)
No description
void
logZoneTemplateRecordEdit(int $templateId, int $recordId, string $recordName, string $recordType)
No description
void
logZoneTemplateRecordDelete(int $templateId, int $recordId)
No description
void
logApiZoneTemplateAdd(int $templateId, string $templateName)
No description
void
logApiZoneTemplateEdit(int $templateId, string $templateName)
No description
void
logApiZoneTemplateDelete(int $templateId)
No description
void
logApiZoneTemplateRecordAdd(int $templateId, int $recordId, string $recordName, string $recordType)
No description
void
logApiZoneTemplateRecordEdit(int $templateId, int $recordId, string $recordName, string $recordType)
No description
void
logApiZoneTemplateRecordDelete(int $templateId, int $recordId)
No description
void
logZoneCommentEdit(int $zoneId, string $zoneName)
No description
void
logSupermasterAdd(string $masterIp, string $nsName)
No description
void
logSupermasterEdit(string $oldMasterIp, string $oldNsName, string $newMasterIp, string $newNsName)
No description
void
logSupermasterDelete(string $masterIp, string $nsName)
No description