Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log Workspaces changes to audit log #1034

Open
ThibautPlg opened this issue Jul 9, 2024 · 0 comments
Open

Log Workspaces changes to audit log #1034

ThibautPlg opened this issue Jul 9, 2024 · 0 comments
Labels
backend Modification related to backend feature Ask for a new feature or new feature proposition Suggested improvement to be discussed

Comments

@ThibautPlg
Copy link
Collaborator

Hi,

As a Nextcloud (system) administrator, I should be able to know by looking at my audit logs who created a workspace and when.

Currently, my only way of knowing such an information, is by looking at the group creation logs like

{"reqId":"iXi5zW5mwKsHKGssC9pR","level":1,"time":"2024-07-09T14:51:47+02:00","remoteAddr":"127.0.0.1","user":"jdoe","app":"admin_audit","method":"POST","url":"/apps/workspace/spaces","message":"Group created: \"SPACE-GE-19\"","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:123.0) Gecko/20100101 Firefox/123.0","version":"28.0.7.4","data":{"app":"admin_audit"}}
{"reqId":"iXi5zW5mwKsHKGssC9pR","level":1,"time":"2024-07-09T14:51:47+02:00","remoteAddr":"127.0.0.1","user":"jdoe","app":"admin_audit","method":"POST","url":"/apps/workspace/spaces","message":"Group created: \"SPACE-U-19\"","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:123.0) Gecko/20100101 Firefox/123.0","version":"28.0.7.4","data":{"app":"admin_audit"}}

and guess by myself that SPACE-U-* and SPACE-GE-* are what I'm looking for.
Something like "Workspace created: \"my workspace\" with id \"42\" linked to groupfolder \"11\"" would be nice imho.

Sidenotes:

  • Deletion of a workspace should also be logged
  • Adding a group to a workspace too
    • Adding a user is somehow already logged though Nextcloud native behaviour ("message":"User \"toto\" removed from group \"SPACE-GE-18\""

Best regards,

@ThibautPlg ThibautPlg added feature Ask for a new feature or new feature backend Modification related to backend proposition Suggested improvement to be discussed labels Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Modification related to backend feature Ask for a new feature or new feature proposition Suggested improvement to be discussed
Projects
None yet
Development

No branches or pull requests

1 participant