extras_useraction to log remote_addr #1293

Closed
opened 2025-12-29 16:31:08 +01:00 by adam · 1 comment
Owner

Originally created by @candlerb on GitHub (Oct 11, 2017).

Issue type

[X] Feature request

Environment

  • Python version: 3.5.2
  • NetBox version: 2.1.5

Description

In the extras_useraction table it would be helpful to have an extra column recording the client IP address.

Use case:

  • some people have been logging in as admin instead of their personal account, and need to identify who did what
Originally created by @candlerb on GitHub (Oct 11, 2017). ### Issue type [X] Feature request <!-- Requesting the implementation of a new feature --> ### Environment * Python version: 3.5.2 * NetBox version: 2.1.5 ### Description In the `extras_useraction` table it would be helpful to have an extra column recording the [client IP address](https://stackoverflow.com/questions/4581789/how-do-i-get-user-ip-address-in-django). Use case: * some people have been logging in as `admin` instead of their personal account, and need to identify who did what
adam closed this issue 2025-12-29 16:31:08 +01:00
Author
Owner

@jeremystretch commented on GitHub (Oct 13, 2017):

some people have been logging in as admin instead of their personal account

Well, that's easy to fix. Get rid of the shared admin account (any account can be designated as a superuser) and use only individual accounts. Logging the IP address of a request would not definitively identify an individual anyway.

I'm going to reject this request because I'm planning to overhaul and improve the activity log in the near future (see #1127).

@jeremystretch commented on GitHub (Oct 13, 2017): > some people have been logging in as admin instead of their personal account Well, that's easy to fix. Get rid of the shared `admin` account (any account can be designated as a superuser) and use only individual accounts. Logging the IP address of a request would not definitively identify an individual anyway. I'm going to reject this request because I'm planning to overhaul and improve the activity log in the near future (see #1127).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#1293