-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Labels
status: under reviewFurther discussion is needed to determine this issue's scope and/or implementationFurther discussion is needed to determine this issue's scope and/or implementationtype: featureIntroduction of new functionality to the applicationIntroduction of new functionality to the application
Description
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
jcollieKerwood
Metadata
Metadata
Assignees
Labels
status: under reviewFurther discussion is needed to determine this issue's scope and/or implementationFurther discussion is needed to determine this issue's scope and/or implementationtype: featureIntroduction of new functionality to the applicationIntroduction of new functionality to the application