Control Export Schema
Reference the control object schema and properties used in Mondoo JSONL exports.
This is the schema Mondoo uses when exporting control score data to JSONL.
Control type
object
Control properties
| Property | Type | Required? | Nullable? |
|---|---|---|---|
| space_mrn | string | Yes | No |
| space_id | string | Yes | No |
| space_name | string | Yes | No |
| entity_mrn | string | Yes | No |
| entity_id | string | Yes | No |
| control_mrn | string | Yes | No |
| title | string | Yes | No |
| state | string | Yes | No |
| exported_at | string | Yes | No |
| modified_at | string | Yes | No |
| failed_at | string | Yes | Yes |
| base_score | integer | Yes | Yes |
| check_references | JSON | No | Yes |
| query_references | JSON | No | Yes |
| remediation | JSON | No | Yes |
space_mrn property
Mondoo identifier for the space
space_mrn
| Type | Required? | Nullable? |
|---|---|---|
| String | Yes | No |
space_id property
Unique identifier for the space
space_id
| Type | Required? | Nullable? |
|---|---|---|
| String | Yes | No |
space_name property
Name of the space
space_name
| Type | Required? | Nullable? |
|---|---|---|
| String | Yes | No |
entity_mrn property
Asset or entity MRN
entity_mrn
| Type | Required? | Nullable? |
|---|---|---|
| String | Yes | No |
entity_id property
Asset or entity ID
entity_id
| Type | Required? | Nullable? |
|---|---|---|
| String | Yes | No |
control_mrn property
Control or policy MRN
control_mrn
| Type | Required? | Nullable? |
|---|---|---|
| String | Yes | No |
title property
Control title
title
| Type | Required? | Nullable? |
|---|---|---|
| String | Yes | No |
state property
Control state: pass, fail, etc.
state
| Type | Required? | Nullable? |
|---|---|---|
| String | Yes | No |
exported_at property
Timestamp when this data was exported. This is a date-time string matching RFC 3339, section 5.6.
exported_at
| Type | Required? | Nullable? |
|---|---|---|
| String | Yes | No |
modified_at property
Timestamp from when this control was last modified. This is a date-time string matching RFC 3339, section 5.6.
modified_at
| Type | Required? | Nullable? |
|---|---|---|
| String | Yes | No |
failed_at property
Timestamp from when this control last failed. This is a date-time string matching RFC 3339, section 5.6. Null if the control has never failed.
failed_at
| Type | Required? | Nullable? |
|---|---|---|
| String | Yes | Yes |
base_score property
Base score (0-100)
base_score
| Type | Required? | Nullable? |
|---|---|---|
| Integer | Yes | Yes |
check_references property
Referenced check MRNs
check_references
| Type | Required? | Nullable? |
|---|---|---|
| JSON | No | Yes |
query_references property
Referenced query MRNs
query_references
| Type | Required? | Nullable? |
|---|---|---|
| JSON | No | Yes |
remediation property
Remediation JSON
remediation
| Type | Required? | Nullable? |
|---|---|---|
| JSON | No | Yes |