@opensoha/contracts 0.1.7 → 0.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/auth/catalog_generated.go +2 -2
- package/auth/permission-catalog.json +7 -7
- package/compat/json-schema-ecosystem-0.1.0.json +1 -1
- package/compat/openapi-loose-boundaries-0.1.0.json +16 -1
- package/fixtures/json-schema/companion-pack/invalid/traversal.json +19 -0
- package/fixtures/json-schema/companion-pack/valid/svg.json +47 -0
- package/fixtures/json-schema/companion-provenance/invalid/missing-source.json +8 -0
- package/fixtures/json-schema/companion-provenance/valid/minimal.json +10 -0
- package/fixtures/json-schema/marketplace-catalog/valid/companion-pack.json +39 -0
- package/fixtures/json-schema/plugin-manifest/invalid/companion-pack-without-assets.json +17 -0
- package/fixtures/json-schema/plugin-manifest/valid/companion-pack.json +28 -0
- package/fixtures/openapi/BrandingAssetUploadEnvelope/invalid/remote-url.json +5 -0
- package/fixtures/openapi/BrandingAssetUploadEnvelope/valid/png-data-url.json +5 -0
- package/fixtures/openapi/BrandingSettingsEnvelope/invalid/missing-favicon.json +9 -0
- package/fixtures/openapi/BrandingSettingsEnvelope/valid/default.json +10 -0
- package/fixtures/openapi/CompanionInteractionReceiptEnvelope/invalid/missing-profile.json +9 -0
- package/fixtures/openapi/CompanionInteractionReceiptEnvelope/valid/applied.json +22 -0
- package/fixtures/openapi/CompanionInteractionRequest/invalid/client-reward.json +5 -0
- package/fixtures/openapi/CompanionInteractionRequest/valid/pet.json +5 -0
- package/fixtures/openapi/CompanionPackManifest/invalid/external-entry.json +11 -0
- package/fixtures/openapi/CompanionPackManifest/valid/svg.json +20 -0
- package/fixtures/openapi/CompanionProfileEnvelope/invalid/level-zero.json +15 -0
- package/fixtures/openapi/CompanionProfileEnvelope/valid/default.json +15 -0
- package/fixtures/openapi/IdentitySettingsEnvelope/invalid/exposed-secret.json +14 -0
- package/fixtures/openapi/IdentitySettingsEnvelope/valid/redacted-provider.json +16 -0
- package/fixtures/openapi/KubernetesClusterListEnvelope/invalid/missing-health.json +12 -0
- package/fixtures/openapi/KubernetesClusterListEnvelope/valid/agent-cluster.json +18 -0
- package/fixtures/openapi/KubernetesNetworkTopologyEnvelope/invalid/missing-summary.json +7 -0
- package/fixtures/openapi/KubernetesNetworkTopologyEnvelope/valid/ingress-service-pod.json +29 -0
- package/fixtures/openapi/KubernetesPodListEnvelope/invalid/missing-scope.json +11 -0
- package/fixtures/openapi/KubernetesPodListEnvelope/valid/running-pod.json +15 -0
- package/fixtures/openapi/PlatformAuditLogListEnvelope/invalid/missing-action.json +14 -0
- package/fixtures/openapi/PlatformAuditLogListEnvelope/valid/kubernetes-mutation.json +24 -0
- package/fixtures/openapi/PlatformOperationLogListEnvelope/invalid/missing-target-scope.json +13 -0
- package/fixtures/openapi/PlatformOperationLogListEnvelope/valid/kubernetes-operation.json +29 -0
- package/fixtures/openapi/PluginProvenanceStatement/invalid/algorithm.json +10 -0
- package/fixtures/openapi/PluginProvenanceStatement/valid/minimal.json +10 -0
- package/fixtures/openapi/PodMetricsEnvelope/invalid/missing-configured.json +10 -0
- package/fixtures/openapi/PodMetricsEnvelope/valid/prometheus.json +25 -0
- package/fixtures/openapi/UpdateBrandingSettingsRequest/invalid/unknown-field.json +9 -0
- package/fixtures/openapi/UpdateBrandingSettingsRequest/valid/default.json +8 -0
- package/fixtures/openapi/UpdateLoginProvidersSettingsRequest/invalid/missing-providers.json +4 -0
- package/fixtures/openapi/UpdateLoginProvidersSettingsRequest/valid/provider-with-secret.json +15 -0
- package/fixtures/openapi/UploadBrandingAssetRequest/invalid/missing-file.json +1 -0
- package/fixtures/openapi/UploadBrandingAssetRequest/valid/file.json +3 -0
- package/gen/go/sohaapi/client.go +1 -1
- package/gen/go/sohaapi/types.go +4678 -40
- package/gen/ts/sohaapi/index.ts +18003 -8300
- package/openapi/soha-api.json +34915 -17384
- package/openapi/soha-api.yaml +18848 -11384
- package/openapi/spec_generated.go +3 -3
- package/package.json +3 -1
- package/plugins/companion-pack.schema.json +118 -0
- package/plugins/companion-provenance.schema.json +19 -0
- package/plugins/marketplace-catalog.schema.json +20 -0
- package/plugins/plugin-manifest.schema.json +19 -1
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"items": [
|
|
3
|
+
{
|
|
4
|
+
"id": "operation-01",
|
|
5
|
+
"actorId": "user-01",
|
|
6
|
+
"actorName": "Platform Operator",
|
|
7
|
+
"operationType": "platform.port-forward.start",
|
|
8
|
+
"targetScope": {
|
|
9
|
+
"module": "platform",
|
|
10
|
+
"clusterId": "cluster-01",
|
|
11
|
+
"namespace": "production",
|
|
12
|
+
"resourceKind": "PortForward",
|
|
13
|
+
"resourceName": "session-01"
|
|
14
|
+
},
|
|
15
|
+
"result": "success",
|
|
16
|
+
"summary": "started agent port-forward session",
|
|
17
|
+
"requestPath": "/api/v1/clusters/cluster-01/network/port-forwards",
|
|
18
|
+
"requestMethod": "POST",
|
|
19
|
+
"requestId": "request-01",
|
|
20
|
+
"sourceIp": "192.0.2.10",
|
|
21
|
+
"metadata": {
|
|
22
|
+
"connectionMode": "agent",
|
|
23
|
+
"localPort": 18080,
|
|
24
|
+
"remotePort": 8080
|
|
25
|
+
},
|
|
26
|
+
"createdAt": "2026-08-10T08:00:00Z"
|
|
27
|
+
}
|
|
28
|
+
]
|
|
29
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"subjectSha256": "sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
3
|
+
"builderId": "local",
|
|
4
|
+
"sourceUri": "https://github.com/opensoha/companion-packs",
|
|
5
|
+
"sourceCommit": "0123456",
|
|
6
|
+
"builtAt": "2026-08-08T00:00:00Z",
|
|
7
|
+
"signingKeyId": "opensoha.release",
|
|
8
|
+
"signatureAlgorithm": "sha256",
|
|
9
|
+
"signature": "c2lnbmF0dXJl"
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"subjectSha256": "sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
3
|
+
"builderId": "https://github.com/opensoha/soha-cloud/actions/runs/1",
|
|
4
|
+
"sourceUri": "https://github.com/opensoha/companion-packs",
|
|
5
|
+
"sourceCommit": "0123456789abcdef0123456789abcdef01234567",
|
|
6
|
+
"builtAt": "2026-08-08T00:00:00Z",
|
|
7
|
+
"signingKeyId": "opensoha.release",
|
|
8
|
+
"signatureAlgorithm": "ed25519",
|
|
9
|
+
"signature": "c2lnbmF0dXJl"
|
|
10
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"data": {
|
|
3
|
+
"podName": "api-7c8d9f",
|
|
4
|
+
"namespace": "production",
|
|
5
|
+
"configured": true,
|
|
6
|
+
"source": "prometheus",
|
|
7
|
+
"generatedAt": "2026-08-09T14:00:00Z",
|
|
8
|
+
"rangeMinutes": 60,
|
|
9
|
+
"stepSeconds": 60,
|
|
10
|
+
"series": [
|
|
11
|
+
{
|
|
12
|
+
"key": "cpu",
|
|
13
|
+
"label": "CPU Usage",
|
|
14
|
+
"unit": "cores",
|
|
15
|
+
"latest": 0.25,
|
|
16
|
+
"points": [
|
|
17
|
+
{
|
|
18
|
+
"timestamp": "2026-08-09T14:00:00Z",
|
|
19
|
+
"value": 0.25
|
|
20
|
+
}
|
|
21
|
+
]
|
|
22
|
+
}
|
|
23
|
+
]
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"providers": [
|
|
3
|
+
{
|
|
4
|
+
"id": "github",
|
|
5
|
+
"name": "GitHub",
|
|
6
|
+
"type": "oauth2",
|
|
7
|
+
"enabled": true,
|
|
8
|
+
"clientId": "public-client-id",
|
|
9
|
+
"clientSecret": "new-client-secret",
|
|
10
|
+
"certificate": "-----BEGIN CERTIFICATE-----\nMIIB\n-----END CERTIFICATE-----"
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"defaultProviderId": "github",
|
|
14
|
+
"localPasswordLoginEnabled": false
|
|
15
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{}
|