[PR #13203] [MERGED] Adds sensitive_parameters to DataBackend #14132

Closed
opened 2025-12-29 23:22:43 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/13203
Author: @abhi1693
Created: 7/18/2023
Status: Merged
Merged: 7/27/2023
Merged by: @jeremystretch

Base: developHead: feat/12625-ds-password


📝 Commits (1)

📊 Changes

2 files changed (+8 additions, -1 deletions)

View changed files

📝 netbox/core/data_backends.py (+3 -0)
📝 netbox/templates/core/datasource.html (+5 -1)

📄 Description

Fixes: #12625

I have added a new parameter sensitive_parameters which takes a list of fields that should be considered to contain confidential information like keys and passwords.

@jeremystretch I'm not sure if I should keep the perms check in the template, kindly advise.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbox-community/netbox/pull/13203 **Author:** [@abhi1693](https://github.com/abhi1693) **Created:** 7/18/2023 **Status:** ✅ Merged **Merged:** 7/27/2023 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `feat/12625-ds-password` --- ### 📝 Commits (1) - [`ef615ca`](https://github.com/netbox-community/netbox/commit/ef615cadadd3a0158abad174e885b58f13f77051) adds sensitive_parameters to DataBackend #12625 ### 📊 Changes **2 files changed** (+8 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `netbox/core/data_backends.py` (+3 -0) 📝 `netbox/templates/core/datasource.html` (+5 -1) </details> ### 📄 Description <!-- Thank you for your interest in contributing to NetBox! Please note that our contribution policy requires that a feature request or bug report be approved and assigned prior to opening a pull request. This helps avoid waste time and effort on a proposed change that we might not be able to accept. IF YOUR PULL REQUEST DOES NOT REFERENCE AN ISSUE WHICH HAS BEEN ASSIGNED TO YOU, IT WILL BE CLOSED AUTOMATICALLY. Please specify your assigned issue number on the line below. --> ### Fixes: #12625 <!-- Please include a summary of the proposed changes below. --> I have added a new parameter `sensitive_parameters` which takes a list of fields that should be considered to contain confidential information like keys and passwords. @jeremystretch I'm not sure if I should keep the perms check in the template, kindly advise. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 23:22:43 +01:00
adam closed this issue 2025-12-29 23:22:44 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#14132