{"resources":{"nmap":{"id":"nmap","name":"nmap","fields":{"host":{"name":"host","type":"\u001bnmap.host","title":"Nmap discovered host","desc":"Single host returned by an nmap scan, selected by its hostname or IP address, for example nmap.host(name: \"scanme.nmap.org\"). Reports whether the host is up, its resolved DNS hostnames and IP/MAC addresses, the operating-system fingerprint, network distance and traceroute path, and the ports found open, closed, or filtered. Use it to audit which services a host exposes to the network and to confirm the reachability and identity of a scan target.","provider":"go.mondoo.com/mql/v13/providers/nmap","is_implicit_resource":true},"network":{"name":"network","type":"\u001bnmap.network","title":"Nmap network scan target","desc":"Result of running nmap against a `target` (IP address, hostname, or CIDR range), exposing the discovered hosts and any warnings or errors emitted during the scan. The `target` field selects what to scan, for example `nmap.network(target: \"192.0.2.0/24\")` or `nmap.network(target: \"example.com\")`.","provider":"go.mondoo.com/mql/v13/providers/nmap","is_implicit_resource":true},"port":{"name":"port","type":"\u001bnmap.port","title":"Nmap discovered port","is_private":true,"provider":"go.mondoo.com/mql/v13/providers/nmap","is_implicit_resource":true},"version":{"name":"version","type":"\u001bnmap.versionInformation","title":"Nmap installation version and build info","provider":"go.mondoo.com/mql/v13/providers/nmap"},"versionInformation":{"name":"versionInformation","type":"\u001bnmap.versionInformation","title":"Nmap version and build information","is_private":true,"provider":"go.mondoo.com/mql/v13/providers/nmap","is_implicit_resource":true}},"title":"Nmap network scanner","desc":"Local nmap installation that the provider invokes to run scans, including its version and build information: the libraries nmap was compiled with, the ones it was compiled without, the supported nsock I/O engines, and the target platform. Query it to confirm which nmap build backs your scans and which optional capabilities (OpenSSL, libpcap, and similar) are available.","min_provider_version":"11.0.0","provider":"go.mondoo.com/mql/v13/providers/nmap"},"nmap.host":{"id":"nmap.host","name":"nmap.host","fields":{"addresses":{"name":"addresses","type":"\u0019\n","title":"IP and MAC addresses","desc":"All addresses reported for the host. Each entry has `addr` (the address itself), `addr_type` (ipv4, ipv6, or mac), and `vendor` (hardware vendor for MAC addresses, otherwise empty).","provider":"go.mondoo.com/mql/v13/providers/nmap"},"comment":{"name":"comment","type":"\u0007","title":"User-defined host comments","provider":"go.mondoo.com/mql/v13/providers/nmap"},"distance":{"name":"distance","type":"\n","title":"Network distance to the host","desc":"Hop count between the scanner and the host, as a dict with a single `value` key holding the number of network hops.","provider":"go.mondoo.com/mql/v13/providers/nmap"},"endTime":{"name":"endTime","type":"\t","title":"Scan end timestamp","provider":"go.mondoo.com/mql/v13/providers/nmap"},"hostnames":{"name":"hostnames","type":"\u0019\n","title":"DNS hostnames","desc":"Names resolved for the host. Each entry has `name` (the hostname) and `type` (the source of the name, such as user or PTR).","provider":"go.mondoo.com/mql/v13/providers/nmap"},"name":{"name":"name","type":"\u0007","is_mandatory":true,"title":"Hostname or IP address","provider":"go.mondoo.com/mql/v13/providers/nmap"},"os":{"name":"os","type":"\n","title":"Operating-system detection result","desc":"Fingerprinted operating system for the host. Keys: `ports_used` (the ports used for fingerprinting, each with `state`, `proto`, and `port_id`), `os_matches` (candidate matches, each with `name`, `accuracy`, `line`, and `os_classes` carrying `vendor`, `os_family`, `os_generation`, `type`, `accuracy`, and `cpes`), and `os_fingerprints` (raw fingerprint strings).","provider":"go.mondoo.com/mql/v13/providers/nmap"},"ports":{"name":"ports","type":"\u0019\u001bnmap.port","title":"Open, filtered, and closed ports","provider":"go.mondoo.com/mql/v13/providers/nmap"},"state":{"name":"state","type":"\u0007","title":"Host state: up, down, unknown","provider":"go.mondoo.com/mql/v13/providers/nmap"},"trace":{"name":"trace","type":"\n","title":"Traceroute path to the host","desc":"Network path discovered by traceroute. Keys: `proto` and `port` used for the trace, and `hops`, a list where each hop carries `ttl`, `rtt`, `ip_addr`, and `host`.","provider":"go.mondoo.com/mql/v13/providers/nmap"}},"init":{"args":[{"name":"name","type":"\u0007"}]},"title":"Nmap discovered host","desc":"Single host returned by an nmap scan, selected by its hostname or IP address, for example nmap.host(name: \"scanme.nmap.org\"). Reports whether the host is up, its resolved DNS hostnames and IP/MAC addresses, the operating-system fingerprint, network distance and traceroute path, and the ports found open, closed, or filtered. Use it to audit which services a host exposes to the network and to confirm the reachability and identity of a scan target.","min_provider_version":"11.0.0","defaults":"name","provider":"go.mondoo.com/mql/v13/providers/nmap"},"nmap.network":{"id":"nmap.network","name":"nmap.network","fields":{"hosts":{"name":"hosts","type":"\u0019\u001bnmap.host","title":"Discovered hosts from the scan","provider":"go.mondoo.com/mql/v13/providers/nmap"},"target":{"name":"target","type":"\u0007","is_mandatory":true,"title":"Target IP address, hostname, or CIDR range","provider":"go.mondoo.com/mql/v13/providers/nmap"},"warnings":{"name":"warnings","type":"\u0019\u0007","title":"Warnings and errors from the scan","provider":"go.mondoo.com/mql/v13/providers/nmap"}},"init":{"args":[{"name":"target","type":"\u0007"}]},"title":"Nmap network scan target","desc":"Result of running nmap against a `target` (IP address, hostname, or CIDR range), exposing the discovered hosts and any warnings or errors emitted during the scan. The `target` field selects what to scan, for example `nmap.network(target: \"192.0.2.0/24\")` or `nmap.network(target: \"example.com\")`.","min_provider_version":"11.0.0","provider":"go.mondoo.com/mql/v13/providers/nmap"},"nmap.port":{"id":"nmap.port","name":"nmap.port","fields":{"method":{"name":"method","type":"\u0007","is_mandatory":true,"title":"Service detection method: table or probed","provider":"go.mondoo.com/mql/v13/providers/nmap"},"port":{"name":"port","type":"\u0005","is_mandatory":true,"title":"Port number (1-65535)","provider":"go.mondoo.com/mql/v13/providers/nmap"},"product":{"name":"product","type":"\u0007","is_mandatory":true,"title":"Product name (e.g., Apache httpd, OpenSSH)","provider":"go.mondoo.com/mql/v13/providers/nmap"},"protocol":{"name":"protocol","type":"\u0007","is_mandatory":true,"title":"Protocol: tcp or udp","provider":"go.mondoo.com/mql/v13/providers/nmap"},"service":{"name":"service","type":"\u0007","is_mandatory":true,"title":"Detected service name (e.g., http, ssh)","provider":"go.mondoo.com/mql/v13/providers/nmap"},"state":{"name":"state","type":"\u0007","is_mandatory":true,"title":"Port state","desc":"One of open, closed, filtered, unfiltered, open|filtered, or closed|filtered.","provider":"go.mondoo.com/mql/v13/providers/nmap"},"version":{"name":"version","type":"\u0007","is_mandatory":true,"title":"Product version","provider":"go.mondoo.com/mql/v13/providers/nmap"}},"title":"Nmap discovered port","private":true,"min_provider_version":"11.0.0","defaults":"port service","provider":"go.mondoo.com/mql/v13/providers/nmap"},"nmap.versionInformation":{"id":"nmap.versionInformation","name":"nmap.versionInformation","fields":{"compiledWith":{"name":"compiledWith","type":"\u0019\u0007","is_mandatory":true,"title":"Libraries compiled with (e.g., openssl, libpcap)","provider":"go.mondoo.com/mql/v13/providers/nmap"},"compiledWithout":{"name":"compiledWithout","type":"\u0019\u0007","is_mandatory":true,"title":"Libraries not compiled with","provider":"go.mondoo.com/mql/v13/providers/nmap"},"nsockEngines":{"name":"nsockEngines","type":"\u0019\u0007","is_mandatory":true,"title":"Available nsock I/O engines","provider":"go.mondoo.com/mql/v13/providers/nmap"},"platform":{"name":"platform","type":"\u0007","is_mandatory":true,"title":"Platform (e.g., x86_64-apple-darwin)","provider":"go.mondoo.com/mql/v13/providers/nmap"},"version":{"name":"version","type":"\u0007","is_mandatory":true,"title":"Nmap version number","provider":"go.mondoo.com/mql/v13/providers/nmap"}},"title":"Nmap version and build information","private":true,"min_provider_version":"11.0.0","defaults":"version","provider":"go.mondoo.com/mql/v13/providers/nmap"}}}