Skip to content

feat: add network detail inspection - #5

Merged
rvben merged 1 commit into
rvben:mainfrom
Kampe:agent/network-details
Aug 14, 2026
Merged

rvben merged 1 commit into
rvben:mainfrom
Kampe:agent/network-details

Conversation

@Kampe

@Kampe Kampe commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

What

Add unifi networks show <name-or-id> for inspecting a network configuration through the legacy controller API.

Why

networks list does not expose operational settings such as DHCP DNS, mDNS, or cellular-backup eligibility. This provides a scriptable read-only view without requiring browser automation.

Safety

The legacy endpoint may contain sensitive controller fields. The response is deserialized into a typed allowlist and the command emits only documented fields. Regression coverage injects secret-like unknown fields and verifies they never reach output.

Checks

  • env -u UNIFI_API_KEY -u UNIFI_HOST make check
  • Live read-only validation against a UniFi controller

@Kampe
Kampe marked this pull request as ready for review August 14, 2026 02:55
@rvben
rvben merged commit 78f42c5 into rvben:main Aug 14, 2026
5 checks passed
@rvben rvben mentioned this pull request Aug 14, 2026
@Kampe
Kampe deleted the agent/network-details branch October 3, 2026 19:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants