netbox
netbox copied to clipboard
Make it possible to log failed login attempts
NetBox version
v3.2.9
Feature type
New functionality
Proposed functionality
I would like to have netbox log every login attempt that is made, however this doesn't seem possible, i currently have this logging config
LOGGING = {
'version': 1,
'disable_existing_loggers': False,
'handlers': {
'console': {
'class': 'logging.StreamHandler',
},
},
'loggers': {
'netobx.*': {
'handlers': ['console'],
'level': 'INFO',
}
},
}
This config logs every time a user logs in successfully but not when a user fails to authenticate.
Use case
This would make it possible to see if netbox is currently being bruteforced, this would be especially helpful to deployments in the cloud where it is accessible to the web.
Database changes
N/A
External dependencies
N/A