Skip to content

Commit 7617f37

Browse files
Merge pull request #37 from netboxlabs/features-2025.11.01
Potential fix for code scanning alert no. 11: Clear-text logging of sensitive information
2 parents 0b6db09 + 662cc3f commit 7617f37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup/netbox-discover-proxmox-cluster-and-nodes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ def main():
208208
if device_interface.name.startswith('vmbr'):
209209
continue
210210

211-
print(f"device: {proxmox_node}, interface: {device_interface} {device_interface.type} {device_interface.mac_address}")
211+
print(f"device: {proxmox_node}, interface: {device_interface.name} ({device_interface.type}) [MAC address redacted]")
212212

213213
try:
214214
NetBoxDeviceInterfaceMacAddressMapping(nb_url, app_config['netbox_api_config']['api_token'], netbox_device_id, device_interface, nb_pxmx_cluster.discovered_proxmox_nodes_information[proxmox_node]['system']['network_interfaces'][device_interface.name])

0 commit comments

Comments
 (0)