{"Name":"ipinfo","ID":"go.mondoo.com/cnquery/providers/ipinfo","Version":"13.0.5","ConnectionTypes":["ipinfo"],"CrossProviderTypes":null,"Connectors":[{"Name":"ipinfo","Use":"ipinfo","Short":"Query ipinfo.io for IP address information","Long":"Use the ipinfo provider to query IP address information from ipinfo.io, including the IP address, hostname, and whether the IP address is a bogon.\n\nExamples:\n  cnspec shell ipinfo\n  cnspec run ipinfo -c \"ipinfo(ip('8.8.8.8')){*}\"\n  cnspec run ipinfo -c \"ipinfo(){*}\"  # Query your public IP\"\n  cnspec run -c \"network.interfaces.map(ips.map(_.ip)).flat.map(ipinfo(_){*})\"\n\nNotes:\n  - Pass an IP address to query information about that specific IP: ipinfo(ip(\"1.1.1.1\"))\n  - Pass no arguments (empty IP) to query your machine's public IP: ipinfo()\n  - The bogon field indicates whether the returned IP is a private, link-local, or otherwise non-routable address. When bogon is true, the returned IP is the same as the requested IP.\n  - Set IPINFO_TOKEN environment variable to use the authenticated ipinfo.io API.\n"}],"AssetUrlTrees":null}