Project

General

Profile

Actions

Feature #28168

closed

Report which users access the API

Added by Marek Hulán about 5 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Reporting
Target version:
-
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1763816

Description of problem:
I’m able to query user access to Satellite using /api/v2/users and able to get last_login_on value, however, this only seems to record when a user accesses the GUI. I’m looking to see if there is a way to record when a user accesses API as well.

Expected results:
Run a report to track which user accounts are accessing the API.

Additional info:
Customer is looking to implement a "use it or lose it" policy for accessing the API.

Actions #1

Updated by Marek Hulán about 5 years ago

  • Subject changed from Report which users access the API to Report which users access the API

I actually think this means 2 things:
1) update last login info on user object when credentials are used in API (totally reasonable to me)
2) add a report on users that prints this info (trivial)

Actions #2

Updated by The Foreman Bot about 5 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/7155 added
Actions #3

Updated by The Foreman Bot about 5 years ago

  • Pull request https://github.com/theforeman/community-templates/pull/660 added
Actions #4

Updated by The Foreman Bot almost 5 years ago

  • Fixed in Releases 2.0.0 added
Actions #5

Updated by Dominik Matoulek almost 5 years ago

  • Status changed from Ready For Testing to Closed
Actions #6

Updated by Tomer Brisker over 4 years ago

  • Category changed from Statistics to Reporting
Actions

Also available in: Atom PDF