Mondoo Docs

Parse INI files

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

Operating System

Parse INI files

Use MQL in cnspec shell or policy:

parse.ini
Min version: 5.15.0

Relationships

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

Fields (5)

FieldTypeDescription
content
stringRaw content of the file that is parsed
delimiterrequired
stringSymbol that separates keys and values
filerequired
fileFile that is parsed
params
map[string]stringMap of parameters that don't belong to sections
sections
map[string]map[string]stringMap of sections and key-value pairs