Skip to main content

Query Result Export Schema

This is the schema Mondoo uses when exporting query result data to JSONL.

Result type

object

Result properties

PropertyTypeRequired?Nullable?
space_mrnstringYesNo
space_idstringYesNo
space_namestringYesNo
asset_idstringYesNo
asset_mrnstringYesNo
query_mrnstringYesNo
titlestringYesNo
mqlstringYesNo
dataJSONYesNo
exported_atstringYesNo

space_mrn property

Mondoo identifier for the space containing the asset

asset_mrn

TypeRequired?Nullable?
StringYesNo

space_id property

Unique identifier for the space containing the asset

asset_mrn

TypeRequired?Nullable?
StringYesNo

space_name property

Name of the space containing the asset

asset_mrn

TypeRequired?Nullable?
StringYesNo

asset_id property

Unique identifier for the asset

asset_mrn

TypeRequired?Nullable?
StringYesNo

asset_mrn property

Mondoo identifier for the asset

asset_mrn

TypeRequired?Nullable?
StringYesNo

query_mrn property

Mondoo identifier for the query

query_mrn

TypeRequired?Nullable?
StringYesNo

title property

Title of the query

title

TypeRequired?Nullable?
StringYesNo

mql property

MQL of the query

mql

TypeRequired?Nullable?
StringYesNo

data property

Data of the query result

data

TypeRequired?Nullable?
UnknownYesNo

exported_at property

Timestamp from when the data was exported. This is a date-time string matching RFC 3339, section 5.6.

exported_at

TypeRequired?Nullable?
StringYesNo