Project

General

Profile

Feature #28168

Report which users access the API

Added by Marek Hulán 10 months ago. Updated 5 months ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Reporting
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:

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.

Associated revisions

Revision 731f65c7 (diff)
Added by Dominik Matoulek 8 months ago

Fixes #28168 - updating time of login for API

Revision 6bcb43db (diff)
Added by Dominik Matoulek 8 months ago

fixes #28168 - added registered users template

History

#1 Updated by Marek Hulán 9 months 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)

#2 Updated by The Foreman Bot 9 months ago

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

#3 Updated by The Foreman Bot 9 months ago

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

#4 Updated by The Foreman Bot 8 months ago

  • Fixed in Releases 2.0.0 added

#5 Updated by Dominik Matoulek 8 months ago

  • Status changed from Ready For Testing to Closed

#6 Updated by Tomer Brisker 5 months ago

  • Category changed from Statistics to Reporting

Also available in: Atom PDF