From d3cb94713f8452ecbdffcf0ccaa4568537e99368 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 1 Jul 2026 07:47:46 +0000 Subject: [PATCH 1/6] chore: update API schema snapshot (drift detected 2026-07-01) --- docs/api-schema-snapshot.json | 250 +++++----------------------------- 1 file changed, 35 insertions(+), 215 deletions(-) diff --git a/docs/api-schema-snapshot.json b/docs/api-schema-snapshot.json index f70a447..0ba5dc3 100644 --- a/docs/api-schema-snapshot.json +++ b/docs/api-schema-snapshot.json @@ -1,13 +1,5 @@ { - "generatedAt": "2026-06-29T08:01:48Z", - "_meta": { - "notes": [ - "Types use suffixes: '?' = nullable, '*' = pattern key. Bare types are observed-required-non-null in the sample.", - "Arrays use `_itemProperties` when the documented item shape is known; bare `\"array\"` only when items are truly schemaless (e.g. variant strings).", - "Nullable handling: API contract types are documented at docs/API-REFERENCE.md and considered the source of truth; sampled responses that happen to contain nulls do not collapse the documented type.", - "Reports / Assessment endpoints are part of the public surface in v0.5.0 and are included here." - ] - }, + "generatedAt": "2026-07-01T07:47:46Z", "endpoints": { "GET /beta/tenants": { "properties": { @@ -19,20 +11,9 @@ "isBaseline": "boolean", "lastBackupTimestamp": "datetime", "recentChanges": "integer", - "policyDiff": "string?", + "policyDiff": "string", "tags": "array", - "alignmentSummaries": { - "_type": "array", - "_itemProperties": { - "alignedBaselineTenantId": "integer", - "alignedBaselineId": "string", - "alignedBaselineName": "string", - "alignmentScore": "number", - "alignedThreshold": "number", - "semiAlignedThreshold": "number", - "lastAlignmentDateTime": "datetime" - } - }, + "alignmentSummaries": "array", "licenses": { "_type": "array", "_itemProperties": { @@ -51,15 +32,7 @@ "baselineMsTenantId": "string", "alignedThreshold": "integer", "semiAlignedThreshold": "integer", - "members": { - "_type": "array", - "_itemProperties": { - "clientTenantId": "integer", - "tenantFriendlyName": "string", - "tenantDnsName": "string", - "msTenantId": "string" - } - }, + "members": "array", "mode": "string", "autoAddNewPolicies": "boolean", "isComplete": "boolean", @@ -68,10 +41,10 @@ "_type": "array", "_itemProperties": { "policySnapshotId": "string", - "childCustomBaselineId": "string?", - "policyCategoryProduct": "string?", - "policyCategoryPrimaryGroup": "string?", - "policyCategorySecondaryGroup": "string?", + "childCustomBaselineId": "null", + "policyCategoryProduct": "null", + "policyCategoryPrimaryGroup": "null", + "policyCategorySecondaryGroup": "null", "alignAssignments": "boolean" } } @@ -81,7 +54,7 @@ "properties": { "tenantId": "integer", "tenantFriendlyName": "string", - "score": "number", + "score": "integer", "baselineGroupId": "string", "baselineGroupName": "string", "lastComparisonDateTime": "datetime" @@ -91,15 +64,15 @@ "properties": { "id": "string", "policyTypeId": "integer", - "name": "string?", + "name": "null", "displayName": "string", "friendlyName": "string", - "description": "string?", + "description": "null", "readOnly": "boolean", "product": "string", "primaryGroup": "string", "secondaryGroup": "string", - "platform": "string?", + "platform": "null", "policyCategoryId": "integer", "tags": "array", "policyData": "object" @@ -126,7 +99,7 @@ "subjectTenantId": "integer", "subjectDataTimestamp": "datetime", "baselineDataTimestamp": "datetime", - "alignmentScore": "number", + "alignmentScore": "integer", "deviatedUnaccepted": "array", "matchedPolicies": { "_type": "array", @@ -138,7 +111,7 @@ "_itemProperties": { "subjectPolicySnapshotId": "string", "subjectPolicySnapshotVersionId": "string", - "subjectPolicyGuid": "string?", + "subjectPolicyGuid": "string", "policyDataDiff": "array", "policyAssignmentsDiff": "array", "policyTags": "array", @@ -148,33 +121,21 @@ "isDeviation": "boolean", "isMissingFromSubject": "boolean", "isAdditionalInSubject": "boolean", - "matchingVariables": { - "_type": "array", - "_itemProperties": { - "variableId": "string", - "variableName": "string", - "baselineValue": "string?", - "subjectValue": "string?", - "description": "string?", - "propertyPath": "string", - "isHidden": "boolean", - "isBaselineOnly": "boolean" - } - }, + "matchingVariables": "array", "similarPolicies": "array", "acceptedDeviations": "array", - "policyGuid": "string?", + "policyGuid": "string", "policyName": "string", - "policySnapshotId": "string?", - "policySnapshotVersionId": "string?", + "policySnapshotId": "null", + "policySnapshotVersionId": "null", "policyTypeId": "integer", "inforcerPolicyTypeName": "string", "policyCategoryId": "integer", "product": "string", "primaryGroup": "string", "secondaryGroup": "string", - "platform": "string?", - "description": "string?", + "platform": "null", + "description": "null", "isPolicyDeleteDisabled": "boolean", "isPolicyDeployable": "boolean", "policyTags": { @@ -182,7 +143,7 @@ "_itemProperties": { "id": "string", "name": "string", - "description": "string?" + "description": "null" } }, "readOnly": "boolean", @@ -218,12 +179,12 @@ "_properties": { "clientIp": "string", "clientIpv4": "string", - "clientIpv6": "string?", + "clientIpv6": "null", "nameLookup": { "_type": "object", - "_patternProperties": { - "user:username:*": "string", - "user:displayName:*": "string" + "_properties": { + "user:username:244": "string", + "user:displayName:244": "string" } } } @@ -234,9 +195,9 @@ "properties": { "id": "string", "displayName": "string", - "description": "string?", - "mail": "string?", - "visibility": "string?", + "description": "string", + "mail": "string", + "visibility": "string", "groupTypes": "array" } }, @@ -244,15 +205,15 @@ "properties": { "id": "string", "displayName": "string", - "description": "string?", - "mail": "string?", - "mailNickname": "string?", - "visibility": "string?", - "membershipRule": "string?", + "description": "string", + "mail": "string", + "mailNickname": "string", + "visibility": "string", + "membershipRule": "null", "groupTypes": "array", "createdDateTime": "datetime", "mailEnabled": "boolean", - "onPremisesSyncEnabled": "boolean?", + "onPremisesSyncEnabled": "null", "members": { "_type": "array", "_itemProperties": { @@ -268,152 +229,11 @@ "id": "string", "templateId": "string", "displayName": "string", - "description": "string?", + "description": "string", "isBuiltIn": "boolean", "isEnabled": "boolean", "isPrivileged": "boolean" } - }, - "GET /beta/assessments": { - "properties": { - "id": "string", - "name": "string", - "description": "string?", - "tags": "array", - "assessmentType": "string", - "lastUpdated": "datetime", - "created": "datetime" - } - }, - "POST /beta/tenants/{tenantId}/assessments/{assessmentId}/runs": { - "properties": { - "assessment": "string", - "name": "string", - "results": { - "_type": "array", - "_itemProperties": { - "id": "string", - "key": "string", - "name": "string", - "category": "string", - "subCategory": "string?", - "description": "string?", - "importance": "string", - "impact": "string?", - "rationale": "string?", - "remediation": "string?", - "findings": { - "_type": "object", - "_properties": { - "compliant": "boolean", - "message": "string?", - "scores": { - "_type": "array", - "_itemProperties": { - "objectId": "string", - "score": "number", - "objectName": "string?", - "passes": "array", - "violations": "array", - "warnings": "array" - } - } - } - }, - "frameworks": "array", - "tags": "array", - "version": "string?", - "created": "datetime", - "lastUpdated": "datetime" - } - } - } - }, - "GET /beta/reports/types": { - "properties": { - "key": "string", - "name": "string", - "description": "string?", - "collatable": "boolean", - "supportedOutputFormats": "array", - "requiredParameters": "array", - "tags": "array" - } - }, - "POST /beta/reports/runs": { - "properties": { - "runId": "string", - "status": "string", - "reportTypes": "array", - "outputFormats": "array", - "triggeredByType": "string", - "createdAt": "datetime", - "startedAt": "datetime?", - "completedAt": "datetime?", - "outputCount": "integer" - } - }, - "GET /beta/reports/runs": { - "properties": { - "runId": "string", - "status": "string", - "reportTypes": "array", - "outputFormats": "array", - "triggeredByType": "string", - "createdAt": "datetime", - "startedAt": "datetime?", - "completedAt": "datetime?", - "outputCount": "integer" - } - }, - "GET /beta/reports/runs/{runId}/outputs": { - "properties": { - "outputs": { - "_type": "array", - "_itemProperties": { - "id": "string", - "reportType": "string", - "tenantId": "integer", - "format": "string", - "sizeBytes": "integer" - } - } - } - }, - "GET /beta/reports/runs/{runId}/outputs/{outputId}": { - "_responseType": "binary", - "_headers": { - "Content-Disposition": "string (RFC 5987 filename*= or filename=)", - "Content-Type": "string", - "x-correlation-id": "string" - } - }, - "GET /beta/tenants/{tenantId}/users": { - "properties": { - "id": "string", - "displayName": "string", - "userPrincipalName": "string", - "userType": "string?", - "department": "string?", - "assignedLicenses": "array", - "isGlobalAdmin": "boolean", - "isMfaCapable": "boolean" - } - }, - "GET /beta/tenants/{tenantId}/users/{userId}": { - "properties": { - "id": "string", - "displayName": "string", - "userPrincipalName": "string", - "userType": "string?", - "department": "string?", - "mail": "string?", - "accountEnabled": "boolean", - "isGlobalAdmin": "boolean", - "isCloudOnly": "boolean", - "isMfaRegistered": "boolean", - "riskLevel": "string?" - } } } } From 9e863c4a99255761542a4c103cf7facb0276ccaa Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 2 Jul 2026 07:21:27 +0000 Subject: [PATCH 2/6] chore: update API schema snapshot (drift detected 2026-07-02) --- docs/api-schema-snapshot.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api-schema-snapshot.json b/docs/api-schema-snapshot.json index 0ba5dc3..b23d730 100644 --- a/docs/api-schema-snapshot.json +++ b/docs/api-schema-snapshot.json @@ -1,5 +1,5 @@ { - "generatedAt": "2026-07-01T07:47:46Z", + "generatedAt": "2026-07-02T07:21:27Z", "endpoints": { "GET /beta/tenants": { "properties": { From c573f27f5d25502ef57af3f1f934be054fcc527c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 3 Jul 2026 07:16:57 +0000 Subject: [PATCH 3/6] chore: update API schema snapshot (drift detected 2026-07-03) --- docs/api-schema-snapshot.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api-schema-snapshot.json b/docs/api-schema-snapshot.json index b23d730..c3b9e75 100644 --- a/docs/api-schema-snapshot.json +++ b/docs/api-schema-snapshot.json @@ -1,5 +1,5 @@ { - "generatedAt": "2026-07-02T07:21:27Z", + "generatedAt": "2026-07-03T07:16:57Z", "endpoints": { "GET /beta/tenants": { "properties": { From dae514cfe06320c16f1cd94db4258cc8a51aee34 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sat, 4 Jul 2026 07:09:05 +0000 Subject: [PATCH 4/6] chore: update API schema snapshot (drift detected 2026-07-04) --- docs/api-schema-snapshot.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api-schema-snapshot.json b/docs/api-schema-snapshot.json index c3b9e75..96f4233 100644 --- a/docs/api-schema-snapshot.json +++ b/docs/api-schema-snapshot.json @@ -1,5 +1,5 @@ { - "generatedAt": "2026-07-03T07:16:57Z", + "generatedAt": "2026-07-04T07:09:05Z", "endpoints": { "GET /beta/tenants": { "properties": { From 3e68fd012ac96ca2b06fc7338f635d8ccf677029 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sun, 5 Jul 2026 07:15:59 +0000 Subject: [PATCH 5/6] chore: update API schema snapshot (drift detected 2026-07-05) --- docs/api-schema-snapshot.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/api-schema-snapshot.json b/docs/api-schema-snapshot.json index 96f4233..3ae4e08 100644 --- a/docs/api-schema-snapshot.json +++ b/docs/api-schema-snapshot.json @@ -1,5 +1,5 @@ { - "generatedAt": "2026-07-04T07:09:05Z", + "generatedAt": "2026-07-05T07:15:59Z", "endpoints": { "GET /beta/tenants": { "properties": { @@ -111,7 +111,7 @@ "_itemProperties": { "subjectPolicySnapshotId": "string", "subjectPolicySnapshotVersionId": "string", - "subjectPolicyGuid": "string", + "subjectPolicyGuid": "null", "policyDataDiff": "array", "policyAssignmentsDiff": "array", "policyTags": "array", @@ -124,7 +124,7 @@ "matchingVariables": "array", "similarPolicies": "array", "acceptedDeviations": "array", - "policyGuid": "string", + "policyGuid": "null", "policyName": "string", "policySnapshotId": "null", "policySnapshotVersionId": "null", From c2ff53a9ff615c12e39c6d2a43d8d180ab866324 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 6 Jul 2026 07:47:28 +0000 Subject: [PATCH 6/6] chore: update API schema snapshot (drift detected 2026-07-06) --- docs/api-schema-snapshot.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/api-schema-snapshot.json b/docs/api-schema-snapshot.json index 3ae4e08..11d635e 100644 --- a/docs/api-schema-snapshot.json +++ b/docs/api-schema-snapshot.json @@ -1,5 +1,5 @@ { - "generatedAt": "2026-07-05T07:15:59Z", + "generatedAt": "2026-07-06T07:47:28Z", "endpoints": { "GET /beta/tenants": { "properties": { @@ -111,7 +111,7 @@ "_itemProperties": { "subjectPolicySnapshotId": "string", "subjectPolicySnapshotVersionId": "string", - "subjectPolicyGuid": "null", + "subjectPolicyGuid": "string", "policyDataDiff": "array", "policyAssignmentsDiff": "array", "policyTags": "array", @@ -124,7 +124,7 @@ "matchingVariables": "array", "similarPolicies": "array", "acceptedDeviations": "array", - "policyGuid": "null", + "policyGuid": "string", "policyName": "string", "policySnapshotId": "null", "policySnapshotVersionId": "null",