Mondoo Docs

File context is a range of lines/columns in a file

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

Operating SystemPrivate Resource

File context is a range of lines/columns in a file

Min version: 9.0.0Defaults: file.path range content

Relationships

Mini Map
Operating System
4 resources · 3 relationshipsClick to select, expand fields to see properties.

Fields (3)

FieldTypeDescription
content
stringContent for this range in the file, shown as an excerpt
filerequired
fileFile referenced by this file context
rangerequired
Range of content in the file