diff --git a/src/Raven.Server/Web/Authentication/AdminCertificatesHandler.cs b/src/Raven.Server/Web/Authentication/AdminCertificatesHandler.cs index 4ec847153753..64ea9ba8226c 100644 --- a/src/Raven.Server/Web/Authentication/AdminCertificatesHandler.cs +++ b/src/Raven.Server/Web/Authentication/AdminCertificatesHandler.cs @@ -90,8 +90,8 @@ public async Task Generate() { var permissions = FormatPermissions(certificate); - LogAuditFor("Certificates", "ADD", - $"Generate certificate {certificate?.Name}. Security Clearance: {certificate?.SecurityClearance}. Permissions: {permissions}. TwoFactor: {string.IsNullOrEmpty(twoFactorAuthenticationKey)}"); + LogAuditFor("Certificates", "GENERATE", + $"Certificate {certificate?.Name}. Security Clearance: {certificate?.SecurityClearance}. Permissions: {permissions}. TwoFactor: {string.IsNullOrEmpty(twoFactorAuthenticationKey)}"); } byte[] certs = null; @@ -776,7 +776,7 @@ public async Task Edit() var permissions = FormatPermissions(newCertificate); LogAuditFor("Certificates", "CHANGE", - $"Edit certificate {newCertificate?.Name}. Security Clearance: {newCertificate?.SecurityClearance}. Permissions: {permissions}. TwoFactor: {string.IsNullOrEmpty(twoFactorAuthenticationKey)}"); + $"Certificate {newCertificate?.Name}. Security Clearance: {newCertificate?.SecurityClearance}. Permissions: {permissions}. TwoFactor: {string.IsNullOrEmpty(twoFactorAuthenticationKey)}"); } var cmd = new PutCertificateCommand(newCertificate.Thumbprint, @@ -1003,7 +1003,7 @@ public async Task ForceRenew() if (LoggingSource.AuditLog.IsInfoEnabled) { - LogAuditFor("Certificates", "RENEW", "Renew server certificate"); + LogAuditFor("Certificates", "RENEW", "Server certificate"); } try