Query Result Export Schema
This is the schema Mondoo uses when exporting query result data to JSONL.
Result type
object
Result properties
| Property | Type | Required? | Nullable? |
|---|---|---|---|
| space_mrn | string | Yes | No |
| space_id | string | Yes | No |
| space_name | string | Yes | No |
| asset_id | string | Yes | No |
| asset_mrn | string | Yes | No |
| query_mrn | string | Yes | No |
| title | string | Yes | No |
| mql | string | Yes | No |
| data | JSON | Yes | No |
| exported_at | string | Yes | No |
space_mrn property
Mondoo identifier for the space containing the asset
asset_mrn
| Type | Required? | Nullable? |
|---|---|---|
| String | Yes | No |
space_id property
Unique identifier for the space containing the asset
asset_mrn
| Type | Required? | Nullable? |
|---|---|---|
| String | Yes | No |
space_name property
Name of the space containing the asset
asset_mrn
| Type | Required? | Nullable? |
|---|---|---|
| String | Yes | No |
asset_id property
Unique identifier for the asset
asset_mrn
| Type | Required? | Nullable? |
|---|---|---|
| String | Yes | No |
asset_mrn property
Mondoo identifier for the asset
asset_mrn
| Type | Required? | Nullable? |
|---|---|---|
| String | Yes | No |
query_mrn property
Mondoo identifier for the query
query_mrn
| Type | Required? | Nullable? |
|---|---|---|
| String | Yes | No |
title property
Title of the query
title
| Type | Required? | Nullable? |
|---|---|---|
| String | Yes | No |
mql property
MQL of the query
mql
| Type | Required? | Nullable? |
|---|---|---|
| String | Yes | No |
data property
Data of the query result
data
| Type | Required? | Nullable? |
|---|---|---|
| Unknown | Yes | No |
exported_at property
Timestamp from when the data was exported. This is a date-time string matching RFC 3339, section 5.6.
exported_at
| Type | Required? | Nullable? |
|---|---|---|
| String | Yes | No |