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

Loggining all organization events #14

Open
itspiritguru opened this issue Jan 23, 2025 · 1 comment
Open

Loggining all organization events #14

itspiritguru opened this issue Jan 23, 2025 · 1 comment

Comments

@itspiritguru
Copy link

@Timshel Good evening!
Please tell me how to write organization logs in file (viewing items, performing user actions, logging in and logging out)? by default, this information is not written(((

@Timshel
Copy link
Owner

Timshel commented Jan 27, 2025

Hey

Took some time to answer since I was not familiar with the event logging.

To access events you will first need to activate logging in the conf: ORG_EVENTS_ENABLED=true .
Then events will be visible in the org reporting: https://bitwarden.com/help/event-logs/

As for the event themselves, you can get an idea of the logged events: https://github.com/Timshel/OIDCWarden/blob/main/src/db/models/event.rs#L40

But from those you listed I don't believe "viewing items" nor "logging out" will be available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants