tools.cisco_https_tools module

Cisco IOS-XE RESTCONF and NX-OS NX-API (read-only, allowlisted).

IOS-XE: HTTPS GET to fixed /restconf/data/... YANG paths with HTTP Basic auth. NX-OS: JSON-RPC style POST to /ins with allowlisted cli_show commands (no arbitrary CLI strings).

Security: requires UNSANDBOXED_EXEC. Default verify_ssl=false for typical self-signed device certs. MITM risk on untrusted networks.

Firmware mismatches (wrong platform or RESTCONF disabled) may return HTTP errors; enable RESTCONF on IOS-XE (ip http server / restconf) as per Cisco documentation.