This release introduces two new features in beta status. While they are expected to be functional, their precise implementation is subject to change during the v2.8 release cycle. It is recommended to wait until NetBox v2.9 to deploy them in production.
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 usersIf 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.
This release introduces support for custom plugins, which can be used to extend NetBox's functionality beyond what the core product provides. For example, plugins can be used to:
For NetBox plugins to be recognized, they must be installed and added by name to the PLUGINS configuration parameter. (Plugin support is disabled by default.) Plugins can be configured under the PLUGINS_CONFIG parameter. More information can be found the in the plugins documentation.
_choices API endpoints have been removed. Instead, use an OPTIONS request to a model's endpoint to view the available values for all fields. (#3416)id__in filter has been removed from all models (#4313). Use the format ?id=1&id=2 instead.description fielddescription field/api/dcim/racks/<pk>/units/ endpoint has been replaced with /api/dcim/racks/<pk>/elevation/.description fielddescription fieldcomments to description; truncated length to 200 characters; removed Markdown renderingdescription fielddescription fielddescription fielddescription fielddescription fieldfamily
field has been removed from the Aggregate, Prefix, and IPAddress
models. The field remains available in the API representations of these
models, however the column has been removed from the database table.--
You received this message because you are subscribed to the Google Groups "NetBox" group.
To unsubscribe from this group and stop receiving emails from it, send an email to netbox-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/netbox-discuss/6fdc66db-1c64-4103-9880-842588777fcd%40googlegroups.com.
# cd /opt/netbox # git checkout master # git pull origin master # git status./upgrade.sh
Got it working, needed to do "git stash"
error: pathspec 'master' did not match any file(s) known to git.