Skip to main content

Asset Export Schema

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

Asset type

object

Asset properties

PropertyTypeRequired?Nullable?
mrn (deprecated)
asset_mrnstringYesNo
asset_idstringYesNo
space_mrnstringYesNo
space_idstringYesNo
space_namestringYesNo
namestringYesNo
platform_namestringYesNo
errorstringYesYes
score_updated_atstringYesNo
updated_atstringYesNo
labelsobjectYesNo
annotationsobjectYesNo
exported_atstringYesNo
base_scoreintegerYesYes
risk_scoreintegerYesYes

mrn property

Deprecated: Use asset_mrn instead.

asset_mrn property

Unique identifier for the asset

asset_mrn

TypeRequired?Nullable?
StringYesNo

asset_id property

Unique identifier for the asset

asset_mrn

TypeRequired?Nullable?
StringYesNo

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

name property

Name of the asset

name

TypeRequired?Nullable?
StringYesNo

platform_name property

Name of the asset's platform

platform_name

TypeRequired?Nullable?
StringYesNo

error property

Error, if any

error

TypeRequired?Nullable?
StringYesYes

score_updated_at property

Timestamp when the score of this asset was last updated. This is a date-time string matching RFC 3339, section 5.6.

score_updated_at

TypeRequired?Nullable?
StringYesNo

updated_at property

Timestamp when this asset was last updated. This is a date-time string matching RFC 3339, section 5.6.

TypeRequired?Nullable?
StringYesNo

labels property

Metadata that Mondoo users add to assets

labels

TypeRequired?Nullable?
ObjectYesNo

annotations property

Metadata that Mondoo adds to assets

annotations

TypeRequired?Nullable?
ObjectYesNo

exported_at property

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

exported_at

TypeRequired?Nullable?
StringYesNo

risk_factors

Read Risk Factor Export Schema.

base_score property

Asset's score from most recent policy-based scan

base_score

TypeRequired?Nullable?
IntegerYesYes

risk_score property

Asset's risk score

risk_score

TypeRequired?Nullable?
IntegerYesYes