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.iniMin version: 5.15.0
Relationships
2 resources · 1 relationships·Click to select, expand fields to see properties.
Fields (5)
| Field | Type | Description |
|---|---|---|
content | string | Raw content of the file that is parsed |
delimiterrequired | string | Symbol that separates keys and values |
filerequired | file | File that is parsed |
params | map[string]string | Map of parameters that don't belong to sections |
sections | map[string]map[string]string | Map of sections and key-value pairs |