Mondoo Docs

TCP/IP port on the system

port MQL resource for querying Operating System infrastructure with cnquery and cnspec.

Operating System

TCP/IP port on the system

Use MQL in cnspec shell or policy:

port
Min version: 5.15.0Defaults: port protocol address process.executable

Relationships

Mini Map
Operating System
1 resources · 0 relationshipsClick to select, expand fields to see properties.

Fields (9)

FieldTypeDescription
addressrequired
stringLocal address of this port
portrequired
intPort number
process
processProcess that is connected to this port
protocolrequired
stringProtocol of this port
remoteAddressrequired
stringRemote address connected to this port
remotePortrequired
intRemote port connected to this port
staterequired
stringState of this open port
tls
tlsTLS on this port, if it is available
userrequired
userUser configured for this port