Repository navigation
PowerNetbox v4.7.5.0 — NetBox 4.7.5, a security fix for verbose logging, user cmdlets repaired
Targets NetBox 4.7.5 (released 2026-11-10). Supports NetBox 4.3 and newer.
Security
-
-Verboseno longer writes request secrets to the verbose stream (#510). TheBODY:line that everyNew-*/Set-*cmdlet logs under-Verbosewas meant to mask sensitive fields, but the masking never worked for the hashtable bodies the module builds: passwords, wireless PSKs, IKE pre-shared keys, webhook secrets and data source credentials were logged in clear text.Who is affected: anyone who ran write cmdlets with
-Verbose(or$VerbosePreference = 'Continue') while passing a secret, in a context where verbose output is kept — transcripts, CI job logs, pasted bug reports. Treat those logs as containing the secret and rotate it if the log was shared. Nothing was sent anywhere it should not go; the exposure is the local log.Now: fields whose name suggests a credential (
secret,password,passphrase,key,token,psk,credential,community,header) are shown as***REDACTED***, including nested values such asparameters.passwordor a secret insidecustom_fields. The request sent to NetBox is unchanged.The same change removes the spurious
WARNING: Resulting JSON is truncated...thatNew-NBDCIMCableprinted on every call.
NetBox 4.7.5
-
Choice values added in NetBox 4.7.1 – 4.7.5 (#508), previously rejected by parameter validation before the request was sent:
- Interface
-TypeonGet-/New-/Set-NBDCIMInterface:infiniband-hdr-2x,infiniband-ndr-2x,infiniband-xdr-2x(NetBox 4.7.1) - Cable
-Cable_ProfileonGet-/New-/Set-NBDCIMCable:trunk-8c1p,trunk-12c1p,trunk-24c1p(NetBox 4.7.4) andtrunk-3c8p,trunk-3c12p,trunk-4c12p(NetBox 4.7.5)
An older NetBox answers a value it does not know with
... is not a valid choice. - Interface
-
New-NBVPNL2VPN -Typeis now mandatory. NetBox has always rejected an L2VPN without a type, and 4.7.1 declares it required in the schema; the cmdlet now says so at the prompt instead of returning a 400. -
Every ValidateSet in the module matches the NetBox 4.7.5 source (
Verify-ValidateSetParity: zero drift), and the serializer and filter changes between 4.7.0 and 4.7.5 were reviewed - no other change was needed.
Fixed
New-NBUserandSet-NBUserwork again (#505, #506 — thanks @danubie). Both sent their fields in PascalCase; NetBox field names are case-sensitive, so creating a user failed with400 username: This field is requiredand updating one silently changed nothing.
Added
- Deprecation warnings for what NetBox 5.0 removes (#483, #484, #500), shown when connected to NetBox 4.7 or newer: v1 API tokens, Service and ServiceTemplate
-Protocol/-Ports(use-Port_Mappings), and Rack-Form_Factor/-Width/-Outer_Width/-Outer_Depth/-Outer_Height(set the geometry on the rack type). Each warning appears once per connection and the request is still sent unchanged.
PowerShell support
- PowerShell 7.4 is no longer tested (#507). It reached end-of-support on 2026-11-10 together with .NET 8. The tested set is PowerShell 7.6 LTS and Windows PowerShell 5.1; the support policy for 5.1 ("supported, frozen") is published in the Compatibility guide (#496, #499).
- CI installs its PowerShell versions explicitly and verifies them, so the published support table is what is actually exercised (#482, #498).
How this release was verified
- Live against NetBox 4.7.5 (a build of the 4.7.5 tag): Integration suite 118/118, bulk operations 3/3, every new choice value round-tripped through
New-,Get-andSet-. - The automated integration matrix on NetBox 4.7.0, 4.6.10, 4.5.10, 4.4.10 and 4.3.7.
- The matrix's newest leg moves from 4.7.0 to 4.7.5 as soon as the official
netbox-dockerimage for 4.7.5 is published; that is a CI change and needs no new module release.
Full Changelog: v4.7.0.2...v4.7.5.0