netbird/management/server/http/api
pascal-fischer da75a76d41
Adding dashboard login activity (#1092)
For better auditing this PR adds a dashboard login event to the management service.

For that the user object was extended with a field for last login that is not actively saved to the database but kept in memory until next write. The information about the last login can be extracted from the JWT claims nb_last_login. This timestamp will be stored and compared on each API request. If the value changes we generate an event to inform about a login.
2023-08-18 19:23:11 +02:00
..
cfg.yaml Feature/add nameservers API endpoint (#491) 2022-10-10 11:06:54 +02:00
generate.sh Feature/add nameservers API endpoint (#491) 2022-10-10 11:06:54 +02:00
openapi.yml Adding dashboard login activity (#1092) 2023-08-18 19:23:11 +02:00
types.gen.go Adding dashboard login activity (#1092) 2023-08-18 19:23:11 +02:00