Nmap host
nmap.host MQL resource for querying Nmap infrastructure with cnquery and cnspec.
Nmap
Nmap host
Use MQL in cnspec shell or policy:
nmap.hostMin version: 9.0.0Defaults:
nameRelationships
4 resources · 5 relationships·Click to select, expand fields to see properties.
Fields (10)
| Field | Type | Description |
|---|---|---|
addresses | []dict | Addresses associated with the host |
comment | string | Comments about the host |
distance | dict | Distance to the host |
endTime | time | - |
hostnames | []dict | Hostnames associated with the host |
namerequired | string | Name of the host |
os | dict | Information about the host operating system |
ports | []nmap.port | Ports on the host |
state | string | State of the host (e.g., up or down) |
trace | dict | Trace route information |