Project

General

Profile

Actions

Feature #19388

closed

Write audit log when new login happens or token is used

Added by Peter Amstutz over 1 year ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
API
Target version:
Story points:
-
Release relationship:
Auto

Description

The goal is to report which users are actively using the cluster (e.g. Playground).

Proposed logging feature:
  • Add config entry for user activity logging period (default 24h)
  • Whenever a token is issued by the /login endpoint or a token is used in a /collections or /container_requests API request, create a log entry with event_type="activity", object_uuid=user_uuid
  • A given controller process creates no more than one log entry per user per activity logging period

This limits the number of log entries per period to #users x #controllers x #controller restarts.


Subtasks 1 (0 open1 closed)

Task #19446: Review 19388-activity-logsResolvedStephen Smith09/23/2022Actions
Actions

Also available in: Atom PDF