mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
3.0 KiB
3.0 KiB
NetBox v2.8
v2.8.0 (FUTURE)
New Features
Remote Authentication Support (#2328)
Several new configuration parameters provide support for authenticating an incoming request based on the value of a specific HTTP header. This can be leveraged to employ remote authentication via an nginx or Apache plugin, directing NetBox to create and configure a local user account as needed. The configuration parameters are:
REMOTE_AUTH_ENABLED
- Enables remote authentication (disabled by default)REMOTE_AUTH_HEADER
- The name of the HTTP header which conveys the usernameREMOTE_AUTH_AUTO_CREATE_USER
- Enables the automatic creation of new users (disabled by default)REMOTE_AUTH_DEFAULT_GROUPS
- A list of groups to assign newly created usersREMOTE_AUTH_DEFAULT_PERMISSIONS
- A list of permissions to assign newly created users
If further customization of remote authentication is desired (for instance, if you want to pass group/permission information via HTTP headers as well), NetBox allows you to inject a custom Django authentication backend to retain full control over the authentication and configuration of remote users.
Enhancements
- #1754 - Added support for nested rack groups
- #3939 - Added support for nested tenant groups
- #4078 - Standardized description fields across all models
- #4195 - Enabled application logging (see logging configuration)
API Changes
- The
_choices
API endpoints have been removed. Instead, use anOPTIONS
request to a model's endpoint to view the available values for all fields. (#3416) - The
id__in
filter has been removed. Use the format?id=1&id=2
instead. (#4313) - dcim.Manufacturer: Added a
description
field - dcim.Platform: Added a
description
field - dcim.Rack: The
/api/dcim/racks/<pk>/units/
endpoint has been replaced with/api/dcim/racks/<pk>/elevation/
. - dcim.RackGroup: Added a
description
field - dcim.Region: Added a
description
field - extras.Tag: Renamed
comments
todescription
; truncated length to 200 characters; removed Markdown rendering - ipam.RIR: Added a
description
field - ipam.VLANGroup: Added a
description
field - tenancy.TenantGroup: Added a
description
field - virtualization.ClusterGroup: Added a
description
field - virtualization.ClusterType: Added a
description
field
Other Changes
- #4081 - The
family
field has been removed from the Aggregate, Prefix, and IPAddress models