Parse YAML files
parse.yaml MQL resource for querying Operating System infrastructure with cnquery and cnspec.
Operating System
Parse YAML files
Use MQL in cnspec shell or policy:
parse.yamlMin version: 5.15.0
Relationships
2 resources · 1 relationships·Click to select, expand fields to see properties.
Fields (4)
| Field | Type | Description |
|---|---|---|
content | string | Raw content of the file that is parsed |
documents | []dict | Parsed yaml documents |
filerequired | file | File that is parsed |
params | dict | The parsed parameters that are defined in this file |