diff --git a/docs/mql/resources/azure-pack/README.md b/docs/mql/resources/azure-pack/README.md index 4577b3816..8f0f0db14 100644 --- a/docs/mql/resources/azure-pack/README.md +++ b/docs/mql/resources/azure-pack/README.md @@ -85,6 +85,8 @@ Resources included in this pack: | [azure.subscription.networkService.virtualNetworkGateway.ipConfig](azure.subscription.networkservice.virtualnetworkgateway.ipconfig.md) | Azure Virtual Network (VNet) gateway IP configuration | | [azure.subscription.networkService.watcher](azure.subscription.networkservice.watcher.md) | Azure Network Watcher | | [azure.subscription.networkService.watcher.flowlog](azure.subscription.networkservice.watcher.flowlog.md) | Azure Network Watcher flow log | +| [azure.subscription.policy](azure.subscription.policy.md) | Azure Policy Service | +| [azure.subscription.policy.assignment](azure.subscription.policy.assignment.md) | Azure Policy Assignment | | [azure.subscription.postgreSqlService](azure.subscription.postgresqlservice.md) | Azure Database for PostgreSQL | | [azure.subscription.postgreSqlService.database](azure.subscription.postgresqlservice.database.md) | Azure Database for PostgreSQL database | | [azure.subscription.postgreSqlService.flexibleServer](azure.subscription.postgresqlservice.flexibleserver.md) | Azure Database for PostgreSQL flexible server | diff --git a/docs/mql/resources/azure-pack/azure.subscription.md b/docs/mql/resources/azure-pack/azure.subscription.md index 36a83c51e..c0b59f83c 100644 --- a/docs/mql/resources/azure-pack/azure.subscription.md +++ b/docs/mql/resources/azure-pack/azure.subscription.md @@ -48,6 +48,7 @@ Use the `azure.subscription` resource to assess the configuration of Azure subsc | cloudDefender | [azure.subscription.cloudDefenderService](azure.subscription.clouddefenderservice.md) | Cloud defender resources in the subscription | | aks | [azure.subscription.aksService](azure.subscription.aksservice.md) | AKS resources in the subscription | | advisor | [azure.subscription.advisorService](azure.subscription.advisorservice.md) | Advisor resources in the subscription | +| policy | [azure.subscription.policy](azure.subscription.policy.md) | Policy service in the subscription | **Examples** diff --git a/docs/mql/resources/azure-pack/azure.subscription.policy.assignment.md b/docs/mql/resources/azure-pack/azure.subscription.policy.assignment.md new file mode 100644 index 000000000..41f91ae37 --- /dev/null +++ b/docs/mql/resources/azure-pack/azure.subscription.policy.assignment.md @@ -0,0 +1,27 @@ +--- +title: azure.subscription.policy.assignment +id: azure.subscription.policy.assignment +sidebar_label: azure.subscription.policy.assignment +displayed_sidebar: MQL +description: Azure Policy Assignment +--- + +# azure.subscription.policy.assignment + +**Supported platform** + +- azure + +**Description** + +Azure Policy Assignment + +**Fields** + +| ID | TYPE | DESCRIPTION | +| --------------- | ------ | ----------------------- | +| id | string | Policy Definition ID | +| name | string | Policy Name | +| scope | string | Policy Scope | +| description | string | Policy Description | +| enforcementMode | string | Policy Enforcement Mode | diff --git a/docs/mql/resources/azure-pack/azure.subscription.policy.md b/docs/mql/resources/azure-pack/azure.subscription.policy.md new file mode 100644 index 000000000..0c2d49d23 --- /dev/null +++ b/docs/mql/resources/azure-pack/azure.subscription.policy.md @@ -0,0 +1,24 @@ +--- +title: azure.subscription.policy +id: azure.subscription.policy +sidebar_label: azure.subscription.policy +displayed_sidebar: MQL +description: Azure Policy Service +--- + +# azure.subscription.policy + +**Supported platform** + +- azure + +**Description** + +Azure Policy Service + +**Fields** + +| ID | TYPE | DESCRIPTION | +| -------------- | ----------------------------------------------------------------------------------------- | ---------------------------------------------- | +| subscriptionId | string | Subscription identifier | +| assignments | [][azure.subscription.policy.assignment](azure.subscription.policy.assignment.md) | List of policy assignments in the subscription | diff --git a/docs/mql/resources/ms365-pack/README.md b/docs/mql/resources/ms365-pack/README.md index 5ec8d11ba..97b7fbdfd 100644 --- a/docs/mql/resources/ms365-pack/README.md +++ b/docs/mql/resources/ms365-pack/README.md @@ -12,36 +12,36 @@ The Microsoft 365 (MS365) resource pack lets you use MQL to query and assess the Resources included in this pack: -| ID | DESCRIPTION | -| --------------------------------------------------------------------------------------------------------- | --------------------------------------------------- | -| [microsoft](microsoft.md) | Microsoft | -| [microsoft.application](microsoft.application.md) | Microsoft Entra ID application registration | -| [microsoft.devicemanagement](microsoft.devicemanagement.md) | Microsoft device management | -| [microsoft.devicemanagement.devicecompliancepolicy](microsoft.devicemanagement.devicecompliancepolicy.md) | Microsoft device compliance policy | -| [microsoft.devicemanagement.deviceconfiguration](microsoft.devicemanagement.deviceconfiguration.md) | Microsoft device configuration | -| [microsoft.domain](microsoft.domain.md) | Microsoft domain | -| [microsoft.domaindnsrecord](microsoft.domaindnsrecord.md) | Microsoft domain DNS record | -| [microsoft.group](microsoft.group.md) | Microsoft group | -| [microsoft.keyCredential](microsoft.keycredential.md) | Microsoft Entra AD Application certificate | -| [microsoft.organization](microsoft.organization.md) | Microsoft organization | -| [microsoft.passwordCredential](microsoft.passwordcredential.md) | Microsoft Entra AD Application secrets | -| [microsoft.policies](microsoft.policies.md) | Microsoft policies | -| [microsoft.rolemanagement](microsoft.rolemanagement.md) | Microsoft role management | -| [microsoft.rolemanagement.roleassignment](microsoft.rolemanagement.roleassignment.md) | Microsoft role assignment | -| [microsoft.rolemanagement.roledefinition](microsoft.rolemanagement.roledefinition.md) | Microsoft role definition | -| [microsoft.security](microsoft.security.md) | Microsoft Security | -| [microsoft.security.securityscore](microsoft.security.securityscore.md) | Microsoft Secure Score | -| [microsoft.serviceprincipal](microsoft.serviceprincipal.md) | Microsoft service principal | -| [microsoft.serviceprincipal.assignment](microsoft.serviceprincipal.assignment.md) | Microsoft Service Principal Assignment | -| [microsoft.user](microsoft.user.md) | Microsoft Entra ID user | -| [ms365.exchangeonline](ms365.exchangeonline.md) | Microsoft 365 Exchange Online | -| [ms365.exchangeonline.exoMailbox](ms365.exchangeonline.exomailbox.md) | Microsoft 365 Exchange Online Mailbox | -| [ms365.exchangeonline.externalSender](ms365.exchangeonline.externalsender.md) | Microsoft 365 Exchange Online External Sender | -| [ms365.exchangeonline.reportSubmissionPolicy](ms365.exchangeonline.reportsubmissionpolicy.md) | Report Submission Policy configuration | -| [ms365.exchangeonline.teamsProtectionPolicy](ms365.exchangeonline.teamsprotectionpolicy.md) | Teams Protection Policy configuration | -| [ms365.sharepointonline](ms365.sharepointonline.md) | Microsoft 365 SharePoint Online | -| [ms365.sharepointonline.site](ms365.sharepointonline.site.md) | Microsoft 365 SharePoint Site | -| [ms365.teams](ms365.teams.md) | Microsoft 365 Teams | -| [ms365.teams.teamsMeetingPolicyConfig](ms365.teams.teamsmeetingpolicyconfig.md) | Microsoft 365 Teams meeting policy configuration | -| [ms365.teams.teamsMessagingPolicyConfig](ms365.teams.teamsmessagingpolicyconfig.md) | Teams meeting policy configuration | -| [ms365.teams.tenantFederationConfig](ms365.teams.tenantfederationconfig.md) | Microsoft 365 Teams tenant federation configuration | +| ID | DESCRIPTION | +| --------------------------------------------------------------------------------------------------------- | ---------------------------------------------------- | +| [microsoft](microsoft.md) | Microsoft | +| [microsoft.application](microsoft.application.md) | Microsoft Entra ID application registration | +| [microsoft.devicemanagement](microsoft.devicemanagement.md) | Microsoft device management | +| [microsoft.devicemanagement.devicecompliancepolicy](microsoft.devicemanagement.devicecompliancepolicy.md) | Microsoft device compliance policy | +| [microsoft.devicemanagement.deviceconfiguration](microsoft.devicemanagement.deviceconfiguration.md) | Microsoft device configuration | +| [microsoft.domain](microsoft.domain.md) | Microsoft domain | +| [microsoft.domaindnsrecord](microsoft.domaindnsrecord.md) | Microsoft domain DNS record | +| [microsoft.group](microsoft.group.md) | Microsoft group | +| [microsoft.keyCredential](microsoft.keycredential.md) | Microsoft Entra AD Application certificate | +| [microsoft.organization](microsoft.organization.md) | Microsoft organization | +| [microsoft.passwordCredential](microsoft.passwordcredential.md) | Microsoft Entra AD Application secrets | +| [microsoft.policies](microsoft.policies.md) | Microsoft policies | +| [microsoft.rolemanagement](microsoft.rolemanagement.md) | Deprecated: use `microsoft.roles` instead | +| [microsoft.rolemanagement.roleassignment](microsoft.rolemanagement.roleassignment.md) | Microsoft role assignment | +| [microsoft.rolemanagement.roledefinition](microsoft.rolemanagement.roledefinition.md) | Microsoft role definition | +| [microsoft.security](microsoft.security.md) | Microsoft Security | +| [microsoft.security.securityscore](microsoft.security.securityscore.md) | Microsoft Secure Score | +| [microsoft.serviceprincipal](microsoft.serviceprincipal.md) | Microsoft service principal (Enterprise application) | +| [microsoft.serviceprincipal.assignment](microsoft.serviceprincipal.assignment.md) | Microsoft Service Principal Assignment | +| [microsoft.user](microsoft.user.md) | Microsoft Entra ID user | +| [ms365.exchangeonline](ms365.exchangeonline.md) | Microsoft 365 Exchange Online | +| [ms365.exchangeonline.exoMailbox](ms365.exchangeonline.exomailbox.md) | Microsoft 365 Exchange Online Mailbox | +| [ms365.exchangeonline.externalSender](ms365.exchangeonline.externalsender.md) | Microsoft 365 Exchange Online External Sender | +| [ms365.exchangeonline.reportSubmissionPolicy](ms365.exchangeonline.reportsubmissionpolicy.md) | Report Submission Policy configuration | +| [ms365.exchangeonline.teamsProtectionPolicy](ms365.exchangeonline.teamsprotectionpolicy.md) | Teams Protection Policy configuration | +| [ms365.sharepointonline](ms365.sharepointonline.md) | Microsoft 365 SharePoint Online | +| [ms365.sharepointonline.site](ms365.sharepointonline.site.md) | Microsoft 365 SharePoint Site | +| [ms365.teams](ms365.teams.md) | Microsoft 365 Teams | +| [ms365.teams.teamsMeetingPolicyConfig](ms365.teams.teamsmeetingpolicyconfig.md) | Microsoft 365 Teams meeting policy configuration | +| [ms365.teams.teamsMessagingPolicyConfig](ms365.teams.teamsmessagingpolicyconfig.md) | Teams meeting policy configuration | +| [ms365.teams.tenantFederationConfig](ms365.teams.tenantfederationconfig.md) | Microsoft 365 Teams tenant federation configuration | diff --git a/docs/mql/resources/ms365-pack/microsoft.md b/docs/mql/resources/ms365-pack/microsoft.md index 92bbdf747..5656031f2 100644 --- a/docs/mql/resources/ms365-pack/microsoft.md +++ b/docs/mql/resources/ms365-pack/microsoft.md @@ -14,14 +14,15 @@ Microsoft **Fields** -| ID | TYPE | DESCRIPTION | -| ---------------------- | --------------------------------------------------------------------- | ------------------------------------------ | -| organizations | [][microsoft.organization](microsoft.organization.md) | List of organizations | -| users | [][microsoft.user](microsoft.user.md) | List of users | -| groups | [][microsoft.group](microsoft.group.md) | List of groups | -| domains | [][microsoft.domain](microsoft.domain.md) | List of domains | -| applications | [][microsoft.application](microsoft.application.md) | List of applications | -| serviceprincipals | [][microsoft.serviceprincipal](microsoft.serviceprincipal.md) | List of service principals | -| enterpriseApplications | [][microsoft.serviceprincipal](microsoft.serviceprincipal.md) | List of enterprise applications | -| settings | dict | Microsoft 365 settings | -| tenantDomainName | string | The connected tenant's default domain name | +| ID | TYPE | DESCRIPTION | +| ---------------------- | ----------------------------------------------------------------------------------------------- | ------------------------------------------ | +| organizations | [][microsoft.organization](microsoft.organization.md) | List of organizations | +| users | [][microsoft.user](microsoft.user.md) | List of users | +| groups | [][microsoft.group](microsoft.group.md) | List of groups | +| domains | [][microsoft.domain](microsoft.domain.md) | List of domains | +| applications | [][microsoft.application](microsoft.application.md) | List of applications | +| serviceprincipals | [][microsoft.serviceprincipal](microsoft.serviceprincipal.md) | List of service principals | +| enterpriseApplications | [][microsoft.serviceprincipal](microsoft.serviceprincipal.md) | List of enterprise applications | +| roles | [][microsoft.rolemanagement.roledefinition](microsoft.rolemanagement.roledefinition.md) | List of roles | +| settings | dict | Microsoft 365 settings | +| tenantDomainName | string | The connected tenant's default domain name | diff --git a/docs/mql/resources/ms365-pack/microsoft.rolemanagement.md b/docs/mql/resources/ms365-pack/microsoft.rolemanagement.md index a00a56966..ee4e2c0eb 100644 --- a/docs/mql/resources/ms365-pack/microsoft.rolemanagement.md +++ b/docs/mql/resources/ms365-pack/microsoft.rolemanagement.md @@ -3,17 +3,17 @@ title: microsoft.rolemanagement id: microsoft.rolemanagement sidebar_label: microsoft.rolemanagement displayed_sidebar: MQL -description: Microsoft role management +description: Deprecated use `microsoft.roles` instead --- # microsoft.rolemanagement **Description** -Microsoft role management +Deprecated: use `microsoft.roles` instead **Fields** -| ID | TYPE | DESCRIPTION | -| --------------- | ----------------------------------------------------------------------------------------------- | ------------------------ | -| roleDefinitions | [][microsoft.rolemanagement.roledefinition](microsoft.rolemanagement.roledefinition.md) | List of role definitions | +| ID | TYPE | DESCRIPTION | +| --------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------- | +| roleDefinitions | [][microsoft.rolemanagement.roledefinition](microsoft.rolemanagement.roledefinition.md) | Deprecated: use `microsoft.roles` instead | diff --git a/docs/mql/resources/ms365-pack/microsoft.serviceprincipal.md b/docs/mql/resources/ms365-pack/microsoft.serviceprincipal.md index 5ff8143eb..45b189c7e 100644 --- a/docs/mql/resources/ms365-pack/microsoft.serviceprincipal.md +++ b/docs/mql/resources/ms365-pack/microsoft.serviceprincipal.md @@ -3,28 +3,39 @@ title: microsoft.serviceprincipal id: microsoft.serviceprincipal sidebar_label: microsoft.serviceprincipal displayed_sidebar: MQL -description: Microsoft service principal +description: Microsoft service principal (Enterprise application) --- # microsoft.serviceprincipal **Description** -Microsoft service principal +Microsoft service principal (Enterprise application) **Fields** -| ID | TYPE | DESCRIPTION | -| ------------------ | ------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -| id | string | Service principal ID | -| type | string | Service principal type | -| name | string | Service principal name | -| tags | []string | Service principal tags | -| enabled | bool | Whether users can sign into the service principal (application) | -| homepageUrl | string | Service principal homepage URL | -| termsOfServiceUrl | string | Service principal terms of service URL | -| replyUrls | []string | Service principal reply URLs | -| assignmentRequired | bool | Whether users or other apps must be assigned to this service principal before using it | -| visibleToUsers | bool | Whether the service principal is visible to users | -| notes | string | Service principal notes | -| assignments | [][microsoft.serviceprincipal.assignment](microsoft.serviceprincipal.assignment.md) | List of assignments (users and groups) this service principal has | +| ID | TYPE | DESCRIPTION | +| -------------------------- | ------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| id | string | Service principal Object ID | +| type | string | Service principal type | +| name | string | Service principal name | +| appId | string | Application ID | +| description | string | Application description | +| tags | []string | Service principal tags | +| enabled | bool | Whether users can sign into the service principal (application) | +| homepageUrl | string | Service principal homepage URL | +| termsOfServiceUrl | string | Service principal terms of service URL | +| replyUrls | []string | Service principal reply URLs | +| assignmentRequired | bool | Whether users or other apps must be assigned to this service principal before using it | +| visibleToUsers | bool | Whether the service principal is visible to users | +| notes | string | Service principal notes | +| assignments | [][microsoft.serviceprincipal.assignment](microsoft.serviceprincipal.assignment.md) | List of assignments (users and groups) this service principal has | +| applicationTemplateId | string | Application template ID | +| loginUrl | string | Login URL | +| logoutUrl | string | Logout URL | +| servicePrincipalNames | []string | Service principal names | +| signInAudience | string | Sign in audience | +| preferredSingleSignOnMode | string | Preferred single sign-on mode | +| notificationEmailAddresses | []string | Notification email addresses | +| appRoleAssignmentRequired | bool | App role assignment required | +| accountEnabled | bool | Account enabled | diff --git a/docs/platform/maintain/export/schema/asset.md b/docs/platform/maintain/export/schema/asset.md index f429d72e5..dddd4eedc 100644 --- a/docs/platform/maintain/export/schema/asset.md +++ b/docs/platform/maintain/export/schema/asset.md @@ -12,25 +12,24 @@ This is the schema Mondoo uses when exporting asset data to JSONL. ## Asset properties -| Property | Type | Required? | Nullable? | -| :--------------------------------------------- | :----- | :-------- | :-------- | -| mrn (deprecated) | | | | -| [asset_mrn](#asset_mrn-property) | `string` | Yes | No | -| [asset_id](#asset_id-property) | `string` | Yes | No | -| [space_mrn](#space_mrn-property) | `string` | Yes | No | -| [space_id](#space_id-property) | `string` | Yes | No | -| [space_name](#space_name-property) | `string` | Yes | No | -| [name](#name-property) | `string` | Yes | No | -| [platform_name](#platform_name-property) | `string` | Yes | No | -| [error](#error-property) | `string` | Yes | Yes | -| [score_updated_at](#score_updated_at-property) | `string` | Yes | No | -| [updated_at](#updated_at-property) | `string` | Yes | No | -| [labels](#labels-property) | `object` | Yes | No | -| [annotations](#annotations-property) | `object` | Yes | No | -| [exported_at](#exported_at-property) | `string` | Yes | No | -| [base_score](#base_score-property) | `integer` | Yes | Yes | -| [risk_score](#risk_score-property) | `integer` | Yes | Yes | - +| Property | Type | Required? | Nullable? | +| :--------------------------------------------- | :-------- | :-------- | :-------- | +| mrn (deprecated) | | | | +| [asset_mrn](#asset_mrn-property) | `string` | Yes | No | +| [asset_id](#asset_id-property) | `string` | Yes | No | +| [space_mrn](#space_mrn-property) | `string` | Yes | No | +| [space_id](#space_id-property) | `string` | Yes | No | +| [space_name](#space_name-property) | `string` | Yes | No | +| [name](#name-property) | `string` | Yes | No | +| [platform_name](#platform_name-property) | `string` | Yes | No | +| [error](#error-property) | `string` | Yes | Yes | +| [score_updated_at](#score_updated_at-property) | `string` | Yes | No | +| [updated_at](#updated_at-property) | `string` | Yes | No | +| [labels](#labels-property) | `object` | Yes | No | +| [annotations](#annotations-property) | `object` | Yes | No | +| [exported_at](#exported_at-property) | `string` | Yes | No | +| [base_score](#base_score-property) | `integer` | Yes | Yes | +| [risk_score](#risk_score-property) | `integer` | Yes | Yes | ### mrn property @@ -173,9 +172,9 @@ Asset's score from most recent policy-based scan `base_score` -| Type | Required? | Nullable? | -| :----- | :-------- | :-------- | -| Integer | Yes | Yes | +| Type | Required? | Nullable? | +| :------ | :-------- | :-------- | +| Integer | Yes | Yes | ### risk_score property @@ -183,8 +182,8 @@ Asset's risk score `risk_score` -| Type | Required? | Nullable? | -| :----- | :-------- | :-------- | -| Integer | Yes | Yes | +| Type | Required? | Nullable? | +| :------ | :-------- | :-------- | +| Integer | Yes | Yes | --- diff --git a/docs/platform/maintain/export/schema/check.md b/docs/platform/maintain/export/schema/check.md index 5dca64116..94f7077b1 100644 --- a/docs/platform/maintain/export/schema/check.md +++ b/docs/platform/maintain/export/schema/check.md @@ -12,19 +12,19 @@ This is the schema Mondoo uses when exporting check result data to JSONL. ## Result properties -| Property | Type | Required? | Nullable? | -| :----------------------------------- | :------------ | :-------- | :-------- | -| [space_mrn](#space_mrn-property) | `string` | Yes | No | -| [space_id](#space_id-property) | `string` | Yes | No | -| [space_name](#space_name-property) | `string` | Yes | No | -| [asset_id](#asset_id-property) | `string` | Yes | No | -| [asset_mrn](#asset_mrn-property) | `string` | Yes | No | -| [score](#score-property) | Deprecated | | | -| [base_score](#base_score-property) | `integer` | Yes | Yes | -| [risk_score](#risk_score-property) | `integer` | Yes |Yes | -| [status](#status-property) | `string` | Yes | No | -| [modified_at](#modified_at-property) | `string` | Yes | No | -| [failed_at](#failed_at-property) | `string` | Yes | No | +| Property | Type | Required? | Nullable? | +| :----------------------------------- | :--------- | :-------- | :-------- | +| [space_mrn](#space_mrn-property) | `string` | Yes | No | +| [space_id](#space_id-property) | `string` | Yes | No | +| [space_name](#space_name-property) | `string` | Yes | No | +| [asset_id](#asset_id-property) | `string` | Yes | No | +| [asset_mrn](#asset_mrn-property) | `string` | Yes | No | +| [score](#score-property) | Deprecated | | | +| [base_score](#base_score-property) | `integer` | Yes | Yes | +| [risk_score](#risk_score-property) | `integer` | Yes | Yes | +| [status](#status-property) | `string` | Yes | No | +| [modified_at](#modified_at-property) | `string` | Yes | No | +| [failed_at](#failed_at-property) | `string` | Yes | No | ### space_mrn property @@ -86,9 +86,9 @@ Asset's score for this check in the most recent policy-based scan `base_score` -| Type | Required? | Nullable? | -| :----- | :-------- | :-------- | -| Integer | Yes | Yes | +| Type | Required? | Nullable? | +| :------ | :-------- | :-------- | +| Integer | Yes | Yes | ### risk_score property @@ -96,9 +96,9 @@ Check risk score `risk_score` -| Type | Required? | Nullable? | -| :----- | :-------- | :-------- | -| Integer | Yes | Yes | +| Type | Required? | Nullable? | +| :------ | :-------- | :-------- | +| Integer | Yes | Yes | ### status property diff --git a/docs/platform/maintain/export/schema/result.md b/docs/platform/maintain/export/schema/result.md index a7f654a2f..deaa12cba 100644 --- a/docs/platform/maintain/export/schema/result.md +++ b/docs/platform/maintain/export/schema/result.md @@ -12,18 +12,18 @@ This is the schema Mondoo uses when exporting query result data to JSONL. ## Result properties -| Property | Type | Required? | Nullable? | -| :----------------------------------- | :------------ | :-------- | :-------- | -| [space_mrn](#space_mrn-property) | `string` | Yes | No | -| [space_id](#space_id-property) | `string` | Yes | No | -| [space_name](#space_name-property) | `string` | Yes | No | -| [asset_id](#asset_id-property) | `string` | Yes | No | -| [asset_mrn](#asset_mrn-property) | `string` | Yes | No | -| [query_mrn](#query_mrn-property) | `string` | Yes | No | -| [title](#title-property) | `string` | Yes | No | -| [mql](#mql-property) | `string` | Yes | No | -| [data](#data-property) | `JSON` | Yes | No | -| [exported_at](#exported_at-property) | `string` | Yes | No | +| Property | Type | Required? | Nullable? | +| :----------------------------------- | :------- | :-------- | :-------- | +| [space_mrn](#space_mrn-property) | `string` | Yes | No | +| [space_id](#space_id-property) | `string` | Yes | No | +| [space_name](#space_name-property) | `string` | Yes | No | +| [asset_id](#asset_id-property) | `string` | Yes | No | +| [asset_mrn](#asset_mrn-property) | `string` | Yes | No | +| [query_mrn](#query_mrn-property) | `string` | Yes | No | +| [title](#title-property) | `string` | Yes | No | +| [mql](#mql-property) | `string` | Yes | No | +| [data](#data-property) | `JSON` | Yes | No | +| [exported_at](#exported_at-property) | `string` | Yes | No | ### space_mrn property diff --git a/docs/platform/maintain/export/schema/risk.md b/docs/platform/maintain/export/schema/risk.md index ce0ea990d..42dde4afb 100644 --- a/docs/platform/maintain/export/schema/risk.md +++ b/docs/platform/maintain/export/schema/risk.md @@ -12,11 +12,11 @@ This is the schema Mondoo uses when exporting risk factor data to JSONL. ## RiskFactor properties -| Property | Type | Required? | Nullable? | -| :----------------------------------- | :------------ | :-------- | :-------- | -| [id](#id-property) | `string` | Yes | No | -| [mrn](#mrn-property) | `string` | Yes | No | -| [name](#name-property) | `string` | Yes | No | +| Property | Type | Required? | Nullable? | +| :--------------------- | :------- | :-------- | :-------- | +| [id](#id-property) | `string` | Yes | No | +| [mrn](#mrn-property) | `string` | Yes | No | +| [name](#name-property) | `string` | Yes | No | ### id property diff --git a/docs/platform/maintain/export/schema/vulns.md b/docs/platform/maintain/export/schema/vulns.md index af53ab485..ae596cc05 100644 --- a/docs/platform/maintain/export/schema/vulns.md +++ b/docs/platform/maintain/export/schema/vulns.md @@ -12,26 +12,26 @@ This is the schema Mondoo uses when exporting vulnerability data to JSONL. ## Vulnerability properties -| Property | Type | Required? | Nullable? | -| :----------------------------------------------- | :------- | :-------- | :-------- | -| [space_mrn](#space_mrn-property) | `string` | Yes | No | -| [space_id](#space_id-property) | `string` | Yes | No | -| [space_name](#space_name-property) | `string` | Yes | No | -| [asset_id](#asset_id-property) | `string` | Yes | No | -| [asset_mrn](#asset_mrn-property) | `string` | Yes | No | -| [vuln_mrn](#vuln_mrn-property) | `string` | Yes | No | -| [vuln_id](#vuln_id-property) | `string` | Yes | No | -| [type](#type-property) | `string` | Yes | No | -| [summary](#summary-property) | `string` | Yes | No | -| [cvss_score](#cvss_score-property) | `integer` | No | No | -| [cvss_severity](#cvss_severity-property) | `string` | No | No | -| [first_detected_on](#first_detected_on-property) | `string` | Yes | No | -| [resolved_on](#resolved_on-property) | `string` | Yes | No | -| [exported_at](#exported_at-property) | `string` | Yes | No | -| [risk_factors](#risk_factors-property) | `JSON` | No | Yes | -| [references](#references-property) | `JSON` | No | Yes | -| [base_score](#base_score-property) | `integer` | Yes | No | -| [risk_score](#risk_score-property) | `integer` | Yes | No | +| Property | Type | Required? | Nullable? | +| :----------------------------------------------- | :-------- | :-------- | :-------- | +| [space_mrn](#space_mrn-property) | `string` | Yes | No | +| [space_id](#space_id-property) | `string` | Yes | No | +| [space_name](#space_name-property) | `string` | Yes | No | +| [asset_id](#asset_id-property) | `string` | Yes | No | +| [asset_mrn](#asset_mrn-property) | `string` | Yes | No | +| [vuln_mrn](#vuln_mrn-property) | `string` | Yes | No | +| [vuln_id](#vuln_id-property) | `string` | Yes | No | +| [type](#type-property) | `string` | Yes | No | +| [summary](#summary-property) | `string` | Yes | No | +| [cvss_score](#cvss_score-property) | `integer` | No | No | +| [cvss_severity](#cvss_severity-property) | `string` | No | No | +| [first_detected_on](#first_detected_on-property) | `string` | Yes | No | +| [resolved_on](#resolved_on-property) | `string` | Yes | No | +| [exported_at](#exported_at-property) | `string` | Yes | No | +| [risk_factors](#risk_factors-property) | `JSON` | No | Yes | +| [references](#references-property) | `JSON` | No | Yes | +| [base_score](#base_score-property) | `integer` | Yes | No | +| [risk_score](#risk_score-property) | `integer` | Yes | No | ### space_mrn property @@ -129,8 +129,8 @@ CVSS score (0 to 10) `cvss_score` -| Type | Required? | Nullable? | -| :----- | :-------- | :-------- | +| Type | Required? | Nullable? | +| :------ | :-------- | :-------- | | Integer | Yes | No | ### cvss_severity property @@ -185,7 +185,7 @@ CVE and advisory references | Type | Required? | Nullable? | | :----- | :-------- | :-------- | -| String | No | Yes | +| String | No | Yes | ### base_score property @@ -193,8 +193,8 @@ CVE or advisory score based on the most recent policy-based scan `base_score` -| Type | Required? | Nullable? | -| :----- | :-------- | :-------- | +| Type | Required? | Nullable? | +| :------ | :-------- | :-------- | | Integer | Yes | No | ### risk_score property @@ -203,8 +203,8 @@ CVE or advisory's risk score `risk_score` -| Type | Required? | Nullable? | -| :----- | :-------- | :-------- | +| Type | Required? | Nullable? | +| :------ | :-------- | :-------- | | Integer | Yes | No | --- diff --git a/yarn.lock b/yarn.lock index 142ba5b93..f9f4c946e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3718,9 +3718,9 @@ ee-first@1.1.1: integrity sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow== electron-to-chromium@^1.5.4: - version "1.5.8" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.8.tgz#0a3225b305212f347be48f159a3c0a117d5e9801" - integrity sha512-4Nx0gP2tPNBLTrFxBMHpkQbtn2hidPVr/+/FTtcCiBYTucqc70zRyVZiOLj17Ui3wTO7SQ1/N+hkHYzJjBzt6A== + version "1.5.9" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.9.tgz#3e92950e3a409d109371b7a153a9c5712e2509fd" + integrity sha512-HfkT8ndXR0SEkU8gBQQM3rz035bpE/hxkZ1YIt4KJPEFES68HfIU6LzKukH0H794Lm83WJtkSAMfEToxCs15VA== emoji-regex@^8.0.0: version "8.0.0"