Umbraco-CMS
Umbraco-CMS copied to clipboard
V14 - umbracoAudit table is not logging some audit events
Which Umbraco version are you using? (Please write the exact version, example: 10.1.0)
15.0.0-rc2
Bug summary
The umbracoAudit
table seems to be logging less User events in v15.0.0-rc2
when compared to v13.5.1
.
Missing events seem to include all events relating to passwords, logging in and logging out.
Note: I have only tested password changing and login/logout events, it's possible that more audit events are missing.
Specifics
No response
Steps to reproduce
- Setup a new project using a script from Package Script Writer - https://psw.codeshare.co.uk/
- v15.0.0-rc2
# Ensure we have the version specific Umbraco templates dotnet new install Umbraco.Templates::15.0.0-rc2 --force # Create solution/project dotnet new sln --name "15-0-0-RC2" dotnet new umbraco --force -n "15-0-0-RC2" --friendly-name "Administrator" --email "[email protected]" --password "1234567890" --development-database-type SQLite dotnet sln add "15-0-0-RC2" dotnet run --project "15-0-0-RC2" #Running
- v13.5.1
# Ensure we have the version specific Umbraco templates dotnet new install Umbraco.Templates::13.5.1 --force # Create solution/project dotnet new sln --name "13.5.1" dotnet new umbraco --force -n "13.5.1" --friendly-name "Administrator" --email "[email protected]" --password "1234567890" --development-database-type SQLite dotnet sln add "13.5.1" dotnet run --project "13.5.1" #Running
- v15.0.0-rc2
- Once it is running, login as Admin
- Username:
[email protected]
- Password:
1234567890
- Username:
- Navigate to the Users section
- Create a new User with the following details:
- Name:
Editor
- Email:
[email protected]
- User Group:
Editors
- Name:
- Navigate to the User profile and change it's password to
1234567890
- Open a new window in private/incognito and navigate to the Umbraco backoffice login page
- Login as Editor
- Logout as Editor
- Observe the
umbracoAudit
database table to check what events have been logged
Expected result / actual result
I would expect the events logged to be similar/identical to the events logged in Umbraco 13, but there appears to be quite a few audit events that are no longer logged.
v13.5.1
The events highlighted in yellow do not appear in the v15
umbracoAudit
table.
v15.0.0-rc1
Umbraco 15 should be logging the password related events, and the login/logout related events.