@opensoha/contracts 0.1.13 → 0.1.15
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/catalog_test.go +40 -0
- package/auth/permission-catalog.json +227 -3
- package/compat/json-schema-ecosystem-0.1.0.json +1 -1
- package/compat/openapi-loose-boundaries-0.1.0.json +1 -1
- package/fixtures/openapi/AISkillsSettingsEnvelope/invalid/missing-registry.json +3 -0
- package/fixtures/openapi/AISkillsSettingsEnvelope/valid/registry.json +13 -0
- package/fixtures/openapi/AlertEventStreamSignal/invalid/missing-observed-at.json +4 -0
- package/fixtures/openapi/AlertEventStreamSignal/valid/changed.json +9 -0
- package/fixtures/openapi/ComputeOverviewEnvelope/valid/partial.json +6 -0
- package/fixtures/openapi/ComputeTaskListEnvelope/invalid/progress-overflow.json +21 -0
- package/fixtures/openapi/ComputeTaskListEnvelope/valid/running.json +15 -0
- package/fixtures/openapi/ComputeTaskStreamEvent/invalid/missing-observed-at.json +3 -0
- package/fixtures/openapi/ComputeTaskStreamEvent/valid/snapshot.json +27 -0
- package/fixtures/openapi/KubernetesResourceGraphEnvelope/invalid/edge-without-target.json +16 -0
- package/fixtures/openapi/KubernetesResourceGraphEnvelope/valid/deployment.json +53 -0
- package/fixtures/openapi/KubernetesResourceSearchEnvelope/invalid/missing-resource.json +10 -0
- package/fixtures/openapi/KubernetesResourceSearchEnvelope/valid/mixed.json +29 -0
- package/fixtures/openapi/KubernetesResourceStreamEvent/invalid/missing-observed-at.json +5 -0
- package/fixtures/openapi/KubernetesResourceStreamEvent/valid/modified.json +18 -0
- package/fixtures/openapi/KubernetesSecurityPostureEnvelope/invalid/finding-without-severity.json +24 -0
- package/fixtures/openapi/KubernetesSecurityPostureEnvelope/valid/kubescape.json +34 -0
- package/fixtures/openapi/KubernetesService/invalid/node-port-out-of-range.json +14 -0
- package/fixtures/openapi/KubernetesService/valid/port-mappings.json +22 -0
- package/fixtures/openapi/KubernetesServiceDetail/invalid/empty-target-port.json +13 -0
- package/fixtures/openapi/KubernetesServiceDetail/valid/port-mappings.json +22 -0
- package/fixtures/openapi/KubernetesWorkloadSnapshotRequest/invalid/unknown-inheritance.json +9 -0
- package/fixtures/openapi/KubernetesWorkloadSnapshotRequest/valid/selective-job.json +9 -0
- package/fixtures/openapi/OperationalPlanEnvelope/invalid/kubernetes-owner-without-manager.json +29 -0
- package/fixtures/openapi/OperationalPlanEnvelope/valid/kubernetes-resource-update.json +30 -0
- package/fixtures/openapi/WorkbenchAgentRunListEnvelope/invalid/callback-token.json +17 -0
- package/fixtures/openapi/WorkbenchAgentRunListEnvelope/valid/session-scoped.json +17 -0
- package/fixtures/openapi/WorkbenchSessionEnvelope/invalid/missing-owner.json +8 -0
- package/fixtures/openapi/WorkbenchSessionEnvelope/valid/current.json +17 -0
- package/gen/go/sohaapi/client.go +1 -1
- package/gen/go/sohaapi/types.go +1758 -59
- package/gen/go/sohaapi/types_test.go +43 -2
- package/gen/ts/sohaapi/index.ts +12853 -9909
- package/openapi/soha-api.json +11360 -5927
- package/openapi/soha-api.yaml +11122 -8646
- package/openapi/spec_generated.go +3 -3
- package/package.json +1 -1
- package/resource/models.go +197 -0
package/gen/go/sohaapi/types.go
CHANGED
|
@@ -967,6 +967,27 @@ func (e ComputeFeatureID) Valid() bool {
|
|
|
967
967
|
}
|
|
968
968
|
}
|
|
969
969
|
|
|
970
|
+
// Defines values for ComputeFreshnessStatus.
|
|
971
|
+
const (
|
|
972
|
+
ComputeFreshnessStatusFresh ComputeFreshnessStatus = "fresh"
|
|
973
|
+
ComputeFreshnessStatusStale ComputeFreshnessStatus = "stale"
|
|
974
|
+
ComputeFreshnessStatusUnknown ComputeFreshnessStatus = "unknown"
|
|
975
|
+
)
|
|
976
|
+
|
|
977
|
+
// Valid indicates whether the value is a known member of the ComputeFreshnessStatus enum.
|
|
978
|
+
func (e ComputeFreshnessStatus) Valid() bool {
|
|
979
|
+
switch e {
|
|
980
|
+
case ComputeFreshnessStatusFresh:
|
|
981
|
+
return true
|
|
982
|
+
case ComputeFreshnessStatusStale:
|
|
983
|
+
return true
|
|
984
|
+
case ComputeFreshnessStatusUnknown:
|
|
985
|
+
return true
|
|
986
|
+
default:
|
|
987
|
+
return false
|
|
988
|
+
}
|
|
989
|
+
}
|
|
990
|
+
|
|
970
991
|
// Defines values for ComputeHealthStatus.
|
|
971
992
|
const (
|
|
972
993
|
ComputeHealthStatusDegraded ComputeHealthStatus = "degraded"
|
|
@@ -1285,6 +1306,54 @@ func (e ComputeTaskDomain) Valid() bool {
|
|
|
1285
1306
|
}
|
|
1286
1307
|
}
|
|
1287
1308
|
|
|
1309
|
+
// Defines values for ComputeTaskHeartbeatStatus.
|
|
1310
|
+
const (
|
|
1311
|
+
ComputeTaskHeartbeatStatusFresh ComputeTaskHeartbeatStatus = "fresh"
|
|
1312
|
+
ComputeTaskHeartbeatStatusNotRequired ComputeTaskHeartbeatStatus = "not_required"
|
|
1313
|
+
ComputeTaskHeartbeatStatusStale ComputeTaskHeartbeatStatus = "stale"
|
|
1314
|
+
ComputeTaskHeartbeatStatusUnknown ComputeTaskHeartbeatStatus = "unknown"
|
|
1315
|
+
)
|
|
1316
|
+
|
|
1317
|
+
// Valid indicates whether the value is a known member of the ComputeTaskHeartbeatStatus enum.
|
|
1318
|
+
func (e ComputeTaskHeartbeatStatus) Valid() bool {
|
|
1319
|
+
switch e {
|
|
1320
|
+
case ComputeTaskHeartbeatStatusFresh:
|
|
1321
|
+
return true
|
|
1322
|
+
case ComputeTaskHeartbeatStatusNotRequired:
|
|
1323
|
+
return true
|
|
1324
|
+
case ComputeTaskHeartbeatStatusStale:
|
|
1325
|
+
return true
|
|
1326
|
+
case ComputeTaskHeartbeatStatusUnknown:
|
|
1327
|
+
return true
|
|
1328
|
+
default:
|
|
1329
|
+
return false
|
|
1330
|
+
}
|
|
1331
|
+
}
|
|
1332
|
+
|
|
1333
|
+
// Defines values for ComputeTaskResultStatus.
|
|
1334
|
+
const (
|
|
1335
|
+
ComputeTaskResultStatusAccepted ComputeTaskResultStatus = "accepted"
|
|
1336
|
+
ComputeTaskResultStatusFailed ComputeTaskResultStatus = "failed"
|
|
1337
|
+
ComputeTaskResultStatusSucceeded ComputeTaskResultStatus = "succeeded"
|
|
1338
|
+
ComputeTaskResultStatusUnknown ComputeTaskResultStatus = "unknown"
|
|
1339
|
+
)
|
|
1340
|
+
|
|
1341
|
+
// Valid indicates whether the value is a known member of the ComputeTaskResultStatus enum.
|
|
1342
|
+
func (e ComputeTaskResultStatus) Valid() bool {
|
|
1343
|
+
switch e {
|
|
1344
|
+
case ComputeTaskResultStatusAccepted:
|
|
1345
|
+
return true
|
|
1346
|
+
case ComputeTaskResultStatusFailed:
|
|
1347
|
+
return true
|
|
1348
|
+
case ComputeTaskResultStatusSucceeded:
|
|
1349
|
+
return true
|
|
1350
|
+
case ComputeTaskResultStatusUnknown:
|
|
1351
|
+
return true
|
|
1352
|
+
default:
|
|
1353
|
+
return false
|
|
1354
|
+
}
|
|
1355
|
+
}
|
|
1356
|
+
|
|
1288
1357
|
// Defines values for ComputeTaskStatus.
|
|
1289
1358
|
const (
|
|
1290
1359
|
ComputeTaskStatusCanceled ComputeTaskStatus = "canceled"
|
|
@@ -1318,6 +1387,60 @@ func (e ComputeTaskStatus) Valid() bool {
|
|
|
1318
1387
|
}
|
|
1319
1388
|
}
|
|
1320
1389
|
|
|
1390
|
+
// Defines values for ComputeTaskStreamEventType.
|
|
1391
|
+
const (
|
|
1392
|
+
ComputeTaskStreamEventTypeError ComputeTaskStreamEventType = "error"
|
|
1393
|
+
ComputeTaskStreamEventTypeHeartbeat ComputeTaskStreamEventType = "heartbeat"
|
|
1394
|
+
ComputeTaskStreamEventTypeSnapshot ComputeTaskStreamEventType = "snapshot"
|
|
1395
|
+
ComputeTaskStreamEventTypeTerminal ComputeTaskStreamEventType = "terminal"
|
|
1396
|
+
ComputeTaskStreamEventTypeUpdated ComputeTaskStreamEventType = "updated"
|
|
1397
|
+
)
|
|
1398
|
+
|
|
1399
|
+
// Valid indicates whether the value is a known member of the ComputeTaskStreamEventType enum.
|
|
1400
|
+
func (e ComputeTaskStreamEventType) Valid() bool {
|
|
1401
|
+
switch e {
|
|
1402
|
+
case ComputeTaskStreamEventTypeError:
|
|
1403
|
+
return true
|
|
1404
|
+
case ComputeTaskStreamEventTypeHeartbeat:
|
|
1405
|
+
return true
|
|
1406
|
+
case ComputeTaskStreamEventTypeSnapshot:
|
|
1407
|
+
return true
|
|
1408
|
+
case ComputeTaskStreamEventTypeTerminal:
|
|
1409
|
+
return true
|
|
1410
|
+
case ComputeTaskStreamEventTypeUpdated:
|
|
1411
|
+
return true
|
|
1412
|
+
default:
|
|
1413
|
+
return false
|
|
1414
|
+
}
|
|
1415
|
+
}
|
|
1416
|
+
|
|
1417
|
+
// Defines values for ComputeTaskVerificationStatus.
|
|
1418
|
+
const (
|
|
1419
|
+
ComputeTaskVerificationStatusFailed ComputeTaskVerificationStatus = "failed"
|
|
1420
|
+
ComputeTaskVerificationStatusPending ComputeTaskVerificationStatus = "pending"
|
|
1421
|
+
ComputeTaskVerificationStatusUnknown ComputeTaskVerificationStatus = "unknown"
|
|
1422
|
+
ComputeTaskVerificationStatusUnsupported ComputeTaskVerificationStatus = "unsupported"
|
|
1423
|
+
ComputeTaskVerificationStatusVerified ComputeTaskVerificationStatus = "verified"
|
|
1424
|
+
)
|
|
1425
|
+
|
|
1426
|
+
// Valid indicates whether the value is a known member of the ComputeTaskVerificationStatus enum.
|
|
1427
|
+
func (e ComputeTaskVerificationStatus) Valid() bool {
|
|
1428
|
+
switch e {
|
|
1429
|
+
case ComputeTaskVerificationStatusFailed:
|
|
1430
|
+
return true
|
|
1431
|
+
case ComputeTaskVerificationStatusPending:
|
|
1432
|
+
return true
|
|
1433
|
+
case ComputeTaskVerificationStatusUnknown:
|
|
1434
|
+
return true
|
|
1435
|
+
case ComputeTaskVerificationStatusUnsupported:
|
|
1436
|
+
return true
|
|
1437
|
+
case ComputeTaskVerificationStatusVerified:
|
|
1438
|
+
return true
|
|
1439
|
+
default:
|
|
1440
|
+
return false
|
|
1441
|
+
}
|
|
1442
|
+
}
|
|
1443
|
+
|
|
1321
1444
|
// Defines values for DeliveryDraftSource.
|
|
1322
1445
|
const (
|
|
1323
1446
|
DeliveryDraftSourceAI DeliveryDraftSource = "ai"
|
|
@@ -1578,16 +1701,16 @@ func (e DockerContainerPortInputDomainScheme) Valid() bool {
|
|
|
1578
1701
|
|
|
1579
1702
|
// Defines values for DockerContainerPortInputProtocol.
|
|
1580
1703
|
const (
|
|
1581
|
-
|
|
1582
|
-
|
|
1704
|
+
DockerContainerPortInputProtocolTCP DockerContainerPortInputProtocol = "tcp"
|
|
1705
|
+
DockerContainerPortInputProtocolUDP DockerContainerPortInputProtocol = "udp"
|
|
1583
1706
|
)
|
|
1584
1707
|
|
|
1585
1708
|
// Valid indicates whether the value is a known member of the DockerContainerPortInputProtocol enum.
|
|
1586
1709
|
func (e DockerContainerPortInputProtocol) Valid() bool {
|
|
1587
1710
|
switch e {
|
|
1588
|
-
case
|
|
1711
|
+
case DockerContainerPortInputProtocolTCP:
|
|
1589
1712
|
return true
|
|
1590
|
-
case
|
|
1713
|
+
case DockerContainerPortInputProtocolUDP:
|
|
1591
1714
|
return true
|
|
1592
1715
|
default:
|
|
1593
1716
|
return false
|
|
@@ -2344,6 +2467,27 @@ func (e KnowledgeSyncRunStatus) Valid() bool {
|
|
|
2344
2467
|
}
|
|
2345
2468
|
}
|
|
2346
2469
|
|
|
2470
|
+
// Defines values for KubernetesAccessReviewSubjectKind.
|
|
2471
|
+
const (
|
|
2472
|
+
KubernetesAccessReviewSubjectKindGroup KubernetesAccessReviewSubjectKind = "Group"
|
|
2473
|
+
KubernetesAccessReviewSubjectKindServiceAccount KubernetesAccessReviewSubjectKind = "ServiceAccount"
|
|
2474
|
+
KubernetesAccessReviewSubjectKindUser KubernetesAccessReviewSubjectKind = "User"
|
|
2475
|
+
)
|
|
2476
|
+
|
|
2477
|
+
// Valid indicates whether the value is a known member of the KubernetesAccessReviewSubjectKind enum.
|
|
2478
|
+
func (e KubernetesAccessReviewSubjectKind) Valid() bool {
|
|
2479
|
+
switch e {
|
|
2480
|
+
case KubernetesAccessReviewSubjectKindGroup:
|
|
2481
|
+
return true
|
|
2482
|
+
case KubernetesAccessReviewSubjectKindServiceAccount:
|
|
2483
|
+
return true
|
|
2484
|
+
case KubernetesAccessReviewSubjectKindUser:
|
|
2485
|
+
return true
|
|
2486
|
+
default:
|
|
2487
|
+
return false
|
|
2488
|
+
}
|
|
2489
|
+
}
|
|
2490
|
+
|
|
2347
2491
|
// Defines values for KubernetesConnectionMode.
|
|
2348
2492
|
const (
|
|
2349
2493
|
KubernetesConnectionModeAgent KubernetesConnectionMode = "agent"
|
|
@@ -2476,6 +2620,33 @@ func (e KubernetesResourceAction) Valid() bool {
|
|
|
2476
2620
|
}
|
|
2477
2621
|
}
|
|
2478
2622
|
|
|
2623
|
+
// Defines values for KubernetesResourceCacheStatus.
|
|
2624
|
+
const (
|
|
2625
|
+
KubernetesResourceCacheStatusDegraded KubernetesResourceCacheStatus = "degraded"
|
|
2626
|
+
KubernetesResourceCacheStatusLive KubernetesResourceCacheStatus = "live"
|
|
2627
|
+
KubernetesResourceCacheStatusStale KubernetesResourceCacheStatus = "stale"
|
|
2628
|
+
KubernetesResourceCacheStatusUnsupported KubernetesResourceCacheStatus = "unsupported"
|
|
2629
|
+
KubernetesResourceCacheStatusWarming KubernetesResourceCacheStatus = "warming"
|
|
2630
|
+
)
|
|
2631
|
+
|
|
2632
|
+
// Valid indicates whether the value is a known member of the KubernetesResourceCacheStatus enum.
|
|
2633
|
+
func (e KubernetesResourceCacheStatus) Valid() bool {
|
|
2634
|
+
switch e {
|
|
2635
|
+
case KubernetesResourceCacheStatusDegraded:
|
|
2636
|
+
return true
|
|
2637
|
+
case KubernetesResourceCacheStatusLive:
|
|
2638
|
+
return true
|
|
2639
|
+
case KubernetesResourceCacheStatusStale:
|
|
2640
|
+
return true
|
|
2641
|
+
case KubernetesResourceCacheStatusUnsupported:
|
|
2642
|
+
return true
|
|
2643
|
+
case KubernetesResourceCacheStatusWarming:
|
|
2644
|
+
return true
|
|
2645
|
+
default:
|
|
2646
|
+
return false
|
|
2647
|
+
}
|
|
2648
|
+
}
|
|
2649
|
+
|
|
2479
2650
|
// Defines values for KubernetesResourceCapabilityMode.
|
|
2480
2651
|
const (
|
|
2481
2652
|
KubernetesResourceCapabilityModeAgent KubernetesResourceCapabilityMode = "agent"
|
|
@@ -2656,6 +2827,120 @@ func (e KubernetesResourceScopeMode) Valid() bool {
|
|
|
2656
2827
|
}
|
|
2657
2828
|
}
|
|
2658
2829
|
|
|
2830
|
+
// Defines values for KubernetesResourceStreamEventType.
|
|
2831
|
+
const (
|
|
2832
|
+
KubernetesResourceStreamEventTypeAdded KubernetesResourceStreamEventType = "added"
|
|
2833
|
+
KubernetesResourceStreamEventTypeDeleted KubernetesResourceStreamEventType = "deleted"
|
|
2834
|
+
KubernetesResourceStreamEventTypeError KubernetesResourceStreamEventType = "error"
|
|
2835
|
+
KubernetesResourceStreamEventTypeModified KubernetesResourceStreamEventType = "modified"
|
|
2836
|
+
KubernetesResourceStreamEventTypeReset KubernetesResourceStreamEventType = "reset"
|
|
2837
|
+
KubernetesResourceStreamEventTypeStatus KubernetesResourceStreamEventType = "status"
|
|
2838
|
+
)
|
|
2839
|
+
|
|
2840
|
+
// Valid indicates whether the value is a known member of the KubernetesResourceStreamEventType enum.
|
|
2841
|
+
func (e KubernetesResourceStreamEventType) Valid() bool {
|
|
2842
|
+
switch e {
|
|
2843
|
+
case KubernetesResourceStreamEventTypeAdded:
|
|
2844
|
+
return true
|
|
2845
|
+
case KubernetesResourceStreamEventTypeDeleted:
|
|
2846
|
+
return true
|
|
2847
|
+
case KubernetesResourceStreamEventTypeError:
|
|
2848
|
+
return true
|
|
2849
|
+
case KubernetesResourceStreamEventTypeModified:
|
|
2850
|
+
return true
|
|
2851
|
+
case KubernetesResourceStreamEventTypeReset:
|
|
2852
|
+
return true
|
|
2853
|
+
case KubernetesResourceStreamEventTypeStatus:
|
|
2854
|
+
return true
|
|
2855
|
+
default:
|
|
2856
|
+
return false
|
|
2857
|
+
}
|
|
2858
|
+
}
|
|
2859
|
+
|
|
2860
|
+
// Defines values for KubernetesSecurityFindingCategory.
|
|
2861
|
+
const (
|
|
2862
|
+
Configuration KubernetesSecurityFindingCategory = "configuration"
|
|
2863
|
+
Vulnerability KubernetesSecurityFindingCategory = "vulnerability"
|
|
2864
|
+
)
|
|
2865
|
+
|
|
2866
|
+
// Valid indicates whether the value is a known member of the KubernetesSecurityFindingCategory enum.
|
|
2867
|
+
func (e KubernetesSecurityFindingCategory) Valid() bool {
|
|
2868
|
+
switch e {
|
|
2869
|
+
case Configuration:
|
|
2870
|
+
return true
|
|
2871
|
+
case Vulnerability:
|
|
2872
|
+
return true
|
|
2873
|
+
default:
|
|
2874
|
+
return false
|
|
2875
|
+
}
|
|
2876
|
+
}
|
|
2877
|
+
|
|
2878
|
+
// Defines values for KubernetesSecurityPostureProvider.
|
|
2879
|
+
const (
|
|
2880
|
+
Kubescape KubernetesSecurityPostureProvider = "kubescape"
|
|
2881
|
+
)
|
|
2882
|
+
|
|
2883
|
+
// Valid indicates whether the value is a known member of the KubernetesSecurityPostureProvider enum.
|
|
2884
|
+
func (e KubernetesSecurityPostureProvider) Valid() bool {
|
|
2885
|
+
switch e {
|
|
2886
|
+
case Kubescape:
|
|
2887
|
+
return true
|
|
2888
|
+
default:
|
|
2889
|
+
return false
|
|
2890
|
+
}
|
|
2891
|
+
}
|
|
2892
|
+
|
|
2893
|
+
// Defines values for KubernetesSecurityPostureStatus.
|
|
2894
|
+
const (
|
|
2895
|
+
KubernetesSecurityPostureStatusAvailable KubernetesSecurityPostureStatus = "available"
|
|
2896
|
+
KubernetesSecurityPostureStatusDegraded KubernetesSecurityPostureStatus = "degraded"
|
|
2897
|
+
KubernetesSecurityPostureStatusPartial KubernetesSecurityPostureStatus = "partial"
|
|
2898
|
+
KubernetesSecurityPostureStatusUnsupported KubernetesSecurityPostureStatus = "unsupported"
|
|
2899
|
+
)
|
|
2900
|
+
|
|
2901
|
+
// Valid indicates whether the value is a known member of the KubernetesSecurityPostureStatus enum.
|
|
2902
|
+
func (e KubernetesSecurityPostureStatus) Valid() bool {
|
|
2903
|
+
switch e {
|
|
2904
|
+
case KubernetesSecurityPostureStatusAvailable:
|
|
2905
|
+
return true
|
|
2906
|
+
case KubernetesSecurityPostureStatusDegraded:
|
|
2907
|
+
return true
|
|
2908
|
+
case KubernetesSecurityPostureStatusPartial:
|
|
2909
|
+
return true
|
|
2910
|
+
case KubernetesSecurityPostureStatusUnsupported:
|
|
2911
|
+
return true
|
|
2912
|
+
default:
|
|
2913
|
+
return false
|
|
2914
|
+
}
|
|
2915
|
+
}
|
|
2916
|
+
|
|
2917
|
+
// Defines values for KubernetesSecuritySeverity.
|
|
2918
|
+
const (
|
|
2919
|
+
KubernetesSecuritySeverityCritical KubernetesSecuritySeverity = "critical"
|
|
2920
|
+
KubernetesSecuritySeverityHigh KubernetesSecuritySeverity = "high"
|
|
2921
|
+
KubernetesSecuritySeverityLow KubernetesSecuritySeverity = "low"
|
|
2922
|
+
KubernetesSecuritySeverityMedium KubernetesSecuritySeverity = "medium"
|
|
2923
|
+
KubernetesSecuritySeverityUnknown KubernetesSecuritySeverity = "unknown"
|
|
2924
|
+
)
|
|
2925
|
+
|
|
2926
|
+
// Valid indicates whether the value is a known member of the KubernetesSecuritySeverity enum.
|
|
2927
|
+
func (e KubernetesSecuritySeverity) Valid() bool {
|
|
2928
|
+
switch e {
|
|
2929
|
+
case KubernetesSecuritySeverityCritical:
|
|
2930
|
+
return true
|
|
2931
|
+
case KubernetesSecuritySeverityHigh:
|
|
2932
|
+
return true
|
|
2933
|
+
case KubernetesSecuritySeverityLow:
|
|
2934
|
+
return true
|
|
2935
|
+
case KubernetesSecuritySeverityMedium:
|
|
2936
|
+
return true
|
|
2937
|
+
case KubernetesSecuritySeverityUnknown:
|
|
2938
|
+
return true
|
|
2939
|
+
default:
|
|
2940
|
+
return false
|
|
2941
|
+
}
|
|
2942
|
+
}
|
|
2943
|
+
|
|
2659
2944
|
// Defines values for KubernetesServiceImportRequestOwnershipMode.
|
|
2660
2945
|
const (
|
|
2661
2946
|
KubernetesServiceImportRequestOwnershipModeManaged KubernetesServiceImportRequestOwnershipMode = "managed"
|
|
@@ -2692,6 +2977,27 @@ func (e KubernetesServiceImportResultOwnershipMode) Valid() bool {
|
|
|
2692
2977
|
}
|
|
2693
2978
|
}
|
|
2694
2979
|
|
|
2980
|
+
// Defines values for KubernetesServicePortProtocol.
|
|
2981
|
+
const (
|
|
2982
|
+
KubernetesServicePortProtocolSCTP KubernetesServicePortProtocol = "SCTP"
|
|
2983
|
+
KubernetesServicePortProtocolTCP KubernetesServicePortProtocol = "TCP"
|
|
2984
|
+
KubernetesServicePortProtocolUDP KubernetesServicePortProtocol = "UDP"
|
|
2985
|
+
)
|
|
2986
|
+
|
|
2987
|
+
// Valid indicates whether the value is a known member of the KubernetesServicePortProtocol enum.
|
|
2988
|
+
func (e KubernetesServicePortProtocol) Valid() bool {
|
|
2989
|
+
switch e {
|
|
2990
|
+
case KubernetesServicePortProtocolSCTP:
|
|
2991
|
+
return true
|
|
2992
|
+
case KubernetesServicePortProtocolTCP:
|
|
2993
|
+
return true
|
|
2994
|
+
case KubernetesServicePortProtocolUDP:
|
|
2995
|
+
return true
|
|
2996
|
+
default:
|
|
2997
|
+
return false
|
|
2998
|
+
}
|
|
2999
|
+
}
|
|
3000
|
+
|
|
2695
3001
|
// Defines values for KubernetesWorkloadImportInputWorkloadKind.
|
|
2696
3002
|
const (
|
|
2697
3003
|
KubernetesWorkloadImportInputWorkloadKindDaemonSet KubernetesWorkloadImportInputWorkloadKind = "DaemonSet"
|
|
@@ -2713,6 +3019,42 @@ func (e KubernetesWorkloadImportInputWorkloadKind) Valid() bool {
|
|
|
2713
3019
|
}
|
|
2714
3020
|
}
|
|
2715
3021
|
|
|
3022
|
+
// Defines values for KubernetesWorkloadSnapshotInheritance.
|
|
3023
|
+
const (
|
|
3024
|
+
KubernetesWorkloadSnapshotInheritanceEnvironment KubernetesWorkloadSnapshotInheritance = "environment"
|
|
3025
|
+
KubernetesWorkloadSnapshotInheritanceInitContainers KubernetesWorkloadSnapshotInheritance = "initContainers"
|
|
3026
|
+
KubernetesWorkloadSnapshotInheritanceResources KubernetesWorkloadSnapshotInheritance = "resources"
|
|
3027
|
+
KubernetesWorkloadSnapshotInheritanceScheduling KubernetesWorkloadSnapshotInheritance = "scheduling"
|
|
3028
|
+
KubernetesWorkloadSnapshotInheritanceSecurityContext KubernetesWorkloadSnapshotInheritance = "securityContext"
|
|
3029
|
+
KubernetesWorkloadSnapshotInheritanceServiceRuntime KubernetesWorkloadSnapshotInheritance = "serviceRuntime"
|
|
3030
|
+
KubernetesWorkloadSnapshotInheritanceStorage KubernetesWorkloadSnapshotInheritance = "storage"
|
|
3031
|
+
KubernetesWorkloadSnapshotInheritanceTemplateMetadata KubernetesWorkloadSnapshotInheritance = "templateMetadata"
|
|
3032
|
+
)
|
|
3033
|
+
|
|
3034
|
+
// Valid indicates whether the value is a known member of the KubernetesWorkloadSnapshotInheritance enum.
|
|
3035
|
+
func (e KubernetesWorkloadSnapshotInheritance) Valid() bool {
|
|
3036
|
+
switch e {
|
|
3037
|
+
case KubernetesWorkloadSnapshotInheritanceEnvironment:
|
|
3038
|
+
return true
|
|
3039
|
+
case KubernetesWorkloadSnapshotInheritanceInitContainers:
|
|
3040
|
+
return true
|
|
3041
|
+
case KubernetesWorkloadSnapshotInheritanceResources:
|
|
3042
|
+
return true
|
|
3043
|
+
case KubernetesWorkloadSnapshotInheritanceScheduling:
|
|
3044
|
+
return true
|
|
3045
|
+
case KubernetesWorkloadSnapshotInheritanceSecurityContext:
|
|
3046
|
+
return true
|
|
3047
|
+
case KubernetesWorkloadSnapshotInheritanceServiceRuntime:
|
|
3048
|
+
return true
|
|
3049
|
+
case KubernetesWorkloadSnapshotInheritanceStorage:
|
|
3050
|
+
return true
|
|
3051
|
+
case KubernetesWorkloadSnapshotInheritanceTemplateMetadata:
|
|
3052
|
+
return true
|
|
3053
|
+
default:
|
|
3054
|
+
return false
|
|
3055
|
+
}
|
|
3056
|
+
}
|
|
3057
|
+
|
|
2716
3058
|
// Defines values for KubernetesWorkloadSnapshotRestartPolicy.
|
|
2717
3059
|
const (
|
|
2718
3060
|
KubernetesWorkloadSnapshotRestartPolicyNever KubernetesWorkloadSnapshotRestartPolicy = "Never"
|
|
@@ -3927,22 +4269,22 @@ func (e ManifestValidationStage) Valid() bool {
|
|
|
3927
4269
|
|
|
3928
4270
|
// Defines values for MarketplaceAdvisorySeverity.
|
|
3929
4271
|
const (
|
|
3930
|
-
|
|
3931
|
-
|
|
3932
|
-
|
|
3933
|
-
|
|
4272
|
+
MarketplaceAdvisorySeverityCritical MarketplaceAdvisorySeverity = "critical"
|
|
4273
|
+
MarketplaceAdvisorySeverityHigh MarketplaceAdvisorySeverity = "high"
|
|
4274
|
+
MarketplaceAdvisorySeverityLow MarketplaceAdvisorySeverity = "low"
|
|
4275
|
+
MarketplaceAdvisorySeverityMedium MarketplaceAdvisorySeverity = "medium"
|
|
3934
4276
|
)
|
|
3935
4277
|
|
|
3936
4278
|
// Valid indicates whether the value is a known member of the MarketplaceAdvisorySeverity enum.
|
|
3937
4279
|
func (e MarketplaceAdvisorySeverity) Valid() bool {
|
|
3938
4280
|
switch e {
|
|
3939
|
-
case
|
|
4281
|
+
case MarketplaceAdvisorySeverityCritical:
|
|
3940
4282
|
return true
|
|
3941
|
-
case
|
|
4283
|
+
case MarketplaceAdvisorySeverityHigh:
|
|
3942
4284
|
return true
|
|
3943
|
-
case
|
|
4285
|
+
case MarketplaceAdvisorySeverityLow:
|
|
3944
4286
|
return true
|
|
3945
|
-
case
|
|
4287
|
+
case MarketplaceAdvisorySeverityMedium:
|
|
3946
4288
|
return true
|
|
3947
4289
|
default:
|
|
3948
4290
|
return false
|
|
@@ -5704,6 +6046,33 @@ func (e WorkbenchCardCommandEventType) Valid() bool {
|
|
|
5704
6046
|
}
|
|
5705
6047
|
}
|
|
5706
6048
|
|
|
6049
|
+
// Defines values for WorkbenchCreateSessionRequestMode.
|
|
6050
|
+
const (
|
|
6051
|
+
WorkbenchCreateSessionRequestModeGeneral WorkbenchCreateSessionRequestMode = "general"
|
|
6052
|
+
WorkbenchCreateSessionRequestModeInspectionReview WorkbenchCreateSessionRequestMode = "inspection_review"
|
|
6053
|
+
WorkbenchCreateSessionRequestModePerformance WorkbenchCreateSessionRequestMode = "performance"
|
|
6054
|
+
WorkbenchCreateSessionRequestModeRootCause WorkbenchCreateSessionRequestMode = "root_cause"
|
|
6055
|
+
WorkbenchCreateSessionRequestModeTrace WorkbenchCreateSessionRequestMode = "trace"
|
|
6056
|
+
)
|
|
6057
|
+
|
|
6058
|
+
// Valid indicates whether the value is a known member of the WorkbenchCreateSessionRequestMode enum.
|
|
6059
|
+
func (e WorkbenchCreateSessionRequestMode) Valid() bool {
|
|
6060
|
+
switch e {
|
|
6061
|
+
case WorkbenchCreateSessionRequestModeGeneral:
|
|
6062
|
+
return true
|
|
6063
|
+
case WorkbenchCreateSessionRequestModeInspectionReview:
|
|
6064
|
+
return true
|
|
6065
|
+
case WorkbenchCreateSessionRequestModePerformance:
|
|
6066
|
+
return true
|
|
6067
|
+
case WorkbenchCreateSessionRequestModeRootCause:
|
|
6068
|
+
return true
|
|
6069
|
+
case WorkbenchCreateSessionRequestModeTrace:
|
|
6070
|
+
return true
|
|
6071
|
+
default:
|
|
6072
|
+
return false
|
|
6073
|
+
}
|
|
6074
|
+
}
|
|
6075
|
+
|
|
5707
6076
|
// Defines values for WorkbenchErrorEventType.
|
|
5708
6077
|
const (
|
|
5709
6078
|
WorkbenchErrorEventTypeError WorkbenchErrorEventType = "error"
|
|
@@ -5779,6 +6148,27 @@ func (e WorkbenchLaunchContextSourceWorkbench) Valid() bool {
|
|
|
5779
6148
|
}
|
|
5780
6149
|
}
|
|
5781
6150
|
|
|
6151
|
+
// Defines values for WorkbenchMessageRole.
|
|
6152
|
+
const (
|
|
6153
|
+
WorkbenchMessageRoleAssistant WorkbenchMessageRole = "assistant"
|
|
6154
|
+
WorkbenchMessageRoleSystem WorkbenchMessageRole = "system"
|
|
6155
|
+
WorkbenchMessageRoleUser WorkbenchMessageRole = "user"
|
|
6156
|
+
)
|
|
6157
|
+
|
|
6158
|
+
// Valid indicates whether the value is a known member of the WorkbenchMessageRole enum.
|
|
6159
|
+
func (e WorkbenchMessageRole) Valid() bool {
|
|
6160
|
+
switch e {
|
|
6161
|
+
case WorkbenchMessageRoleAssistant:
|
|
6162
|
+
return true
|
|
6163
|
+
case WorkbenchMessageRoleSystem:
|
|
6164
|
+
return true
|
|
6165
|
+
case WorkbenchMessageRoleUser:
|
|
6166
|
+
return true
|
|
6167
|
+
default:
|
|
6168
|
+
return false
|
|
6169
|
+
}
|
|
6170
|
+
}
|
|
6171
|
+
|
|
5782
6172
|
// Defines values for WorkbenchMessageDeltaEventRole.
|
|
5783
6173
|
const (
|
|
5784
6174
|
WorkbenchMessageDeltaEventRoleAssistant WorkbenchMessageDeltaEventRole = "assistant"
|
|
@@ -5869,6 +6259,33 @@ func (e WorkbenchSelectionContextKind) Valid() bool {
|
|
|
5869
6259
|
}
|
|
5870
6260
|
}
|
|
5871
6261
|
|
|
6262
|
+
// Defines values for WorkbenchSessionMetadataMode.
|
|
6263
|
+
const (
|
|
6264
|
+
WorkbenchSessionMetadataModeGeneral WorkbenchSessionMetadataMode = "general"
|
|
6265
|
+
WorkbenchSessionMetadataModeInspectionReview WorkbenchSessionMetadataMode = "inspection_review"
|
|
6266
|
+
WorkbenchSessionMetadataModePerformance WorkbenchSessionMetadataMode = "performance"
|
|
6267
|
+
WorkbenchSessionMetadataModeRootCause WorkbenchSessionMetadataMode = "root_cause"
|
|
6268
|
+
WorkbenchSessionMetadataModeTrace WorkbenchSessionMetadataMode = "trace"
|
|
6269
|
+
)
|
|
6270
|
+
|
|
6271
|
+
// Valid indicates whether the value is a known member of the WorkbenchSessionMetadataMode enum.
|
|
6272
|
+
func (e WorkbenchSessionMetadataMode) Valid() bool {
|
|
6273
|
+
switch e {
|
|
6274
|
+
case WorkbenchSessionMetadataModeGeneral:
|
|
6275
|
+
return true
|
|
6276
|
+
case WorkbenchSessionMetadataModeInspectionReview:
|
|
6277
|
+
return true
|
|
6278
|
+
case WorkbenchSessionMetadataModePerformance:
|
|
6279
|
+
return true
|
|
6280
|
+
case WorkbenchSessionMetadataModeRootCause:
|
|
6281
|
+
return true
|
|
6282
|
+
case WorkbenchSessionMetadataModeTrace:
|
|
6283
|
+
return true
|
|
6284
|
+
default:
|
|
6285
|
+
return false
|
|
6286
|
+
}
|
|
6287
|
+
}
|
|
6288
|
+
|
|
5872
6289
|
// Defines values for WorkbenchSourceKind.
|
|
5873
6290
|
const (
|
|
5874
6291
|
WorkbenchSourceKindAudit WorkbenchSourceKind = "audit"
|
|
@@ -6019,6 +6436,33 @@ func (e WorkbenchToolStartedEventType) Valid() bool {
|
|
|
6019
6436
|
}
|
|
6020
6437
|
}
|
|
6021
6438
|
|
|
6439
|
+
// Defines values for WorkbenchUpdateSessionRequestMode.
|
|
6440
|
+
const (
|
|
6441
|
+
General WorkbenchUpdateSessionRequestMode = "general"
|
|
6442
|
+
InspectionReview WorkbenchUpdateSessionRequestMode = "inspection_review"
|
|
6443
|
+
Performance WorkbenchUpdateSessionRequestMode = "performance"
|
|
6444
|
+
RootCause WorkbenchUpdateSessionRequestMode = "root_cause"
|
|
6445
|
+
Trace WorkbenchUpdateSessionRequestMode = "trace"
|
|
6446
|
+
)
|
|
6447
|
+
|
|
6448
|
+
// Valid indicates whether the value is a known member of the WorkbenchUpdateSessionRequestMode enum.
|
|
6449
|
+
func (e WorkbenchUpdateSessionRequestMode) Valid() bool {
|
|
6450
|
+
switch e {
|
|
6451
|
+
case General:
|
|
6452
|
+
return true
|
|
6453
|
+
case InspectionReview:
|
|
6454
|
+
return true
|
|
6455
|
+
case Performance:
|
|
6456
|
+
return true
|
|
6457
|
+
case RootCause:
|
|
6458
|
+
return true
|
|
6459
|
+
case Trace:
|
|
6460
|
+
return true
|
|
6461
|
+
default:
|
|
6462
|
+
return false
|
|
6463
|
+
}
|
|
6464
|
+
}
|
|
6465
|
+
|
|
6022
6466
|
// Defines values for AgentProviderRolloutAction.
|
|
6023
6467
|
const (
|
|
6024
6468
|
AgentProviderRolloutActionPause AgentProviderRolloutAction = "pause"
|
|
@@ -7090,6 +7534,24 @@ func (e TransitionAgentProviderRolloutParamsRolloutAction) Valid() bool {
|
|
|
7090
7534
|
}
|
|
7091
7535
|
}
|
|
7092
7536
|
|
|
7537
|
+
// Defines values for ListComputeTasksParamsSortOrder.
|
|
7538
|
+
const (
|
|
7539
|
+
Asc ListComputeTasksParamsSortOrder = "asc"
|
|
7540
|
+
Desc ListComputeTasksParamsSortOrder = "desc"
|
|
7541
|
+
)
|
|
7542
|
+
|
|
7543
|
+
// Valid indicates whether the value is a known member of the ListComputeTasksParamsSortOrder enum.
|
|
7544
|
+
func (e ListComputeTasksParamsSortOrder) Valid() bool {
|
|
7545
|
+
switch e {
|
|
7546
|
+
case Asc:
|
|
7547
|
+
return true
|
|
7548
|
+
case Desc:
|
|
7549
|
+
return true
|
|
7550
|
+
default:
|
|
7551
|
+
return false
|
|
7552
|
+
}
|
|
7553
|
+
}
|
|
7554
|
+
|
|
7093
7555
|
// AIContextBudgetUsage defines model for AIContextBudgetUsage.
|
|
7094
7556
|
type AIContextBudgetUsage struct {
|
|
7095
7557
|
EvidenceItems int `json:"evidenceItems"`
|
|
@@ -7458,6 +7920,16 @@ type AISkillSettings struct {
|
|
|
7458
7920
|
Scopes []string `json:"scopes,omitempty"`
|
|
7459
7921
|
}
|
|
7460
7922
|
|
|
7923
|
+
// AISkillsSettings defines model for AISkillsSettings.
|
|
7924
|
+
type AISkillsSettings struct {
|
|
7925
|
+
SkillsRegistry []AISkillSettings `json:"skillsRegistry"`
|
|
7926
|
+
}
|
|
7927
|
+
|
|
7928
|
+
// AISkillsSettingsEnvelope defines model for AISkillsSettingsEnvelope.
|
|
7929
|
+
type AISkillsSettingsEnvelope struct {
|
|
7930
|
+
Data AISkillsSettings `json:"data"`
|
|
7931
|
+
}
|
|
7932
|
+
|
|
7461
7933
|
// AIWorkbenchModelSettings defines model for AIWorkbenchModelSettings.
|
|
7462
7934
|
type AIWorkbenchModelSettings struct {
|
|
7463
7935
|
// DefaultEndpoint Workbench relay endpoint. Supported values are chat/completions, responses, and messages.
|
|
@@ -9052,6 +9524,17 @@ type ComputeFeatureCapability struct {
|
|
|
9052
9524
|
// ComputeFeatureID defines model for ComputeFeatureID.
|
|
9053
9525
|
type ComputeFeatureID string
|
|
9054
9526
|
|
|
9527
|
+
// ComputeFreshness defines model for ComputeFreshness.
|
|
9528
|
+
type ComputeFreshness struct {
|
|
9529
|
+
MaxAgeSeconds int `json:"maxAgeSeconds,omitempty"`
|
|
9530
|
+
ObservedAt *time.Time `json:"observedAt,omitempty"`
|
|
9531
|
+
Reason string `json:"reason,omitempty"`
|
|
9532
|
+
Status ComputeFreshnessStatus `json:"status"`
|
|
9533
|
+
}
|
|
9534
|
+
|
|
9535
|
+
// ComputeFreshnessStatus defines model for ComputeFreshnessStatus.
|
|
9536
|
+
type ComputeFreshnessStatus string
|
|
9537
|
+
|
|
9055
9538
|
// ComputeHealthStatus defines model for ComputeHealthStatus.
|
|
9056
9539
|
type ComputeHealthStatus string
|
|
9057
9540
|
|
|
@@ -9065,6 +9548,8 @@ type ComputeMetadataEntry struct {
|
|
|
9065
9548
|
type ComputeOverview struct {
|
|
9066
9549
|
Agents *ComputeAgentOverviewSection `json:"agents,omitempty"`
|
|
9067
9550
|
Attention []ComputeAttention `json:"attention"`
|
|
9551
|
+
Freshness *ComputeFreshness `json:"freshness,omitempty"`
|
|
9552
|
+
GeneratedAt *time.Time `json:"generatedAt,omitempty"`
|
|
9068
9553
|
Partial bool `json:"partial"`
|
|
9069
9554
|
ProviderHealth []ComputeProviderHealth `json:"providerHealth"`
|
|
9070
9555
|
RuntimeWorkloads *ComputeRuntimeWorkloadOverviewSection `json:"runtimeWorkloads,omitempty"`
|
|
@@ -9309,6 +9794,24 @@ type ComputeTaskEnvelope struct {
|
|
|
9309
9794
|
Data ComputeTaskView `json:"data"`
|
|
9310
9795
|
}
|
|
9311
9796
|
|
|
9797
|
+
// ComputeTaskFailure defines model for ComputeTaskFailure.
|
|
9798
|
+
type ComputeTaskFailure struct {
|
|
9799
|
+
Code string `json:"code"`
|
|
9800
|
+
Message string `json:"message,omitempty"`
|
|
9801
|
+
ObservedAt *time.Time `json:"observedAt,omitempty"`
|
|
9802
|
+
Retryable bool `json:"retryable,omitempty"`
|
|
9803
|
+
}
|
|
9804
|
+
|
|
9805
|
+
// ComputeTaskHeartbeat defines model for ComputeTaskHeartbeat.
|
|
9806
|
+
type ComputeTaskHeartbeat struct {
|
|
9807
|
+
ObservedAt *time.Time `json:"observedAt,omitempty"`
|
|
9808
|
+
Status ComputeTaskHeartbeatStatus `json:"status"`
|
|
9809
|
+
TimeoutSeconds int `json:"timeoutSeconds,omitempty"`
|
|
9810
|
+
}
|
|
9811
|
+
|
|
9812
|
+
// ComputeTaskHeartbeatStatus defines model for ComputeTaskHeartbeatStatus.
|
|
9813
|
+
type ComputeTaskHeartbeatStatus string
|
|
9814
|
+
|
|
9312
9815
|
// ComputeTaskListEnvelope defines model for ComputeTaskListEnvelope.
|
|
9313
9816
|
type ComputeTaskListEnvelope struct {
|
|
9314
9817
|
Items []ComputeTaskView `json:"items"`
|
|
@@ -9344,9 +9847,32 @@ type ComputeTaskOverviewSection struct {
|
|
|
9344
9847
|
Warnings []ComputeWarning `json:"warnings,omitempty"`
|
|
9345
9848
|
}
|
|
9346
9849
|
|
|
9850
|
+
// ComputeTaskResult defines model for ComputeTaskResult.
|
|
9851
|
+
type ComputeTaskResult struct {
|
|
9852
|
+
Metadata []ComputeMetadataEntry `json:"metadata,omitempty"`
|
|
9853
|
+
Resources []ComputeResourceRef `json:"resources,omitempty"`
|
|
9854
|
+
Status ComputeTaskResultStatus `json:"status"`
|
|
9855
|
+
Summary string `json:"summary,omitempty"`
|
|
9856
|
+
}
|
|
9857
|
+
|
|
9858
|
+
// ComputeTaskResultStatus defines model for ComputeTaskResultStatus.
|
|
9859
|
+
type ComputeTaskResultStatus string
|
|
9860
|
+
|
|
9347
9861
|
// ComputeTaskStatus defines model for ComputeTaskStatus.
|
|
9348
9862
|
type ComputeTaskStatus string
|
|
9349
9863
|
|
|
9864
|
+
// ComputeTaskStreamEvent defines model for ComputeTaskStreamEvent.
|
|
9865
|
+
type ComputeTaskStreamEvent struct {
|
|
9866
|
+
Message string `json:"message,omitempty"`
|
|
9867
|
+
ObservedAt time.Time `json:"observedAt"`
|
|
9868
|
+
Sequence int64 `json:"sequence,omitempty"`
|
|
9869
|
+
Task *ComputeTaskView `json:"task,omitempty"`
|
|
9870
|
+
Type ComputeTaskStreamEventType `json:"type"`
|
|
9871
|
+
}
|
|
9872
|
+
|
|
9873
|
+
// ComputeTaskStreamEventType defines model for ComputeTaskStreamEventType.
|
|
9874
|
+
type ComputeTaskStreamEventType string
|
|
9875
|
+
|
|
9350
9876
|
// ComputeTaskSummary defines model for ComputeTaskSummary.
|
|
9351
9877
|
type ComputeTaskSummary struct {
|
|
9352
9878
|
Failed int `json:"failed"`
|
|
@@ -9354,33 +9880,52 @@ type ComputeTaskSummary struct {
|
|
|
9354
9880
|
Running int `json:"running"`
|
|
9355
9881
|
}
|
|
9356
9882
|
|
|
9883
|
+
// ComputeTaskVerification defines model for ComputeTaskVerification.
|
|
9884
|
+
type ComputeTaskVerification struct {
|
|
9885
|
+
CheckedAt *time.Time `json:"checkedAt,omitempty"`
|
|
9886
|
+
Resources []ComputeResourceRef `json:"resources,omitempty"`
|
|
9887
|
+
Status ComputeTaskVerificationStatus `json:"status"`
|
|
9888
|
+
Summary string `json:"summary,omitempty"`
|
|
9889
|
+
Verifier string `json:"verifier,omitempty"`
|
|
9890
|
+
}
|
|
9891
|
+
|
|
9892
|
+
// ComputeTaskVerificationStatus defines model for ComputeTaskVerificationStatus.
|
|
9893
|
+
type ComputeTaskVerificationStatus string
|
|
9894
|
+
|
|
9357
9895
|
// ComputeTaskView defines model for ComputeTaskView.
|
|
9358
9896
|
type ComputeTaskView struct {
|
|
9359
|
-
|
|
9360
|
-
|
|
9361
|
-
|
|
9362
|
-
|
|
9363
|
-
|
|
9364
|
-
|
|
9365
|
-
|
|
9366
|
-
|
|
9367
|
-
|
|
9368
|
-
|
|
9369
|
-
|
|
9370
|
-
|
|
9371
|
-
|
|
9372
|
-
|
|
9373
|
-
|
|
9374
|
-
|
|
9375
|
-
|
|
9376
|
-
|
|
9377
|
-
|
|
9378
|
-
|
|
9379
|
-
|
|
9380
|
-
|
|
9381
|
-
|
|
9382
|
-
|
|
9383
|
-
|
|
9897
|
+
ApprovalRef string `json:"approvalRef,omitempty"`
|
|
9898
|
+
AttemptCount int `json:"attemptCount"`
|
|
9899
|
+
AuditRef string `json:"auditRef,omitempty"`
|
|
9900
|
+
AvailableActions []ComputeTaskAction `json:"availableActions"`
|
|
9901
|
+
Cancelable bool `json:"cancelable"`
|
|
9902
|
+
Category ComputeTaskCategory `json:"category"`
|
|
9903
|
+
CreatedAt time.Time `json:"createdAt"`
|
|
9904
|
+
Domain ComputeTaskDomain `json:"domain"`
|
|
9905
|
+
ErrorCode string `json:"errorCode,omitempty"`
|
|
9906
|
+
Failure *ComputeTaskFailure `json:"failure,omitempty"`
|
|
9907
|
+
FinishedAt *time.Time `json:"finishedAt,omitempty"`
|
|
9908
|
+
Heartbeat *ComputeTaskHeartbeat `json:"heartbeat,omitempty"`
|
|
9909
|
+
ID string `json:"id"`
|
|
9910
|
+
Kind string `json:"kind"`
|
|
9911
|
+
NormalizedStatus ComputeTaskStatus `json:"normalizedStatus"`
|
|
9912
|
+
PluginID string `json:"pluginId,omitempty"`
|
|
9913
|
+
PluginVersion string `json:"pluginVersion,omitempty"`
|
|
9914
|
+
Progress float32 `json:"progress,omitempty"`
|
|
9915
|
+
ProviderGeneration int64 `json:"providerGeneration,omitempty"`
|
|
9916
|
+
ProviderKey string `json:"providerKey,omitempty"`
|
|
9917
|
+
ProviderSource ComputeProviderSource `json:"providerSource,omitempty"`
|
|
9918
|
+
RawStatus string `json:"rawStatus"`
|
|
9919
|
+
RequestedBy string `json:"requestedBy,omitempty"`
|
|
9920
|
+
Resources []ComputeResourceRef `json:"resources"`
|
|
9921
|
+
Result *ComputeTaskResult `json:"result,omitempty"`
|
|
9922
|
+
Retryable bool `json:"retryable"`
|
|
9923
|
+
SourceID string `json:"sourceId"`
|
|
9924
|
+
SourceType string `json:"sourceType"`
|
|
9925
|
+
StartedAt *time.Time `json:"startedAt,omitempty"`
|
|
9926
|
+
Summary string `json:"summary,omitempty"`
|
|
9927
|
+
Verification *ComputeTaskVerification `json:"verification,omitempty"`
|
|
9928
|
+
Worker string `json:"worker,omitempty"`
|
|
9384
9929
|
}
|
|
9385
9930
|
|
|
9386
9931
|
// ComputeVirtualizationOverviewSection defines model for ComputeVirtualizationOverviewSection.
|
|
@@ -11476,6 +12021,34 @@ type KnowledgeSyncRunListEnvelope struct {
|
|
|
11476
12021
|
Items []KnowledgeSyncRun `json:"items"`
|
|
11477
12022
|
}
|
|
11478
12023
|
|
|
12024
|
+
// KubernetesAccessReviewCheck defines model for KubernetesAccessReviewCheck.
|
|
12025
|
+
type KubernetesAccessReviewCheck struct {
|
|
12026
|
+
Group string `json:"group,omitempty"`
|
|
12027
|
+
Name string `json:"name,omitempty"`
|
|
12028
|
+
Namespace string `json:"namespace,omitempty"`
|
|
12029
|
+
Resource string `json:"resource"`
|
|
12030
|
+
Verb string `json:"verb"`
|
|
12031
|
+
}
|
|
12032
|
+
|
|
12033
|
+
// KubernetesAccessReviewDecision defines model for KubernetesAccessReviewDecision.
|
|
12034
|
+
type KubernetesAccessReviewDecision struct {
|
|
12035
|
+
Allowed bool `json:"allowed"`
|
|
12036
|
+
Check KubernetesAccessReviewCheck `json:"check"`
|
|
12037
|
+
Denied bool `json:"denied"`
|
|
12038
|
+
EvaluationError string `json:"evaluationError,omitempty"`
|
|
12039
|
+
Reason string `json:"reason,omitempty"`
|
|
12040
|
+
}
|
|
12041
|
+
|
|
12042
|
+
// KubernetesAccessReviewSubject defines model for KubernetesAccessReviewSubject.
|
|
12043
|
+
type KubernetesAccessReviewSubject struct {
|
|
12044
|
+
Kind KubernetesAccessReviewSubjectKind `json:"kind"`
|
|
12045
|
+
Name string `json:"name"`
|
|
12046
|
+
Namespace string `json:"namespace,omitempty"`
|
|
12047
|
+
}
|
|
12048
|
+
|
|
12049
|
+
// KubernetesAccessReviewSubjectKind defines model for KubernetesAccessReviewSubjectKind.
|
|
12050
|
+
type KubernetesAccessReviewSubjectKind string
|
|
12051
|
+
|
|
11479
12052
|
// KubernetesAdmissionWebhook defines model for KubernetesAdmissionWebhook.
|
|
11480
12053
|
type KubernetesAdmissionWebhook struct {
|
|
11481
12054
|
AdmissionReviewVersions []string `json:"admissionReviewVersions,omitempty"`
|
|
@@ -12003,6 +12576,13 @@ type KubernetesEndpointSliceListEnvelope struct {
|
|
|
12003
12576
|
Items []KubernetesEndpointSlice `json:"items"`
|
|
12004
12577
|
}
|
|
12005
12578
|
|
|
12579
|
+
// KubernetesFieldConflict defines model for KubernetesFieldConflict.
|
|
12580
|
+
type KubernetesFieldConflict struct {
|
|
12581
|
+
Field string `json:"field"`
|
|
12582
|
+
Manager string `json:"manager,omitempty"`
|
|
12583
|
+
Message string `json:"message"`
|
|
12584
|
+
}
|
|
12585
|
+
|
|
12006
12586
|
// KubernetesGRPCRoute defines model for KubernetesGRPCRoute.
|
|
12007
12587
|
type KubernetesGRPCRoute struct {
|
|
12008
12588
|
AgeSeconds int64 `json:"ageSeconds"`
|
|
@@ -12420,6 +13000,27 @@ type KubernetesHelmReleaseListEnvelope struct {
|
|
|
12420
13000
|
Items []KubernetesHelmRelease `json:"items"`
|
|
12421
13001
|
}
|
|
12422
13002
|
|
|
13003
|
+
// KubernetesHelmReleaseManifest defines model for KubernetesHelmReleaseManifest.
|
|
13004
|
+
type KubernetesHelmReleaseManifest struct {
|
|
13005
|
+
Content string `json:"content"`
|
|
13006
|
+
Digest string `json:"digest"`
|
|
13007
|
+
Name string `json:"name"`
|
|
13008
|
+
Namespace string `json:"namespace"`
|
|
13009
|
+
Revision string `json:"revision"`
|
|
13010
|
+
}
|
|
13011
|
+
|
|
13012
|
+
// KubernetesHelmReleaseManifestEnvelope defines model for KubernetesHelmReleaseManifestEnvelope.
|
|
13013
|
+
type KubernetesHelmReleaseManifestEnvelope struct {
|
|
13014
|
+
Data KubernetesHelmReleaseManifest `json:"data"`
|
|
13015
|
+
}
|
|
13016
|
+
|
|
13017
|
+
// KubernetesHelmReleaseRollbackInput defines model for KubernetesHelmReleaseRollbackInput.
|
|
13018
|
+
type KubernetesHelmReleaseRollbackInput struct {
|
|
13019
|
+
Revision int `json:"revision"`
|
|
13020
|
+
TimeoutSeconds int `json:"timeoutSeconds,omitempty"`
|
|
13021
|
+
Wait bool `json:"wait,omitempty"`
|
|
13022
|
+
}
|
|
13023
|
+
|
|
12423
13024
|
// KubernetesHorizontalPodAutoscaler defines model for KubernetesHorizontalPodAutoscaler.
|
|
12424
13025
|
type KubernetesHorizontalPodAutoscaler struct {
|
|
12425
13026
|
AgeSeconds int64 `json:"ageSeconds"`
|
|
@@ -12711,6 +13312,15 @@ type KubernetesLimitRangeRule struct {
|
|
|
12711
13312
|
Type string `json:"type"`
|
|
12712
13313
|
}
|
|
12713
13314
|
|
|
13315
|
+
// KubernetesManagedFieldOwner defines model for KubernetesManagedFieldOwner.
|
|
13316
|
+
type KubernetesManagedFieldOwner struct {
|
|
13317
|
+
APIVersion string `json:"apiVersion"`
|
|
13318
|
+
Fields []string `json:"fields"`
|
|
13319
|
+
Manager string `json:"manager"`
|
|
13320
|
+
Operation string `json:"operation"`
|
|
13321
|
+
Time *time.Time `json:"time,omitempty"`
|
|
13322
|
+
}
|
|
13323
|
+
|
|
12714
13324
|
// KubernetesMonitoringDetail defines model for KubernetesMonitoringDetail.
|
|
12715
13325
|
type KubernetesMonitoringDetail struct {
|
|
12716
13326
|
Prometheus KubernetesPrometheusDetail `json:"prometheus"`
|
|
@@ -13378,6 +13988,9 @@ type KubernetesResourceAuthorizationDecision struct {
|
|
|
13378
13988
|
ResourceScope KubernetesResourceScope `json:"resourceScope"`
|
|
13379
13989
|
}
|
|
13380
13990
|
|
|
13991
|
+
// KubernetesResourceCacheStatus defines model for KubernetesResourceCacheStatus.
|
|
13992
|
+
type KubernetesResourceCacheStatus string
|
|
13993
|
+
|
|
13381
13994
|
// KubernetesResourceCapability defines model for KubernetesResourceCapability.
|
|
13382
13995
|
type KubernetesResourceCapability struct {
|
|
13383
13996
|
Key string `json:"key"`
|
|
@@ -13510,6 +14123,50 @@ type KubernetesResourceDryRunDecision struct {
|
|
|
13510
14123
|
// KubernetesResourceDryRunStatus defines model for KubernetesResourceDryRunStatus.
|
|
13511
14124
|
type KubernetesResourceDryRunStatus string
|
|
13512
14125
|
|
|
14126
|
+
// KubernetesResourceEvidence defines model for KubernetesResourceEvidence.
|
|
14127
|
+
type KubernetesResourceEvidence struct {
|
|
14128
|
+
ID string `json:"id"`
|
|
14129
|
+
ObservedAt time.Time `json:"observedAt"`
|
|
14130
|
+
ResourceID string `json:"resourceId,omitempty"`
|
|
14131
|
+
Severity string `json:"severity"`
|
|
14132
|
+
SourceRef string `json:"sourceRef,omitempty"`
|
|
14133
|
+
Summary string `json:"summary"`
|
|
14134
|
+
Type string `json:"type"`
|
|
14135
|
+
}
|
|
14136
|
+
|
|
14137
|
+
// KubernetesResourceGraph defines model for KubernetesResourceGraph.
|
|
14138
|
+
type KubernetesResourceGraph struct {
|
|
14139
|
+
ClusterID string `json:"clusterId"`
|
|
14140
|
+
Edges []KubernetesResourceGraphEdge `json:"edges"`
|
|
14141
|
+
Evidence []KubernetesResourceEvidence `json:"evidence"`
|
|
14142
|
+
GeneratedAt time.Time `json:"generatedAt"`
|
|
14143
|
+
Namespace string `json:"namespace,omitempty"`
|
|
14144
|
+
Nodes []KubernetesResourceGraphNode `json:"nodes"`
|
|
14145
|
+
RootID string `json:"rootId,omitempty"`
|
|
14146
|
+
Warnings []string `json:"warnings"`
|
|
14147
|
+
}
|
|
14148
|
+
|
|
14149
|
+
// KubernetesResourceGraphEdge defines model for KubernetesResourceGraphEdge.
|
|
14150
|
+
type KubernetesResourceGraphEdge struct {
|
|
14151
|
+
ID string `json:"id"`
|
|
14152
|
+
Relation string `json:"relation"`
|
|
14153
|
+
SourceID string `json:"sourceId"`
|
|
14154
|
+
TargetID string `json:"targetId"`
|
|
14155
|
+
}
|
|
14156
|
+
|
|
14157
|
+
// KubernetesResourceGraphEnvelope defines model for KubernetesResourceGraphEnvelope.
|
|
14158
|
+
type KubernetesResourceGraphEnvelope struct {
|
|
14159
|
+
Data KubernetesResourceGraph `json:"data"`
|
|
14160
|
+
}
|
|
14161
|
+
|
|
14162
|
+
// KubernetesResourceGraphNode defines model for KubernetesResourceGraphNode.
|
|
14163
|
+
type KubernetesResourceGraphNode struct {
|
|
14164
|
+
Health string `json:"health,omitempty"`
|
|
14165
|
+
ID string `json:"id"`
|
|
14166
|
+
Resource KubernetesResourceRef `json:"resource"`
|
|
14167
|
+
Status string `json:"status,omitempty"`
|
|
14168
|
+
}
|
|
14169
|
+
|
|
13513
14170
|
// KubernetesResourceMetrics defines model for KubernetesResourceMetrics.
|
|
13514
14171
|
type KubernetesResourceMetrics struct {
|
|
13515
14172
|
Configured bool `json:"configured"`
|
|
@@ -13633,6 +14290,59 @@ type KubernetesResourceScope struct {
|
|
|
13633
14290
|
// KubernetesResourceScopeMode defines model for KubernetesResourceScopeMode.
|
|
13634
14291
|
type KubernetesResourceScopeMode string
|
|
13635
14292
|
|
|
14293
|
+
// KubernetesResourceSearchEnvelope defines model for KubernetesResourceSearchEnvelope.
|
|
14294
|
+
type KubernetesResourceSearchEnvelope struct {
|
|
14295
|
+
Data KubernetesResourceSearchResult `json:"data"`
|
|
14296
|
+
}
|
|
14297
|
+
|
|
14298
|
+
// KubernetesResourceSearchItem defines model for KubernetesResourceSearchItem.
|
|
14299
|
+
type KubernetesResourceSearchItem struct {
|
|
14300
|
+
Resource KubernetesResourceRef `json:"resource"`
|
|
14301
|
+
|
|
14302
|
+
// Status Optional normalized lifecycle or health status from the inventory view.
|
|
14303
|
+
Status string `json:"status,omitempty"`
|
|
14304
|
+
}
|
|
14305
|
+
|
|
14306
|
+
// KubernetesResourceSearchResult defines model for KubernetesResourceSearchResult.
|
|
14307
|
+
type KubernetesResourceSearchResult struct {
|
|
14308
|
+
Items []KubernetesResourceSearchItem `json:"items"`
|
|
14309
|
+
|
|
14310
|
+
// Truncated True when additional authorized matches exist beyond the requested limit.
|
|
14311
|
+
Truncated bool `json:"truncated"`
|
|
14312
|
+
}
|
|
14313
|
+
|
|
14314
|
+
// KubernetesResourceStreamEvent defines model for KubernetesResourceStreamEvent.
|
|
14315
|
+
type KubernetesResourceStreamEvent struct {
|
|
14316
|
+
CacheStatus KubernetesResourceCacheStatus `json:"cacheStatus,omitempty"`
|
|
14317
|
+
ClusterID string `json:"clusterId"`
|
|
14318
|
+
Message string `json:"message,omitempty"`
|
|
14319
|
+
ObservedAt time.Time `json:"observedAt"`
|
|
14320
|
+
Resource *KubernetesResourceRef `json:"resource,omitempty"`
|
|
14321
|
+
ResourceVersion string `json:"resourceVersion,omitempty"`
|
|
14322
|
+
ResyncRequired bool `json:"resyncRequired,omitempty"`
|
|
14323
|
+
Source string `json:"source,omitempty"`
|
|
14324
|
+
Type KubernetesResourceStreamEventType `json:"type"`
|
|
14325
|
+
}
|
|
14326
|
+
|
|
14327
|
+
// KubernetesResourceStreamEventType defines model for KubernetesResourceStreamEventType.
|
|
14328
|
+
type KubernetesResourceStreamEventType string
|
|
14329
|
+
|
|
14330
|
+
// KubernetesResourceUpdateAnalysis defines model for KubernetesResourceUpdateAnalysis.
|
|
14331
|
+
type KubernetesResourceUpdateAnalysis struct {
|
|
14332
|
+
ChangedFields []string `json:"changedFields"`
|
|
14333
|
+
Conflicts []KubernetesFieldConflict `json:"conflicts"`
|
|
14334
|
+
FieldManager string `json:"fieldManager"`
|
|
14335
|
+
Owners []KubernetesManagedFieldOwner `json:"owners"`
|
|
14336
|
+
}
|
|
14337
|
+
|
|
14338
|
+
// KubernetesResourceUpdatePlanRequest defines model for KubernetesResourceUpdatePlanRequest.
|
|
14339
|
+
type KubernetesResourceUpdatePlanRequest struct {
|
|
14340
|
+
Content string `json:"content"`
|
|
14341
|
+
Kind string `json:"kind"`
|
|
14342
|
+
Name string `json:"name"`
|
|
14343
|
+
Namespace string `json:"namespace,omitempty"`
|
|
14344
|
+
}
|
|
14345
|
+
|
|
13636
14346
|
// KubernetesResourceWarning defines model for KubernetesResourceWarning.
|
|
13637
14347
|
type KubernetesResourceWarning struct {
|
|
13638
14348
|
Code KubernetesResourceCreateErrorCode `json:"code"`
|
|
@@ -13747,16 +14457,69 @@ type KubernetesSecretMetadataListEnvelope struct {
|
|
|
13747
14457
|
Items []KubernetesSecretMetadata `json:"items"`
|
|
13748
14458
|
}
|
|
13749
14459
|
|
|
14460
|
+
// KubernetesSecurityFinding defines model for KubernetesSecurityFinding.
|
|
14461
|
+
type KubernetesSecurityFinding struct {
|
|
14462
|
+
Category KubernetesSecurityFindingCategory `json:"category"`
|
|
14463
|
+
ControlID string `json:"controlId,omitempty"`
|
|
14464
|
+
ID string `json:"id"`
|
|
14465
|
+
Message string `json:"message,omitempty"`
|
|
14466
|
+
ObservedAt *time.Time `json:"observedAt,omitempty"`
|
|
14467
|
+
Remediation string `json:"remediation,omitempty"`
|
|
14468
|
+
Resource *KubernetesResourceRef `json:"resource,omitempty"`
|
|
14469
|
+
Severity KubernetesSecuritySeverity `json:"severity"`
|
|
14470
|
+
Status string `json:"status"`
|
|
14471
|
+
Title string `json:"title"`
|
|
14472
|
+
}
|
|
14473
|
+
|
|
14474
|
+
// KubernetesSecurityFindingCategory defines model for KubernetesSecurityFinding.Category.
|
|
14475
|
+
type KubernetesSecurityFindingCategory string
|
|
14476
|
+
|
|
14477
|
+
// KubernetesSecurityPosture defines model for KubernetesSecurityPosture.
|
|
14478
|
+
type KubernetesSecurityPosture struct {
|
|
14479
|
+
ClusterID string `json:"clusterId"`
|
|
14480
|
+
Counts KubernetesSecuritySeverityCounts `json:"counts"`
|
|
14481
|
+
Findings []KubernetesSecurityFinding `json:"findings"`
|
|
14482
|
+
GeneratedAt time.Time `json:"generatedAt"`
|
|
14483
|
+
Message string `json:"message,omitempty"`
|
|
14484
|
+
Provider KubernetesSecurityPostureProvider `json:"provider"`
|
|
14485
|
+
Status KubernetesSecurityPostureStatus `json:"status"`
|
|
14486
|
+
Warnings []string `json:"warnings"`
|
|
14487
|
+
}
|
|
14488
|
+
|
|
14489
|
+
// KubernetesSecurityPostureProvider defines model for KubernetesSecurityPosture.Provider.
|
|
14490
|
+
type KubernetesSecurityPostureProvider string
|
|
14491
|
+
|
|
14492
|
+
// KubernetesSecurityPostureEnvelope defines model for KubernetesSecurityPostureEnvelope.
|
|
14493
|
+
type KubernetesSecurityPostureEnvelope struct {
|
|
14494
|
+
Data KubernetesSecurityPosture `json:"data"`
|
|
14495
|
+
}
|
|
14496
|
+
|
|
14497
|
+
// KubernetesSecurityPostureStatus defines model for KubernetesSecurityPostureStatus.
|
|
14498
|
+
type KubernetesSecurityPostureStatus string
|
|
14499
|
+
|
|
14500
|
+
// KubernetesSecuritySeverity defines model for KubernetesSecuritySeverity.
|
|
14501
|
+
type KubernetesSecuritySeverity string
|
|
14502
|
+
|
|
14503
|
+
// KubernetesSecuritySeverityCounts defines model for KubernetesSecuritySeverityCounts.
|
|
14504
|
+
type KubernetesSecuritySeverityCounts struct {
|
|
14505
|
+
Critical int64 `json:"critical"`
|
|
14506
|
+
High int64 `json:"high"`
|
|
14507
|
+
Low int64 `json:"low"`
|
|
14508
|
+
Medium int64 `json:"medium"`
|
|
14509
|
+
Unknown int64 `json:"unknown"`
|
|
14510
|
+
}
|
|
14511
|
+
|
|
13750
14512
|
// KubernetesService defines model for KubernetesService.
|
|
13751
14513
|
type KubernetesService struct {
|
|
13752
|
-
AgeSeconds int64
|
|
13753
|
-
AllowedActions []string
|
|
13754
|
-
ClusterIP string
|
|
13755
|
-
Name string
|
|
13756
|
-
Namespace string
|
|
13757
|
-
|
|
13758
|
-
|
|
13759
|
-
|
|
14514
|
+
AgeSeconds int64 `json:"ageSeconds"`
|
|
14515
|
+
AllowedActions []string `json:"allowedActions,omitempty"`
|
|
14516
|
+
ClusterIP string `json:"clusterIp,omitempty"`
|
|
14517
|
+
Name string `json:"name"`
|
|
14518
|
+
Namespace string `json:"namespace"`
|
|
14519
|
+
PortMappings []KubernetesServicePort `json:"portMappings,omitempty"`
|
|
14520
|
+
Ports []string `json:"ports,omitempty"`
|
|
14521
|
+
Selector *KubernetesStringMap `json:"selector,omitempty"`
|
|
14522
|
+
Type string `json:"type"`
|
|
13760
14523
|
}
|
|
13761
14524
|
|
|
13762
14525
|
// KubernetesServiceAccount defines model for KubernetesServiceAccount.
|
|
@@ -13806,6 +14569,7 @@ type KubernetesServiceDetail struct {
|
|
|
13806
14569
|
Labels *KubernetesStringMap `json:"labels,omitempty"`
|
|
13807
14570
|
Name string `json:"name"`
|
|
13808
14571
|
Namespace string `json:"namespace"`
|
|
14572
|
+
PortMappings []KubernetesServicePort `json:"portMappings,omitempty"`
|
|
13809
14573
|
Ports []string `json:"ports,omitempty"`
|
|
13810
14574
|
Selector *KubernetesStringMap `json:"selector,omitempty"`
|
|
13811
14575
|
Type string `json:"type"`
|
|
@@ -13866,6 +14630,18 @@ type KubernetesServiceListEnvelope struct {
|
|
|
13866
14630
|
Items []KubernetesService `json:"items"`
|
|
13867
14631
|
}
|
|
13868
14632
|
|
|
14633
|
+
// KubernetesServicePort defines model for KubernetesServicePort.
|
|
14634
|
+
type KubernetesServicePort struct {
|
|
14635
|
+
Name string `json:"name,omitempty"`
|
|
14636
|
+
NodePort int32 `json:"nodePort,omitempty"`
|
|
14637
|
+
Port int32 `json:"port"`
|
|
14638
|
+
Protocol KubernetesServicePortProtocol `json:"protocol"`
|
|
14639
|
+
TargetPort string `json:"targetPort"`
|
|
14640
|
+
}
|
|
14641
|
+
|
|
14642
|
+
// KubernetesServicePortProtocol defines model for KubernetesServicePort.Protocol.
|
|
14643
|
+
type KubernetesServicePortProtocol string
|
|
14644
|
+
|
|
13869
14645
|
// KubernetesStatefulSet defines model for KubernetesStatefulSet.
|
|
13870
14646
|
type KubernetesStatefulSet struct {
|
|
13871
14647
|
AgeSeconds int64 `json:"ageSeconds"`
|
|
@@ -13959,6 +14735,23 @@ type KubernetesStoragePodReference struct {
|
|
|
13959
14735
|
// KubernetesStringMap defines model for KubernetesStringMap.
|
|
13960
14736
|
type KubernetesStringMap map[string]string
|
|
13961
14737
|
|
|
14738
|
+
// KubernetesSubjectAccessReviewInput defines model for KubernetesSubjectAccessReviewInput.
|
|
14739
|
+
type KubernetesSubjectAccessReviewInput struct {
|
|
14740
|
+
Checks []KubernetesAccessReviewCheck `json:"checks"`
|
|
14741
|
+
Subject KubernetesAccessReviewSubject `json:"subject"`
|
|
14742
|
+
}
|
|
14743
|
+
|
|
14744
|
+
// KubernetesSubjectAccessReviewResult defines model for KubernetesSubjectAccessReviewResult.
|
|
14745
|
+
type KubernetesSubjectAccessReviewResult struct {
|
|
14746
|
+
Decisions []KubernetesAccessReviewDecision `json:"decisions"`
|
|
14747
|
+
Subject KubernetesAccessReviewSubject `json:"subject"`
|
|
14748
|
+
}
|
|
14749
|
+
|
|
14750
|
+
// KubernetesSubjectAccessReviewResultEnvelope defines model for KubernetesSubjectAccessReviewResultEnvelope.
|
|
14751
|
+
type KubernetesSubjectAccessReviewResultEnvelope struct {
|
|
14752
|
+
Data KubernetesSubjectAccessReviewResult `json:"data"`
|
|
14753
|
+
}
|
|
14754
|
+
|
|
13962
14755
|
// KubernetesWorkloadCondition defines model for KubernetesWorkloadCondition.
|
|
13963
14756
|
type KubernetesWorkloadCondition struct {
|
|
13964
14757
|
LastTransitionTime string `json:"lastTransitionTime,omitempty"`
|
|
@@ -14065,6 +14858,9 @@ type KubernetesWorkloadSnapshotEnvelope struct {
|
|
|
14065
14858
|
Data KubernetesWorkloadSnapshot `json:"data"`
|
|
14066
14859
|
}
|
|
14067
14860
|
|
|
14861
|
+
// KubernetesWorkloadSnapshotInheritance defines model for KubernetesWorkloadSnapshotInheritance.
|
|
14862
|
+
type KubernetesWorkloadSnapshotInheritance string
|
|
14863
|
+
|
|
14068
14864
|
// KubernetesWorkloadSnapshotRequest defines model for KubernetesWorkloadSnapshotRequest.
|
|
14069
14865
|
type KubernetesWorkloadSnapshotRequest struct {
|
|
14070
14866
|
// ActiveDeadlineSeconds Zero leaves the Kubernetes default unchanged.
|
|
@@ -14075,9 +14871,12 @@ type KubernetesWorkloadSnapshotRequest struct {
|
|
|
14075
14871
|
Command []string `json:"command,omitempty"`
|
|
14076
14872
|
|
|
14077
14873
|
// Completions Zero leaves the Kubernetes default unchanged.
|
|
14078
|
-
Completions int
|
|
14079
|
-
Description string
|
|
14080
|
-
|
|
14874
|
+
Completions int `json:"completions,omitempty"`
|
|
14875
|
+
Description string `json:"description,omitempty"`
|
|
14876
|
+
|
|
14877
|
+
// Inherit Runtime modules copied from the source Pod template. Omitting this field preserves the legacy full-template snapshot; an explicit array copies only the selected modules while always retaining the selected container name, image, imagePullPolicy, command, args, and working directory.
|
|
14878
|
+
Inherit []KubernetesWorkloadSnapshotInheritance `json:"inherit,omitempty"`
|
|
14879
|
+
Labels map[string]string `json:"labels,omitempty"`
|
|
14081
14880
|
|
|
14082
14881
|
// Namespace Namespace shared by the source workload and generated target because referenced Secrets, ConfigMaps, ServiceAccounts, and PVCs are namespace-scoped.
|
|
14083
14882
|
Namespace string `json:"namespace"`
|
|
@@ -16524,14 +17323,19 @@ type OperationStatus struct {
|
|
|
16524
17323
|
|
|
16525
17324
|
// OperationalPlan defines model for OperationalPlan.
|
|
16526
17325
|
type OperationalPlan struct {
|
|
16527
|
-
Capability
|
|
16528
|
-
Changes
|
|
16529
|
-
|
|
16530
|
-
|
|
16531
|
-
|
|
16532
|
-
|
|
16533
|
-
|
|
16534
|
-
|
|
17326
|
+
Capability string `json:"capability"`
|
|
17327
|
+
Changes []OperationalPlanChange `json:"changes"`
|
|
17328
|
+
|
|
17329
|
+
// InputHash Deterministic digest of the normalized plan input for change comparison and stale-plan detection. It is not an authorization or approval token.
|
|
17330
|
+
InputHash string `json:"inputHash,omitempty"`
|
|
17331
|
+
KubernetesResourceUpdate *KubernetesResourceUpdateAnalysis `json:"kubernetesResourceUpdate,omitempty"`
|
|
17332
|
+
Ready bool `json:"ready"`
|
|
17333
|
+
|
|
17334
|
+
// RequiresApproval Whether an interactive client must require explicit confirmation from the currently authorized actor before invoking the planned mutation. This field is not an asynchronous approval-request status; workflows that require a separate approver use the dedicated approval APIs.
|
|
17335
|
+
RequiresApproval bool `json:"requiresApproval"`
|
|
17336
|
+
RiskLevel RiskLevel `json:"riskLevel"`
|
|
17337
|
+
Target string `json:"target"`
|
|
17338
|
+
Warnings []string `json:"warnings"`
|
|
16535
17339
|
}
|
|
16536
17340
|
|
|
16537
17341
|
// OperationalPlanChange defines model for OperationalPlanChange.
|
|
@@ -18898,6 +19702,133 @@ type VirtualizationOperationPageEnvelope struct {
|
|
|
18898
19702
|
Data VirtualizationOperationPage `json:"data"`
|
|
18899
19703
|
}
|
|
18900
19704
|
|
|
19705
|
+
// WorkbenchAdapter defines model for WorkbenchAdapter.
|
|
19706
|
+
type WorkbenchAdapter struct {
|
|
19707
|
+
Category string `json:"category,omitempty"`
|
|
19708
|
+
DefaultBudget map[string]any `json:"defaultBudget,omitempty"`
|
|
19709
|
+
Description string `json:"description"`
|
|
19710
|
+
ID string `json:"id"`
|
|
19711
|
+
Name string `json:"name"`
|
|
19712
|
+
RequiresConfig bool `json:"requiresConfig"`
|
|
19713
|
+
Scopes []string `json:"scopes"`
|
|
19714
|
+
SourceKind string `json:"sourceKind"`
|
|
19715
|
+
SupportedBackends []string `json:"supportedBackends,omitempty"`
|
|
19716
|
+
SupportsSessionOverride bool `json:"supportsSessionOverride"`
|
|
19717
|
+
ToolSchemaSummary map[string]string `json:"toolSchemaSummary,omitempty"`
|
|
19718
|
+
Tools []WorkbenchAdapterTool `json:"tools,omitempty"`
|
|
19719
|
+
}
|
|
19720
|
+
|
|
19721
|
+
// WorkbenchAdapterListEnvelope defines model for WorkbenchAdapterListEnvelope.
|
|
19722
|
+
type WorkbenchAdapterListEnvelope struct {
|
|
19723
|
+
Items []WorkbenchAdapter `json:"items"`
|
|
19724
|
+
}
|
|
19725
|
+
|
|
19726
|
+
// WorkbenchAdapterTool defines model for WorkbenchAdapterTool.
|
|
19727
|
+
type WorkbenchAdapterTool struct {
|
|
19728
|
+
Description string `json:"description"`
|
|
19729
|
+
Name string `json:"name"`
|
|
19730
|
+
SchemaHint string `json:"schemaHint,omitempty"`
|
|
19731
|
+
}
|
|
19732
|
+
|
|
19733
|
+
// WorkbenchAgentCapability defines model for WorkbenchAgentCapability.
|
|
19734
|
+
type WorkbenchAgentCapability struct {
|
|
19735
|
+
AnalysisKinds []string `json:"analysisKinds,omitempty"`
|
|
19736
|
+
Category string `json:"category,omitempty"`
|
|
19737
|
+
Description string `json:"description,omitempty"`
|
|
19738
|
+
ID string `json:"id"`
|
|
19739
|
+
Name string `json:"name"`
|
|
19740
|
+
RequiredScopes []string `json:"requiredScopes,omitempty"`
|
|
19741
|
+
SkillBindings []WorkbenchAgentSkillBinding `json:"skillBindings,omitempty"`
|
|
19742
|
+
ToolBindings []WorkbenchAgentToolBinding `json:"toolBindings,omitempty"`
|
|
19743
|
+
ToolRefs []string `json:"toolRefs,omitempty"`
|
|
19744
|
+
}
|
|
19745
|
+
|
|
19746
|
+
// WorkbenchAgentProvider defines model for WorkbenchAgentProvider.
|
|
19747
|
+
type WorkbenchAgentProvider struct {
|
|
19748
|
+
Capabilities []string `json:"capabilities,omitempty"`
|
|
19749
|
+
Config map[string]any `json:"config,omitempty"`
|
|
19750
|
+
Default bool `json:"default,omitempty"`
|
|
19751
|
+
Description string `json:"description,omitempty"`
|
|
19752
|
+
Enabled bool `json:"enabled"`
|
|
19753
|
+
ID string `json:"id"`
|
|
19754
|
+
Kind string `json:"kind"`
|
|
19755
|
+
Name string `json:"name"`
|
|
19756
|
+
RuntimeStatus *WorkbenchAgentProviderRuntimeStatus `json:"runtimeStatus,omitempty"`
|
|
19757
|
+
SupportedModes []string `json:"supportedModes,omitempty"`
|
|
19758
|
+
SupportsAsync bool `json:"supportsAsync"`
|
|
19759
|
+
SupportsSkills bool `json:"supportsSkills"`
|
|
19760
|
+
SupportsToolsets bool `json:"supportsToolsets"`
|
|
19761
|
+
}
|
|
19762
|
+
|
|
19763
|
+
// WorkbenchAgentProviderListEnvelope defines model for WorkbenchAgentProviderListEnvelope.
|
|
19764
|
+
type WorkbenchAgentProviderListEnvelope struct {
|
|
19765
|
+
Items []WorkbenchAgentProvider `json:"items"`
|
|
19766
|
+
}
|
|
19767
|
+
|
|
19768
|
+
// WorkbenchAgentProviderRuntimeStatus defines model for WorkbenchAgentProviderRuntimeStatus.
|
|
19769
|
+
type WorkbenchAgentProviderRuntimeStatus struct {
|
|
19770
|
+
LastAgentID string `json:"lastAgentId,omitempty"`
|
|
19771
|
+
LastCompletedAt *time.Time `json:"lastCompletedAt,omitempty"`
|
|
19772
|
+
LastHeartbeatAt *time.Time `json:"lastHeartbeatAt,omitempty"`
|
|
19773
|
+
LastRunID string `json:"lastRunId,omitempty"`
|
|
19774
|
+
LastRunStatus string `json:"lastRunStatus,omitempty"`
|
|
19775
|
+
ObservedAt time.Time `json:"observedAt"`
|
|
19776
|
+
QueuedRuns int `json:"queuedRuns"`
|
|
19777
|
+
Reason string `json:"reason,omitempty"`
|
|
19778
|
+
RecentFailures int `json:"recentFailures"`
|
|
19779
|
+
RunningRuns int `json:"runningRuns"`
|
|
19780
|
+
State string `json:"state"`
|
|
19781
|
+
}
|
|
19782
|
+
|
|
19783
|
+
// WorkbenchAgentRun defines model for WorkbenchAgentRun.
|
|
19784
|
+
type WorkbenchAgentRun struct {
|
|
19785
|
+
AnalysisArtifacts []WorkbenchAnalysisArtifact `json:"analysisArtifacts,omitempty"`
|
|
19786
|
+
CapabilityID string `json:"capabilityId"`
|
|
19787
|
+
ClaimedByAgentID string `json:"claimedByAgentId,omitempty"`
|
|
19788
|
+
CompletedAt *time.Time `json:"completedAt,omitempty"`
|
|
19789
|
+
CreatedAt time.Time `json:"createdAt"`
|
|
19790
|
+
CreatedBy string `json:"createdBy"`
|
|
19791
|
+
ErrorMessage string `json:"errorMessage,omitempty"`
|
|
19792
|
+
ExternalRunID string `json:"externalRunId,omitempty"`
|
|
19793
|
+
ID string `json:"id"`
|
|
19794
|
+
Input map[string]any `json:"input,omitempty"`
|
|
19795
|
+
LastHeartbeatAt *time.Time `json:"lastHeartbeatAt,omitempty"`
|
|
19796
|
+
OperationState *WorkbenchOperationState `json:"operationState,omitempty"`
|
|
19797
|
+
Output map[string]any `json:"output,omitempty"`
|
|
19798
|
+
ProviderID string `json:"providerId"`
|
|
19799
|
+
ProviderKind string `json:"providerKind"`
|
|
19800
|
+
QueuedAt time.Time `json:"queuedAt"`
|
|
19801
|
+
RootCauseRunID string `json:"rootCauseRunId,omitempty"`
|
|
19802
|
+
Scope *WorkbenchSessionScope `json:"scope,omitempty"`
|
|
19803
|
+
SessionID string `json:"sessionId,omitempty"`
|
|
19804
|
+
SkillBindings []WorkbenchAgentSkillBinding `json:"skillBindings,omitempty"`
|
|
19805
|
+
SkillIDs []string `json:"skillIds,omitempty"`
|
|
19806
|
+
StartedAt *time.Time `json:"startedAt,omitempty"`
|
|
19807
|
+
Status string `json:"status"`
|
|
19808
|
+
TimeoutSeconds int `json:"timeoutSeconds"`
|
|
19809
|
+
ToolBindings []WorkbenchAgentToolBinding `json:"toolBindings,omitempty"`
|
|
19810
|
+
ToolExecutions []WorkbenchToolExecution `json:"toolExecutions,omitempty"`
|
|
19811
|
+
Toolset *WorkbenchSessionToolset `json:"toolset,omitempty"`
|
|
19812
|
+
UpdatedAt time.Time `json:"updatedAt"`
|
|
19813
|
+
}
|
|
19814
|
+
|
|
19815
|
+
// WorkbenchAgentRunEnvelope defines model for WorkbenchAgentRunEnvelope.
|
|
19816
|
+
type WorkbenchAgentRunEnvelope struct {
|
|
19817
|
+
Data WorkbenchAgentRun `json:"data"`
|
|
19818
|
+
}
|
|
19819
|
+
|
|
19820
|
+
// WorkbenchAgentSkillBinding defines model for WorkbenchAgentSkillBinding.
|
|
19821
|
+
type WorkbenchAgentSkillBinding struct {
|
|
19822
|
+
CapabilityRefs []string `json:"capabilityRefs,omitempty"`
|
|
19823
|
+
Config map[string]any `json:"config,omitempty"`
|
|
19824
|
+
ID string `json:"id"`
|
|
19825
|
+
PromptTemplateID string `json:"promptTemplateId,omitempty"`
|
|
19826
|
+
ProviderID string `json:"providerId,omitempty"`
|
|
19827
|
+
ProviderKind string `json:"providerKind,omitempty"`
|
|
19828
|
+
ProviderSkillRef string `json:"providerSkillRef,omitempty"`
|
|
19829
|
+
SkillID string `json:"skillId"`
|
|
19830
|
+
}
|
|
19831
|
+
|
|
18901
19832
|
// WorkbenchAgentStatusEvent defines model for WorkbenchAgentStatusEvent.
|
|
18902
19833
|
type WorkbenchAgentStatusEvent struct {
|
|
18903
19834
|
CreatedAt time.Time `json:"createdAt"`
|
|
@@ -18921,6 +19852,86 @@ type WorkbenchAgentStatusEventStatus string
|
|
|
18921
19852
|
// WorkbenchAgentStatusEventType defines model for WorkbenchAgentStatusEvent.Type.
|
|
18922
19853
|
type WorkbenchAgentStatusEventType string
|
|
18923
19854
|
|
|
19855
|
+
// WorkbenchAgentToolBinding defines model for WorkbenchAgentToolBinding.
|
|
19856
|
+
type WorkbenchAgentToolBinding struct {
|
|
19857
|
+
AdapterID string `json:"adapterId,omitempty"`
|
|
19858
|
+
CapabilityID string `json:"capabilityId"`
|
|
19859
|
+
Config map[string]any `json:"config,omitempty"`
|
|
19860
|
+
ID string `json:"id"`
|
|
19861
|
+
PermissionKey string `json:"permissionKey,omitempty"`
|
|
19862
|
+
ProviderID string `json:"providerId,omitempty"`
|
|
19863
|
+
ProviderKind string `json:"providerKind,omitempty"`
|
|
19864
|
+
ToolKind string `json:"toolKind"`
|
|
19865
|
+
ToolName string `json:"toolName,omitempty"`
|
|
19866
|
+
}
|
|
19867
|
+
|
|
19868
|
+
// WorkbenchAnalysisArtifact defines model for WorkbenchAnalysisArtifact.
|
|
19869
|
+
type WorkbenchAnalysisArtifact struct {
|
|
19870
|
+
DataSourceSnapshot map[string]any `json:"dataSourceSnapshot,omitempty"`
|
|
19871
|
+
Evidence []WorkbenchEvidence `json:"evidence,omitempty"`
|
|
19872
|
+
Graph *WorkbenchGraph `json:"graph,omitempty"`
|
|
19873
|
+
Hypotheses []WorkbenchHypothesis `json:"hypotheses,omitempty"`
|
|
19874
|
+
Kind string `json:"kind"`
|
|
19875
|
+
Recommendations []string `json:"recommendations,omitempty"`
|
|
19876
|
+
RunID string `json:"runId"`
|
|
19877
|
+
Scope *WorkbenchSessionScope `json:"scope,omitempty"`
|
|
19878
|
+
Summary string `json:"summary"`
|
|
19879
|
+
Title string `json:"title,omitempty"`
|
|
19880
|
+
ToolExecutions []WorkbenchToolExecution `json:"toolExecutions,omitempty"`
|
|
19881
|
+
}
|
|
19882
|
+
|
|
19883
|
+
// WorkbenchAnalysisProfile defines model for WorkbenchAnalysisProfile.
|
|
19884
|
+
type WorkbenchAnalysisProfile struct {
|
|
19885
|
+
CreatedAt time.Time `json:"createdAt"`
|
|
19886
|
+
DefaultTimeRangeMinutes int `json:"defaultTimeRangeMinutes"`
|
|
19887
|
+
Enabled bool `json:"enabled"`
|
|
19888
|
+
EnabledPlaybooks []string `json:"enabledPlaybooks,omitempty"`
|
|
19889
|
+
EnabledSources []string `json:"enabledSources,omitempty"`
|
|
19890
|
+
ID string `json:"id"`
|
|
19891
|
+
Mode string `json:"mode"`
|
|
19892
|
+
Name string `json:"name"`
|
|
19893
|
+
OutputStyle map[string]any `json:"outputStyle,omitempty"`
|
|
19894
|
+
QueryBudgets map[string]any `json:"queryBudgets,omitempty"`
|
|
19895
|
+
RemediationPolicy string `json:"remediationPolicy"`
|
|
19896
|
+
TimeoutSeconds int `json:"timeoutSeconds"`
|
|
19897
|
+
UpdatedAt time.Time `json:"updatedAt"`
|
|
19898
|
+
}
|
|
19899
|
+
|
|
19900
|
+
// WorkbenchAnalysisProfileEnvelope defines model for WorkbenchAnalysisProfileEnvelope.
|
|
19901
|
+
type WorkbenchAnalysisProfileEnvelope struct {
|
|
19902
|
+
Data WorkbenchAnalysisProfile `json:"data"`
|
|
19903
|
+
}
|
|
19904
|
+
|
|
19905
|
+
// WorkbenchAnalysisProfileInput defines model for WorkbenchAnalysisProfileInput.
|
|
19906
|
+
type WorkbenchAnalysisProfileInput struct {
|
|
19907
|
+
DefaultTimeRangeMinutes int `json:"defaultTimeRangeMinutes"`
|
|
19908
|
+
Enabled bool `json:"enabled"`
|
|
19909
|
+
EnabledPlaybooks []string `json:"enabledPlaybooks,omitempty"`
|
|
19910
|
+
EnabledSources []string `json:"enabledSources,omitempty"`
|
|
19911
|
+
ID string `json:"id"`
|
|
19912
|
+
Mode string `json:"mode"`
|
|
19913
|
+
Name string `json:"name"`
|
|
19914
|
+
OutputStyle map[string]any `json:"outputStyle,omitempty"`
|
|
19915
|
+
QueryBudgets map[string]any `json:"queryBudgets,omitempty"`
|
|
19916
|
+
RemediationPolicy string `json:"remediationPolicy"`
|
|
19917
|
+
TimeoutSeconds int `json:"timeoutSeconds"`
|
|
19918
|
+
}
|
|
19919
|
+
|
|
19920
|
+
// WorkbenchAnalysisProfileListEnvelope defines model for WorkbenchAnalysisProfileListEnvelope.
|
|
19921
|
+
type WorkbenchAnalysisProfileListEnvelope struct {
|
|
19922
|
+
Items []WorkbenchAnalysisProfile `json:"items"`
|
|
19923
|
+
}
|
|
19924
|
+
|
|
19925
|
+
// WorkbenchAnalyzeSessionRequest defines model for WorkbenchAnalyzeSessionRequest.
|
|
19926
|
+
type WorkbenchAnalyzeSessionRequest struct {
|
|
19927
|
+
AgentProviderID string `json:"agentProviderId,omitempty"`
|
|
19928
|
+
AnalysisProfileID string `json:"analysisProfileId,omitempty"`
|
|
19929
|
+
Mode string `json:"mode,omitempty"`
|
|
19930
|
+
Question string `json:"question,omitempty"`
|
|
19931
|
+
Scope *WorkbenchSessionScope `json:"scope,omitempty"`
|
|
19932
|
+
TriggerType string `json:"triggerType,omitempty"`
|
|
19933
|
+
}
|
|
19934
|
+
|
|
18924
19935
|
// WorkbenchArtifactUpdatedEvent defines model for WorkbenchArtifactUpdatedEvent.
|
|
18925
19936
|
type WorkbenchArtifactUpdatedEvent struct {
|
|
18926
19937
|
Artifact AnyValue `json:"artifact"`
|
|
@@ -18936,6 +19947,50 @@ type WorkbenchArtifactUpdatedEvent struct {
|
|
|
18936
19947
|
// WorkbenchArtifactUpdatedEventType defines model for WorkbenchArtifactUpdatedEvent.Type.
|
|
18937
19948
|
type WorkbenchArtifactUpdatedEventType string
|
|
18938
19949
|
|
|
19950
|
+
// WorkbenchAutomationPolicy defines model for WorkbenchAutomationPolicy.
|
|
19951
|
+
type WorkbenchAutomationPolicy struct {
|
|
19952
|
+
AgentProviderID string `json:"agentProviderId,omitempty"`
|
|
19953
|
+
AnalysisKinds []string `json:"analysisKinds,omitempty"`
|
|
19954
|
+
AnalysisProfileID string `json:"analysisProfileId"`
|
|
19955
|
+
ApprovalPolicy map[string]any `json:"approvalPolicy,omitempty"`
|
|
19956
|
+
CooldownSeconds int `json:"cooldownSeconds"`
|
|
19957
|
+
CreatedAt time.Time `json:"createdAt"`
|
|
19958
|
+
DedupWindowSeconds int `json:"dedupWindowSeconds"`
|
|
19959
|
+
Enabled bool `json:"enabled"`
|
|
19960
|
+
ID string `json:"id"`
|
|
19961
|
+
Name string `json:"name"`
|
|
19962
|
+
RemediationPolicy string `json:"remediationPolicy"`
|
|
19963
|
+
TriggerConditions map[string]any `json:"triggerConditions,omitempty"`
|
|
19964
|
+
TriggerType string `json:"triggerType"`
|
|
19965
|
+
UpdatedAt time.Time `json:"updatedAt"`
|
|
19966
|
+
}
|
|
19967
|
+
|
|
19968
|
+
// WorkbenchAutomationPolicyEnvelope defines model for WorkbenchAutomationPolicyEnvelope.
|
|
19969
|
+
type WorkbenchAutomationPolicyEnvelope struct {
|
|
19970
|
+
Data WorkbenchAutomationPolicy `json:"data"`
|
|
19971
|
+
}
|
|
19972
|
+
|
|
19973
|
+
// WorkbenchAutomationPolicyInput defines model for WorkbenchAutomationPolicyInput.
|
|
19974
|
+
type WorkbenchAutomationPolicyInput struct {
|
|
19975
|
+
AgentProviderID string `json:"agentProviderId,omitempty"`
|
|
19976
|
+
AnalysisKinds []string `json:"analysisKinds,omitempty"`
|
|
19977
|
+
AnalysisProfileID string `json:"analysisProfileId"`
|
|
19978
|
+
ApprovalPolicy map[string]any `json:"approvalPolicy,omitempty"`
|
|
19979
|
+
CooldownSeconds int `json:"cooldownSeconds"`
|
|
19980
|
+
DedupWindowSeconds int `json:"dedupWindowSeconds"`
|
|
19981
|
+
Enabled bool `json:"enabled"`
|
|
19982
|
+
ID string `json:"id"`
|
|
19983
|
+
Name string `json:"name"`
|
|
19984
|
+
RemediationPolicy string `json:"remediationPolicy"`
|
|
19985
|
+
TriggerConditions map[string]any `json:"triggerConditions,omitempty"`
|
|
19986
|
+
TriggerType string `json:"triggerType"`
|
|
19987
|
+
}
|
|
19988
|
+
|
|
19989
|
+
// WorkbenchAutomationPolicyListEnvelope defines model for WorkbenchAutomationPolicyListEnvelope.
|
|
19990
|
+
type WorkbenchAutomationPolicyListEnvelope struct {
|
|
19991
|
+
Items []WorkbenchAutomationPolicy `json:"items"`
|
|
19992
|
+
}
|
|
19993
|
+
|
|
18939
19994
|
// WorkbenchCardCommandEvent defines model for WorkbenchCardCommandEvent.
|
|
18940
19995
|
type WorkbenchCardCommandEvent struct {
|
|
18941
19996
|
Command AnyValue `json:"command"`
|
|
@@ -18952,6 +20007,103 @@ type WorkbenchCardCommandEvent struct {
|
|
|
18952
20007
|
// WorkbenchCardCommandEventType defines model for WorkbenchCardCommandEvent.Type.
|
|
18953
20008
|
type WorkbenchCardCommandEventType string
|
|
18954
20009
|
|
|
20010
|
+
// WorkbenchCatalog defines model for WorkbenchCatalog.
|
|
20011
|
+
type WorkbenchCatalog struct {
|
|
20012
|
+
Adapters []WorkbenchAdapter `json:"adapters"`
|
|
20013
|
+
AgentProviders []WorkbenchAgentProvider `json:"agentProviders,omitempty"`
|
|
20014
|
+
AnalysisProfiles []WorkbenchCatalogAnalysisProfile `json:"analysisProfiles"`
|
|
20015
|
+
Capabilities []WorkbenchAgentCapability `json:"capabilities,omitempty"`
|
|
20016
|
+
DataSources []WorkbenchCatalogDataSource `json:"dataSources"`
|
|
20017
|
+
SkillBindings []WorkbenchAgentSkillBinding `json:"skillBindings,omitempty"`
|
|
20018
|
+
SkillsRegistry []WorkbenchSkill `json:"skillsRegistry,omitempty"`
|
|
20019
|
+
ToolBindings []WorkbenchAgentToolBinding `json:"toolBindings,omitempty"`
|
|
20020
|
+
}
|
|
20021
|
+
|
|
20022
|
+
// WorkbenchCatalogAnalysisProfile defines model for WorkbenchCatalogAnalysisProfile.
|
|
20023
|
+
type WorkbenchCatalogAnalysisProfile struct {
|
|
20024
|
+
Enabled bool `json:"enabled"`
|
|
20025
|
+
ID string `json:"id"`
|
|
20026
|
+
Mode string `json:"mode"`
|
|
20027
|
+
Name string `json:"name"`
|
|
20028
|
+
}
|
|
20029
|
+
|
|
20030
|
+
// WorkbenchCatalogDataSource defines model for WorkbenchCatalogDataSource.
|
|
20031
|
+
type WorkbenchCatalogDataSource struct {
|
|
20032
|
+
BackendType string `json:"backendType"`
|
|
20033
|
+
Enabled bool `json:"enabled"`
|
|
20034
|
+
ID string `json:"id"`
|
|
20035
|
+
MCPAdapter string `json:"mcpAdapter"`
|
|
20036
|
+
Name string `json:"name"`
|
|
20037
|
+
SourceKind string `json:"sourceKind"`
|
|
20038
|
+
ValidationMessage string `json:"validationMessage,omitempty"`
|
|
20039
|
+
ValidationStatus string `json:"validationStatus,omitempty"`
|
|
20040
|
+
}
|
|
20041
|
+
|
|
20042
|
+
// WorkbenchCatalogEnvelope defines model for WorkbenchCatalogEnvelope.
|
|
20043
|
+
type WorkbenchCatalogEnvelope struct {
|
|
20044
|
+
Data WorkbenchCatalog `json:"data"`
|
|
20045
|
+
}
|
|
20046
|
+
|
|
20047
|
+
// WorkbenchCreateSessionRequest defines model for WorkbenchCreateSessionRequest.
|
|
20048
|
+
type WorkbenchCreateSessionRequest struct {
|
|
20049
|
+
AgentProviderID string `json:"agentProviderId,omitempty"`
|
|
20050
|
+
AlertID string `json:"alertId,omitempty"`
|
|
20051
|
+
Mode WorkbenchCreateSessionRequestMode `json:"mode,omitempty"`
|
|
20052
|
+
PinnedContext map[string]any `json:"pinnedContext,omitempty"`
|
|
20053
|
+
Scope *WorkbenchSessionScope `json:"scope,omitempty"`
|
|
20054
|
+
Source string `json:"source,omitempty"`
|
|
20055
|
+
Tags []string `json:"tags,omitempty"`
|
|
20056
|
+
Title string `json:"title,omitempty"`
|
|
20057
|
+
Workload string `json:"workload,omitempty"`
|
|
20058
|
+
}
|
|
20059
|
+
|
|
20060
|
+
// WorkbenchCreateSessionRequestMode defines model for WorkbenchCreateSessionRequest.Mode.
|
|
20061
|
+
type WorkbenchCreateSessionRequestMode string
|
|
20062
|
+
|
|
20063
|
+
// WorkbenchDataSource defines model for WorkbenchDataSource.
|
|
20064
|
+
type WorkbenchDataSource struct {
|
|
20065
|
+
BackendType string `json:"backendType"`
|
|
20066
|
+
Config map[string]any `json:"config,omitempty"`
|
|
20067
|
+
CreatedAt time.Time `json:"createdAt"`
|
|
20068
|
+
Enabled bool `json:"enabled"`
|
|
20069
|
+
ID string `json:"id"`
|
|
20070
|
+
LastValidatedAt *time.Time `json:"lastValidatedAt,omitempty"`
|
|
20071
|
+
MCPAdapter string `json:"mcpAdapter"`
|
|
20072
|
+
Name string `json:"name"`
|
|
20073
|
+
QueryBudget map[string]any `json:"queryBudget,omitempty"`
|
|
20074
|
+
RedactionPolicy map[string]any `json:"redactionPolicy,omitempty"`
|
|
20075
|
+
Scope map[string]any `json:"scope,omitempty"`
|
|
20076
|
+
SourceKind string `json:"sourceKind"`
|
|
20077
|
+
UpdatedAt time.Time `json:"updatedAt"`
|
|
20078
|
+
ValidationMessage string `json:"validationMessage,omitempty"`
|
|
20079
|
+
ValidationStatus string `json:"validationStatus,omitempty"`
|
|
20080
|
+
}
|
|
20081
|
+
|
|
20082
|
+
// WorkbenchDataSourceEnvelope defines model for WorkbenchDataSourceEnvelope.
|
|
20083
|
+
type WorkbenchDataSourceEnvelope struct {
|
|
20084
|
+
Data WorkbenchDataSource `json:"data"`
|
|
20085
|
+
}
|
|
20086
|
+
|
|
20087
|
+
// WorkbenchDataSourceInput defines model for WorkbenchDataSourceInput.
|
|
20088
|
+
type WorkbenchDataSourceInput struct {
|
|
20089
|
+
BackendType string `json:"backendType"`
|
|
20090
|
+
Config map[string]any `json:"config,omitempty"`
|
|
20091
|
+
CredentialRef string `json:"credentialRef,omitempty"`
|
|
20092
|
+
Enabled bool `json:"enabled"`
|
|
20093
|
+
ID string `json:"id"`
|
|
20094
|
+
MCPAdapter string `json:"mcpAdapter"`
|
|
20095
|
+
Name string `json:"name"`
|
|
20096
|
+
QueryBudget map[string]any `json:"queryBudget,omitempty"`
|
|
20097
|
+
RedactionPolicy map[string]any `json:"redactionPolicy,omitempty"`
|
|
20098
|
+
Scope map[string]any `json:"scope,omitempty"`
|
|
20099
|
+
SourceKind string `json:"sourceKind"`
|
|
20100
|
+
}
|
|
20101
|
+
|
|
20102
|
+
// WorkbenchDataSourceListEnvelope defines model for WorkbenchDataSourceListEnvelope.
|
|
20103
|
+
type WorkbenchDataSourceListEnvelope struct {
|
|
20104
|
+
Items []WorkbenchDataSource `json:"items"`
|
|
20105
|
+
}
|
|
20106
|
+
|
|
18955
20107
|
// WorkbenchErrorEvent defines model for WorkbenchErrorEvent.
|
|
18956
20108
|
type WorkbenchErrorEvent struct {
|
|
18957
20109
|
Code string `json:"code,omitempty"`
|
|
@@ -18969,6 +20121,19 @@ type WorkbenchErrorEvent struct {
|
|
|
18969
20121
|
// WorkbenchErrorEventType defines model for WorkbenchErrorEvent.Type.
|
|
18970
20122
|
type WorkbenchErrorEventType string
|
|
18971
20123
|
|
|
20124
|
+
// WorkbenchEvidence defines model for WorkbenchEvidence.
|
|
20125
|
+
type WorkbenchEvidence struct {
|
|
20126
|
+
Attributes map[string]any `json:"attributes,omitempty"`
|
|
20127
|
+
ClusterID string `json:"clusterId,omitempty"`
|
|
20128
|
+
ID string `json:"id"`
|
|
20129
|
+
Kind string `json:"kind"`
|
|
20130
|
+
Namespace string `json:"namespace,omitempty"`
|
|
20131
|
+
Severity string `json:"severity,omitempty"`
|
|
20132
|
+
Summary string `json:"summary"`
|
|
20133
|
+
Timestamp *time.Time `json:"timestamp,omitempty"`
|
|
20134
|
+
Title string `json:"title"`
|
|
20135
|
+
}
|
|
20136
|
+
|
|
18972
20137
|
// WorkbenchGlobalAssistantEventEnvelope defines model for WorkbenchGlobalAssistantEventEnvelope.
|
|
18973
20138
|
type WorkbenchGlobalAssistantEventEnvelope struct {
|
|
18974
20139
|
Ok bool `json:"ok"`
|
|
@@ -18987,6 +20152,136 @@ type WorkbenchGlobalAssistantOpenRequest struct {
|
|
|
18987
20152
|
// WorkbenchGlobalAssistantOpenRequestAction defines model for WorkbenchGlobalAssistantOpenRequest.Action.
|
|
18988
20153
|
type WorkbenchGlobalAssistantOpenRequestAction string
|
|
18989
20154
|
|
|
20155
|
+
// WorkbenchGraph defines model for WorkbenchGraph.
|
|
20156
|
+
type WorkbenchGraph struct {
|
|
20157
|
+
Edges []WorkbenchGraphEdge `json:"edges,omitempty"`
|
|
20158
|
+
FocusNodeID string `json:"focusNodeId,omitempty"`
|
|
20159
|
+
Layout string `json:"layout,omitempty"`
|
|
20160
|
+
Nodes []WorkbenchGraphNode `json:"nodes,omitempty"`
|
|
20161
|
+
}
|
|
20162
|
+
|
|
20163
|
+
// WorkbenchGraphEdge defines model for WorkbenchGraphEdge.
|
|
20164
|
+
type WorkbenchGraphEdge struct {
|
|
20165
|
+
Attributes map[string]any `json:"attributes,omitempty"`
|
|
20166
|
+
EvidenceIDs []string `json:"evidenceIds,omitempty"`
|
|
20167
|
+
ID string `json:"id"`
|
|
20168
|
+
Relation string `json:"relation"`
|
|
20169
|
+
Severity string `json:"severity,omitempty"`
|
|
20170
|
+
Source string `json:"source"`
|
|
20171
|
+
Target string `json:"target"`
|
|
20172
|
+
}
|
|
20173
|
+
|
|
20174
|
+
// WorkbenchGraphNode defines model for WorkbenchGraphNode.
|
|
20175
|
+
type WorkbenchGraphNode struct {
|
|
20176
|
+
Attributes map[string]any `json:"attributes,omitempty"`
|
|
20177
|
+
EvidenceIDs []string `json:"evidenceIds,omitempty"`
|
|
20178
|
+
ID string `json:"id"`
|
|
20179
|
+
Kind string `json:"kind"`
|
|
20180
|
+
Severity string `json:"severity,omitempty"`
|
|
20181
|
+
SourceRefs []string `json:"sourceRefs,omitempty"`
|
|
20182
|
+
Subtitle string `json:"subtitle,omitempty"`
|
|
20183
|
+
Title string `json:"title"`
|
|
20184
|
+
}
|
|
20185
|
+
|
|
20186
|
+
// WorkbenchHypothesis defines model for WorkbenchHypothesis.
|
|
20187
|
+
type WorkbenchHypothesis struct {
|
|
20188
|
+
Confidence int `json:"confidence"`
|
|
20189
|
+
EvidenceIDs []string `json:"evidenceIds,omitempty"`
|
|
20190
|
+
ID string `json:"id"`
|
|
20191
|
+
Recommendations []string `json:"recommendations,omitempty"`
|
|
20192
|
+
Summary string `json:"summary"`
|
|
20193
|
+
Title string `json:"title"`
|
|
20194
|
+
}
|
|
20195
|
+
|
|
20196
|
+
// WorkbenchInsight defines model for WorkbenchInsight.
|
|
20197
|
+
type WorkbenchInsight struct {
|
|
20198
|
+
Actions []string `json:"actions,omitempty"`
|
|
20199
|
+
Description string `json:"description"`
|
|
20200
|
+
Severity string `json:"severity"`
|
|
20201
|
+
Title string `json:"title"`
|
|
20202
|
+
}
|
|
20203
|
+
|
|
20204
|
+
// WorkbenchInsightListEnvelope defines model for WorkbenchInsightListEnvelope.
|
|
20205
|
+
type WorkbenchInsightListEnvelope struct {
|
|
20206
|
+
Items []WorkbenchInsight `json:"items"`
|
|
20207
|
+
}
|
|
20208
|
+
|
|
20209
|
+
// WorkbenchInspectionFinding defines model for WorkbenchInspectionFinding.
|
|
20210
|
+
type WorkbenchInspectionFinding struct {
|
|
20211
|
+
Data map[string]any `json:"data,omitempty"`
|
|
20212
|
+
ID string `json:"id"`
|
|
20213
|
+
Recommendation string `json:"recommendation,omitempty"`
|
|
20214
|
+
Severity string `json:"severity"`
|
|
20215
|
+
Source string `json:"source"`
|
|
20216
|
+
Summary string `json:"summary"`
|
|
20217
|
+
Title string `json:"title"`
|
|
20218
|
+
}
|
|
20219
|
+
|
|
20220
|
+
// WorkbenchInspectionRun defines model for WorkbenchInspectionRun.
|
|
20221
|
+
type WorkbenchInspectionRun struct {
|
|
20222
|
+
CompletedAt *time.Time `json:"completedAt,omitempty"`
|
|
20223
|
+
CreatedAt time.Time `json:"createdAt"`
|
|
20224
|
+
Findings []WorkbenchInspectionFinding `json:"findings,omitempty"`
|
|
20225
|
+
ID string `json:"id"`
|
|
20226
|
+
Report map[string]any `json:"report,omitempty"`
|
|
20227
|
+
Severity string `json:"severity"`
|
|
20228
|
+
StartedAt time.Time `json:"startedAt"`
|
|
20229
|
+
Status string `json:"status"`
|
|
20230
|
+
Summary string `json:"summary"`
|
|
20231
|
+
TaskID string `json:"taskId"`
|
|
20232
|
+
TriggeredBy string `json:"triggeredBy"`
|
|
20233
|
+
}
|
|
20234
|
+
|
|
20235
|
+
// WorkbenchInspectionRunEnvelope defines model for WorkbenchInspectionRunEnvelope.
|
|
20236
|
+
type WorkbenchInspectionRunEnvelope struct {
|
|
20237
|
+
Data WorkbenchInspectionRun `json:"data"`
|
|
20238
|
+
}
|
|
20239
|
+
|
|
20240
|
+
// WorkbenchInspectionRunListEnvelope defines model for WorkbenchInspectionRunListEnvelope.
|
|
20241
|
+
type WorkbenchInspectionRunListEnvelope struct {
|
|
20242
|
+
Items []WorkbenchInspectionRun `json:"items"`
|
|
20243
|
+
}
|
|
20244
|
+
|
|
20245
|
+
// WorkbenchInspectionTask defines model for WorkbenchInspectionTask.
|
|
20246
|
+
type WorkbenchInspectionTask struct {
|
|
20247
|
+
Checks []string `json:"checks,omitempty"`
|
|
20248
|
+
ClusterID string `json:"clusterId,omitempty"`
|
|
20249
|
+
CreatedAt time.Time `json:"createdAt"`
|
|
20250
|
+
CreatedBy string `json:"createdBy"`
|
|
20251
|
+
Enabled bool `json:"enabled"`
|
|
20252
|
+
ID string `json:"id"`
|
|
20253
|
+
IntervalMinutes int `json:"intervalMinutes"`
|
|
20254
|
+
LastRunAt *time.Time `json:"lastRunAt,omitempty"`
|
|
20255
|
+
Metadata map[string]any `json:"metadata,omitempty"`
|
|
20256
|
+
Namespace string `json:"namespace,omitempty"`
|
|
20257
|
+
ScopeType string `json:"scopeType"`
|
|
20258
|
+
Title string `json:"title"`
|
|
20259
|
+
UpdatedAt time.Time `json:"updatedAt"`
|
|
20260
|
+
}
|
|
20261
|
+
|
|
20262
|
+
// WorkbenchInspectionTaskEnvelope defines model for WorkbenchInspectionTaskEnvelope.
|
|
20263
|
+
type WorkbenchInspectionTaskEnvelope struct {
|
|
20264
|
+
Data WorkbenchInspectionTask `json:"data"`
|
|
20265
|
+
}
|
|
20266
|
+
|
|
20267
|
+
// WorkbenchInspectionTaskInput defines model for WorkbenchInspectionTaskInput.
|
|
20268
|
+
type WorkbenchInspectionTaskInput struct {
|
|
20269
|
+
Checks []string `json:"checks,omitempty"`
|
|
20270
|
+
ClusterID string `json:"clusterId,omitempty"`
|
|
20271
|
+
Enabled bool `json:"enabled"`
|
|
20272
|
+
ID string `json:"id"`
|
|
20273
|
+
IntervalMinutes int `json:"intervalMinutes"`
|
|
20274
|
+
Metadata map[string]any `json:"metadata,omitempty"`
|
|
20275
|
+
Namespace string `json:"namespace,omitempty"`
|
|
20276
|
+
ScopeType string `json:"scopeType"`
|
|
20277
|
+
Title string `json:"title"`
|
|
20278
|
+
}
|
|
20279
|
+
|
|
20280
|
+
// WorkbenchInspectionTaskListEnvelope defines model for WorkbenchInspectionTaskListEnvelope.
|
|
20281
|
+
type WorkbenchInspectionTaskListEnvelope struct {
|
|
20282
|
+
Items []WorkbenchInspectionTask `json:"items"`
|
|
20283
|
+
}
|
|
20284
|
+
|
|
18990
20285
|
// WorkbenchLaunchContext defines model for WorkbenchLaunchContext.
|
|
18991
20286
|
type WorkbenchLaunchContext struct {
|
|
18992
20287
|
AlertID string `json:"alertId,omitempty"`
|
|
@@ -19015,6 +20310,19 @@ type WorkbenchLaunchContext struct {
|
|
|
19015
20310
|
// WorkbenchLaunchContextSourceWorkbench defines model for WorkbenchLaunchContext.SourceWorkbench.
|
|
19016
20311
|
type WorkbenchLaunchContextSourceWorkbench string
|
|
19017
20312
|
|
|
20313
|
+
// WorkbenchMessage defines model for WorkbenchMessage.
|
|
20314
|
+
type WorkbenchMessage struct {
|
|
20315
|
+
Content string `json:"content"`
|
|
20316
|
+
CreatedAt time.Time `json:"createdAt"`
|
|
20317
|
+
ID string `json:"id"`
|
|
20318
|
+
Metadata map[string]any `json:"metadata,omitempty"`
|
|
20319
|
+
Role WorkbenchMessageRole `json:"role"`
|
|
20320
|
+
SessionID string `json:"sessionId"`
|
|
20321
|
+
}
|
|
20322
|
+
|
|
20323
|
+
// WorkbenchMessageRole defines model for WorkbenchMessage.Role.
|
|
20324
|
+
type WorkbenchMessageRole string
|
|
20325
|
+
|
|
19018
20326
|
// WorkbenchMessageDeltaEvent defines model for WorkbenchMessageDeltaEvent.
|
|
19019
20327
|
type WorkbenchMessageDeltaEvent struct {
|
|
19020
20328
|
ContentDelta string `json:"contentDelta"`
|
|
@@ -19054,6 +20362,103 @@ type WorkbenchMessageDoneEventRole string
|
|
|
19054
20362
|
// WorkbenchMessageDoneEventType defines model for WorkbenchMessageDoneEvent.Type.
|
|
19055
20363
|
type WorkbenchMessageDoneEventType string
|
|
19056
20364
|
|
|
20365
|
+
// WorkbenchMessageListEnvelope defines model for WorkbenchMessageListEnvelope.
|
|
20366
|
+
type WorkbenchMessageListEnvelope struct {
|
|
20367
|
+
Items []WorkbenchMessage `json:"items"`
|
|
20368
|
+
}
|
|
20369
|
+
|
|
20370
|
+
// WorkbenchOperationState defines model for WorkbenchOperationState.
|
|
20371
|
+
type WorkbenchOperationState struct {
|
|
20372
|
+
ArtifactCount int `json:"artifactCount,omitempty"`
|
|
20373
|
+
Cancelable bool `json:"cancelable"`
|
|
20374
|
+
ClaimedByAgentID string `json:"claimedByAgentId,omitempty"`
|
|
20375
|
+
ExternalRunID string `json:"externalRunId,omitempty"`
|
|
20376
|
+
FailureEvidence []map[string]any `json:"failureEvidence,omitempty"`
|
|
20377
|
+
FailureMessage string `json:"failureMessage,omitempty"`
|
|
20378
|
+
FailureReason string `json:"failureReason,omitempty"`
|
|
20379
|
+
FinalStateRecordedAt *time.Time `json:"finalStateRecordedAt,omitempty"`
|
|
20380
|
+
HeartbeatRequired bool `json:"heartbeatRequired"`
|
|
20381
|
+
HeartbeatStale bool `json:"heartbeatStale"`
|
|
20382
|
+
LastHeartbeatAt *time.Time `json:"lastHeartbeatAt,omitempty"`
|
|
20383
|
+
NextHeartbeatDeadline *time.Time `json:"nextHeartbeatDeadline,omitempty"`
|
|
20384
|
+
NextTimeoutDeadline *time.Time `json:"nextTimeoutDeadline,omitempty"`
|
|
20385
|
+
Phase string `json:"phase"`
|
|
20386
|
+
RecommendedNextAction string `json:"recommendedNextAction,omitempty"`
|
|
20387
|
+
Retryable bool `json:"retryable"`
|
|
20388
|
+
RunnerClaimRequired bool `json:"runnerClaimRequired"`
|
|
20389
|
+
Status string `json:"status"`
|
|
20390
|
+
Terminal bool `json:"terminal"`
|
|
20391
|
+
TimeoutSeconds int `json:"timeoutSeconds"`
|
|
20392
|
+
TimeoutStale bool `json:"timeoutStale"`
|
|
20393
|
+
ToolExecutionCount int `json:"toolExecutionCount,omitempty"`
|
|
20394
|
+
}
|
|
20395
|
+
|
|
20396
|
+
// WorkbenchRootCauseRun defines model for WorkbenchRootCauseRun.
|
|
20397
|
+
type WorkbenchRootCauseRun struct {
|
|
20398
|
+
AlertID string `json:"alertId,omitempty"`
|
|
20399
|
+
AnalysisProfileID string `json:"analysisProfileId,omitempty"`
|
|
20400
|
+
ClusterID string `json:"clusterId,omitempty"`
|
|
20401
|
+
CreatedAt time.Time `json:"createdAt"`
|
|
20402
|
+
CreatedBy string `json:"createdBy"`
|
|
20403
|
+
DataSourceSnapshot map[string]any `json:"dataSourceSnapshot,omitempty"`
|
|
20404
|
+
DedupKey string `json:"dedupKey,omitempty"`
|
|
20405
|
+
Evidence []WorkbenchEvidence `json:"evidence,omitempty"`
|
|
20406
|
+
Hypotheses []WorkbenchHypothesis `json:"hypotheses,omitempty"`
|
|
20407
|
+
ID string `json:"id"`
|
|
20408
|
+
Kind string `json:"kind,omitempty"`
|
|
20409
|
+
Namespace string `json:"namespace,omitempty"`
|
|
20410
|
+
PlaybookResults map[string]any `json:"playbookResults,omitempty"`
|
|
20411
|
+
Question string `json:"question,omitempty"`
|
|
20412
|
+
Recommendations []string `json:"recommendations,omitempty"`
|
|
20413
|
+
RemediationPlan map[string]any `json:"remediationPlan,omitempty"`
|
|
20414
|
+
SessionID string `json:"sessionId,omitempty"`
|
|
20415
|
+
Severity string `json:"severity"`
|
|
20416
|
+
Status string `json:"status"`
|
|
20417
|
+
Summary string `json:"summary"`
|
|
20418
|
+
TimeRangeMinutes int `json:"timeRangeMinutes"`
|
|
20419
|
+
Title string `json:"title"`
|
|
20420
|
+
ToolExecutions []WorkbenchToolExecution `json:"toolExecutions,omitempty"`
|
|
20421
|
+
TriggerType string `json:"triggerType,omitempty"`
|
|
20422
|
+
UpdatedAt time.Time `json:"updatedAt"`
|
|
20423
|
+
WorkloadKind string `json:"workloadKind,omitempty"`
|
|
20424
|
+
WorkloadName string `json:"workloadName,omitempty"`
|
|
20425
|
+
}
|
|
20426
|
+
|
|
20427
|
+
// WorkbenchRootCauseRunEnvelope defines model for WorkbenchRootCauseRunEnvelope.
|
|
20428
|
+
type WorkbenchRootCauseRunEnvelope struct {
|
|
20429
|
+
Data WorkbenchRootCauseRun `json:"data"`
|
|
20430
|
+
}
|
|
20431
|
+
|
|
20432
|
+
// WorkbenchRootCauseRunInput defines model for WorkbenchRootCauseRunInput.
|
|
20433
|
+
type WorkbenchRootCauseRunInput struct {
|
|
20434
|
+
AgentProviderID string `json:"agentProviderId,omitempty"`
|
|
20435
|
+
AlertID string `json:"alertId,omitempty"`
|
|
20436
|
+
AnalysisProfileID string `json:"analysisProfileId,omitempty"`
|
|
20437
|
+
ClusterID string `json:"clusterId,omitempty"`
|
|
20438
|
+
Kind string `json:"kind,omitempty"`
|
|
20439
|
+
Namespace string `json:"namespace,omitempty"`
|
|
20440
|
+
Question string `json:"question,omitempty"`
|
|
20441
|
+
SessionID string `json:"sessionId,omitempty"`
|
|
20442
|
+
TimeRangeMinutes int `json:"timeRangeMinutes,omitempty"`
|
|
20443
|
+
Title string `json:"title,omitempty"`
|
|
20444
|
+
TriggerType string `json:"triggerType,omitempty"`
|
|
20445
|
+
WorkloadKind string `json:"workloadKind,omitempty"`
|
|
20446
|
+
WorkloadName string `json:"workloadName,omitempty"`
|
|
20447
|
+
}
|
|
20448
|
+
|
|
20449
|
+
// WorkbenchRootCauseRunListEnvelope defines model for WorkbenchRootCauseRunListEnvelope.
|
|
20450
|
+
type WorkbenchRootCauseRunListEnvelope struct {
|
|
20451
|
+
Items []WorkbenchRootCauseRun `json:"items"`
|
|
20452
|
+
}
|
|
20453
|
+
|
|
20454
|
+
// WorkbenchRunRef defines model for WorkbenchRunRef.
|
|
20455
|
+
type WorkbenchRunRef struct {
|
|
20456
|
+
CreatedAt *time.Time `json:"createdAt,omitempty"`
|
|
20457
|
+
ID string `json:"id"`
|
|
20458
|
+
Kind string `json:"kind"`
|
|
20459
|
+
Status string `json:"status,omitempty"`
|
|
20460
|
+
}
|
|
20461
|
+
|
|
19057
20462
|
// WorkbenchSelectionContext defines model for WorkbenchSelectionContext.
|
|
19058
20463
|
type WorkbenchSelectionContext struct {
|
|
19059
20464
|
Kind WorkbenchSelectionContextKind `json:"kind"`
|
|
@@ -19064,6 +20469,11 @@ type WorkbenchSelectionContext struct {
|
|
|
19064
20469
|
// WorkbenchSelectionContextKind defines model for WorkbenchSelectionContext.Kind.
|
|
19065
20470
|
type WorkbenchSelectionContextKind string
|
|
19066
20471
|
|
|
20472
|
+
// WorkbenchSendMessageRequest defines model for WorkbenchSendMessageRequest.
|
|
20473
|
+
type WorkbenchSendMessageRequest struct {
|
|
20474
|
+
Content string `json:"content"`
|
|
20475
|
+
}
|
|
20476
|
+
|
|
19067
20477
|
// WorkbenchSendMessageStreamRequest defines model for WorkbenchSendMessageStreamRequest.
|
|
19068
20478
|
type WorkbenchSendMessageStreamRequest struct {
|
|
19069
20479
|
AgentProviderID string `json:"agentProviderId,omitempty"`
|
|
@@ -19077,6 +20487,93 @@ type WorkbenchSendMessageStreamRequest struct {
|
|
|
19077
20487
|
Toolset AnyValue `json:"toolset,omitempty"`
|
|
19078
20488
|
}
|
|
19079
20489
|
|
|
20490
|
+
// WorkbenchSession defines model for WorkbenchSession.
|
|
20491
|
+
type WorkbenchSession struct {
|
|
20492
|
+
CreatedAt time.Time `json:"createdAt"`
|
|
20493
|
+
CreatedBy string `json:"createdBy"`
|
|
20494
|
+
ID string `json:"id"`
|
|
20495
|
+
Metadata *WorkbenchSessionMetadata `json:"metadata,omitempty"`
|
|
20496
|
+
Title string `json:"title"`
|
|
20497
|
+
UpdatedAt time.Time `json:"updatedAt"`
|
|
20498
|
+
}
|
|
20499
|
+
|
|
20500
|
+
// WorkbenchSessionEnvelope defines model for WorkbenchSessionEnvelope.
|
|
20501
|
+
type WorkbenchSessionEnvelope struct {
|
|
20502
|
+
Data WorkbenchSession `json:"data"`
|
|
20503
|
+
}
|
|
20504
|
+
|
|
20505
|
+
// WorkbenchSessionListEnvelope defines model for WorkbenchSessionListEnvelope.
|
|
20506
|
+
type WorkbenchSessionListEnvelope struct {
|
|
20507
|
+
Items []WorkbenchSession `json:"items"`
|
|
20508
|
+
}
|
|
20509
|
+
|
|
20510
|
+
// WorkbenchSessionMessageResult defines model for WorkbenchSessionMessageResult.
|
|
20511
|
+
type WorkbenchSessionMessageResult struct {
|
|
20512
|
+
AnalysisArtifacts []WorkbenchAnalysisArtifact `json:"analysisArtifacts,omitempty"`
|
|
20513
|
+
Messages []WorkbenchMessage `json:"messages"`
|
|
20514
|
+
SessionPatch map[string]any `json:"sessionPatch,omitempty"`
|
|
20515
|
+
ToolCalls []WorkbenchToolExecution `json:"toolCalls,omitempty"`
|
|
20516
|
+
}
|
|
20517
|
+
|
|
20518
|
+
// WorkbenchSessionMessageResultEnvelope defines model for WorkbenchSessionMessageResultEnvelope.
|
|
20519
|
+
type WorkbenchSessionMessageResultEnvelope struct {
|
|
20520
|
+
Data WorkbenchSessionMessageResult `json:"data"`
|
|
20521
|
+
}
|
|
20522
|
+
|
|
20523
|
+
// WorkbenchSessionMetadata defines model for WorkbenchSessionMetadata.
|
|
20524
|
+
type WorkbenchSessionMetadata struct {
|
|
20525
|
+
AgentProviderID string `json:"agentProviderId,omitempty"`
|
|
20526
|
+
AnalysisRunRefs []WorkbenchRunRef `json:"analysisRunRefs,omitempty"`
|
|
20527
|
+
ArchivedAt *time.Time `json:"archivedAt,omitempty"`
|
|
20528
|
+
KnowledgeContext map[string]any `json:"knowledgeContext,omitempty"`
|
|
20529
|
+
Mode WorkbenchSessionMetadataMode `json:"mode,omitempty"`
|
|
20530
|
+
PinnedContext map[string]any `json:"pinnedContext,omitempty"`
|
|
20531
|
+
Scope *WorkbenchSessionScope `json:"scope,omitempty"`
|
|
20532
|
+
Source string `json:"source,omitempty"`
|
|
20533
|
+
Status string `json:"status,omitempty"`
|
|
20534
|
+
Summary string `json:"summary,omitempty"`
|
|
20535
|
+
Tags []string `json:"tags,omitempty"`
|
|
20536
|
+
Toolset *WorkbenchSessionToolset `json:"toolset,omitempty"`
|
|
20537
|
+
}
|
|
20538
|
+
|
|
20539
|
+
// WorkbenchSessionMetadataMode defines model for WorkbenchSessionMetadata.Mode.
|
|
20540
|
+
type WorkbenchSessionMetadataMode string
|
|
20541
|
+
|
|
20542
|
+
// WorkbenchSessionScope defines model for WorkbenchSessionScope.
|
|
20543
|
+
type WorkbenchSessionScope struct {
|
|
20544
|
+
AlertID string `json:"alertId,omitempty"`
|
|
20545
|
+
ClusterID string `json:"clusterId,omitempty"`
|
|
20546
|
+
Namespace string `json:"namespace,omitempty"`
|
|
20547
|
+
Node string `json:"node,omitempty"`
|
|
20548
|
+
Pod string `json:"pod,omitempty"`
|
|
20549
|
+
Service string `json:"service,omitempty"`
|
|
20550
|
+
TimeRangeMinutes int `json:"timeRangeMinutes,omitempty"`
|
|
20551
|
+
Workload string `json:"workload,omitempty"`
|
|
20552
|
+
}
|
|
20553
|
+
|
|
20554
|
+
// WorkbenchSessionToolset defines model for WorkbenchSessionToolset.
|
|
20555
|
+
type WorkbenchSessionToolset struct {
|
|
20556
|
+
BudgetOverrides map[string]any `json:"budgetOverrides,omitempty"`
|
|
20557
|
+
DisabledToolNames []string `json:"disabledToolNames,omitempty"`
|
|
20558
|
+
EnabledAdapterIDs []string `json:"enabledAdapterIds,omitempty"`
|
|
20559
|
+
EnabledSkillIDs []string `json:"enabledSkillIds,omitempty"`
|
|
20560
|
+
ScopeOverrides map[string]any `json:"scopeOverrides,omitempty"`
|
|
20561
|
+
}
|
|
20562
|
+
|
|
20563
|
+
// WorkbenchSkill defines model for WorkbenchSkill.
|
|
20564
|
+
type WorkbenchSkill struct {
|
|
20565
|
+
BlueprintRefs []string `json:"blueprintRefs,omitempty"`
|
|
20566
|
+
CapabilityRefs []string `json:"capabilityRefs,omitempty"`
|
|
20567
|
+
Category string `json:"category,omitempty"`
|
|
20568
|
+
Description string `json:"description,omitempty"`
|
|
20569
|
+
Enabled bool `json:"enabled"`
|
|
20570
|
+
ID string `json:"id"`
|
|
20571
|
+
Name string `json:"name"`
|
|
20572
|
+
OwnerModule string `json:"ownerModule,omitempty"`
|
|
20573
|
+
ScopeRules []string `json:"scopeRules,omitempty"`
|
|
20574
|
+
Scopes []string `json:"scopes,omitempty"`
|
|
20575
|
+
}
|
|
20576
|
+
|
|
19080
20577
|
// WorkbenchSource defines model for WorkbenchSource.
|
|
19081
20578
|
type WorkbenchSource struct {
|
|
19082
20579
|
ID string `json:"id"`
|
|
@@ -19204,6 +20701,19 @@ type WorkbenchToolDeltaEvent struct {
|
|
|
19204
20701
|
// WorkbenchToolDeltaEventType defines model for WorkbenchToolDeltaEvent.Type.
|
|
19205
20702
|
type WorkbenchToolDeltaEventType string
|
|
19206
20703
|
|
|
20704
|
+
// WorkbenchToolExecution defines model for WorkbenchToolExecution.
|
|
20705
|
+
type WorkbenchToolExecution struct {
|
|
20706
|
+
AdapterID string `json:"adapterId"`
|
|
20707
|
+
CompletedAt *time.Time `json:"completedAt,omitempty"`
|
|
20708
|
+
ID string `json:"id"`
|
|
20709
|
+
Input map[string]any `json:"input,omitempty"`
|
|
20710
|
+
Output map[string]any `json:"output,omitempty"`
|
|
20711
|
+
StartedAt time.Time `json:"startedAt"`
|
|
20712
|
+
Status string `json:"status"`
|
|
20713
|
+
Summary string `json:"summary,omitempty"`
|
|
20714
|
+
ToolName string `json:"toolName"`
|
|
20715
|
+
}
|
|
20716
|
+
|
|
19207
20717
|
// WorkbenchToolStartedEvent defines model for WorkbenchToolStartedEvent.
|
|
19208
20718
|
type WorkbenchToolStartedEvent struct {
|
|
19209
20719
|
CreatedAt time.Time `json:"createdAt"`
|
|
@@ -19219,6 +20729,24 @@ type WorkbenchToolStartedEvent struct {
|
|
|
19219
20729
|
// WorkbenchToolStartedEventType defines model for WorkbenchToolStartedEvent.Type.
|
|
19220
20730
|
type WorkbenchToolStartedEventType string
|
|
19221
20731
|
|
|
20732
|
+
// WorkbenchUpdateSessionRequest defines model for WorkbenchUpdateSessionRequest.
|
|
20733
|
+
type WorkbenchUpdateSessionRequest struct {
|
|
20734
|
+
AgentProviderID string `json:"agentProviderId,omitempty"`
|
|
20735
|
+
Archived bool `json:"archived,omitempty"`
|
|
20736
|
+
Mode WorkbenchUpdateSessionRequestMode `json:"mode,omitempty"`
|
|
20737
|
+
PinnedContext map[string]any `json:"pinnedContext,omitempty"`
|
|
20738
|
+
Scope *WorkbenchSessionScope `json:"scope,omitempty"`
|
|
20739
|
+
Source string `json:"source,omitempty"`
|
|
20740
|
+
Status string `json:"status,omitempty"`
|
|
20741
|
+
Summary string `json:"summary,omitempty"`
|
|
20742
|
+
Tags []string `json:"tags,omitempty"`
|
|
20743
|
+
Title string `json:"title,omitempty"`
|
|
20744
|
+
Toolset *WorkbenchSessionToolset `json:"toolset,omitempty"`
|
|
20745
|
+
}
|
|
20746
|
+
|
|
20747
|
+
// WorkbenchUpdateSessionRequestMode defines model for WorkbenchUpdateSessionRequest.Mode.
|
|
20748
|
+
type WorkbenchUpdateSessionRequestMode string
|
|
20749
|
+
|
|
19222
20750
|
// WorkflowNodeRun defines model for WorkflowNodeRun.
|
|
19223
20751
|
type WorkflowNodeRun struct {
|
|
19224
20752
|
FinishedAt string `json:"finishedAt,omitempty"`
|
|
@@ -19311,12 +20839,18 @@ type AgentProviderRolloutAction string
|
|
|
19311
20839
|
// AgentProviderRolloutID defines model for AgentProviderRolloutID.
|
|
19312
20840
|
type AgentProviderRolloutID = string
|
|
19313
20841
|
|
|
20842
|
+
// AnalysisProfileID defines model for AnalysisProfileID.
|
|
20843
|
+
type AnalysisProfileID = string
|
|
20844
|
+
|
|
19314
20845
|
// ApplicationEnvironmentID defines model for ApplicationEnvironmentID.
|
|
19315
20846
|
type ApplicationEnvironmentID = string
|
|
19316
20847
|
|
|
19317
20848
|
// ApplicationID defines model for ApplicationID.
|
|
19318
20849
|
type ApplicationID = string
|
|
19319
20850
|
|
|
20851
|
+
// AutomationPolicyID defines model for AutomationPolicyID.
|
|
20852
|
+
type AutomationPolicyID = string
|
|
20853
|
+
|
|
19320
20854
|
// BuildTemplateID defines model for BuildTemplateID.
|
|
19321
20855
|
type BuildTemplateID = string
|
|
19322
20856
|
|
|
@@ -19353,6 +20887,9 @@ type ComputeResourceID = string
|
|
|
19353
20887
|
// ComputeTaskID defines model for ComputeTaskID.
|
|
19354
20888
|
type ComputeTaskID = string
|
|
19355
20889
|
|
|
20890
|
+
// CopilotRunID defines model for CopilotRunID.
|
|
20891
|
+
type CopilotRunID = string
|
|
20892
|
+
|
|
19356
20893
|
// DashboardID defines model for DashboardID.
|
|
19357
20894
|
type DashboardID = string
|
|
19358
20895
|
|
|
@@ -20231,6 +21768,11 @@ type ListAIMemoryRecordsParams struct {
|
|
|
20231
21768
|
OwnerID string `form:"ownerId,omitempty" json:"ownerId,omitempty"`
|
|
20232
21769
|
}
|
|
20233
21770
|
|
|
21771
|
+
// StreamAlertEventsParams defines parameters for StreamAlertEvents.
|
|
21772
|
+
type StreamAlertEventsParams struct {
|
|
21773
|
+
ClusterID string `form:"clusterId,omitempty" json:"clusterId,omitempty"`
|
|
21774
|
+
}
|
|
21775
|
+
|
|
20234
21776
|
// ListApplicationEnvironmentsParams defines parameters for ListApplicationEnvironments.
|
|
20235
21777
|
type ListApplicationEnvironmentsParams struct {
|
|
20236
21778
|
ApplicationID string `form:"applicationId,omitempty" json:"applicationId,omitempty"`
|
|
@@ -20480,6 +22022,25 @@ type ListKubernetesHelmReleaseHistoryParams struct {
|
|
|
20480
22022
|
Namespace KubernetesNamespaceQuery `form:"namespace,omitempty" json:"namespace,omitempty"`
|
|
20481
22023
|
}
|
|
20482
22024
|
|
|
22025
|
+
// GetKubernetesHelmReleaseManifestParams defines parameters for GetKubernetesHelmReleaseManifest.
|
|
22026
|
+
type GetKubernetesHelmReleaseManifestParams struct {
|
|
22027
|
+
// Namespace Omit to aggregate across namespaces when the operation supports cluster-wide reads.
|
|
22028
|
+
Namespace KubernetesNamespaceQuery `form:"namespace,omitempty" json:"namespace,omitempty"`
|
|
22029
|
+
Revision string `form:"revision,omitempty" json:"revision,omitempty"`
|
|
22030
|
+
}
|
|
22031
|
+
|
|
22032
|
+
// RollbackKubernetesHelmReleaseParams defines parameters for RollbackKubernetesHelmRelease.
|
|
22033
|
+
type RollbackKubernetesHelmReleaseParams struct {
|
|
22034
|
+
// Namespace Omit to aggregate across namespaces when the operation supports cluster-wide reads.
|
|
22035
|
+
Namespace KubernetesNamespaceQuery `form:"namespace,omitempty" json:"namespace,omitempty"`
|
|
22036
|
+
}
|
|
22037
|
+
|
|
22038
|
+
// PlanKubernetesHelmReleaseRollbackParams defines parameters for PlanKubernetesHelmReleaseRollback.
|
|
22039
|
+
type PlanKubernetesHelmReleaseRollbackParams struct {
|
|
22040
|
+
// Namespace Omit to aggregate across namespaces when the operation supports cluster-wide reads.
|
|
22041
|
+
Namespace KubernetesNamespaceQuery `form:"namespace,omitempty" json:"namespace,omitempty"`
|
|
22042
|
+
}
|
|
22043
|
+
|
|
20483
22044
|
// ListKubernetesBackendTLSPoliciesParams defines parameters for ListKubernetesBackendTLSPolicies.
|
|
20484
22045
|
type ListKubernetesBackendTLSPoliciesParams struct {
|
|
20485
22046
|
// Namespace Omit to aggregate across namespaces when the operation supports cluster-wide reads.
|
|
@@ -20608,6 +22169,40 @@ type ExecuteKubernetesResourceCreateParams struct {
|
|
|
20608
22169
|
IdempotencyKey IdempotencyKey `json:"Idempotency-Key"`
|
|
20609
22170
|
}
|
|
20610
22171
|
|
|
22172
|
+
// GetKubernetesResourceGraphParams defines parameters for GetKubernetesResourceGraph.
|
|
22173
|
+
type GetKubernetesResourceGraphParams struct {
|
|
22174
|
+
// Namespace Omit to aggregate across namespaces when the operation supports cluster-wide reads.
|
|
22175
|
+
Namespace KubernetesNamespaceQuery `form:"namespace,omitempty" json:"namespace,omitempty"`
|
|
22176
|
+
Kind string `form:"kind" json:"kind"`
|
|
22177
|
+
Name string `form:"name" json:"name"`
|
|
22178
|
+
}
|
|
22179
|
+
|
|
22180
|
+
// SearchKubernetesResourcesParams defines parameters for SearchKubernetesResources.
|
|
22181
|
+
type SearchKubernetesResourcesParams struct {
|
|
22182
|
+
Q string `form:"q" json:"q"`
|
|
22183
|
+
|
|
22184
|
+
// Namespace Omit to aggregate across namespaces when the operation supports cluster-wide reads.
|
|
22185
|
+
Namespace KubernetesNamespaceQuery `form:"namespace,omitempty" json:"namespace,omitempty"`
|
|
22186
|
+
|
|
22187
|
+
// Kinds Comma-separated canonical Kubernetes kinds. Omit to search the supported default inventory.
|
|
22188
|
+
Kinds []string `form:"kinds,omitempty" json:"kinds,omitempty"`
|
|
22189
|
+
Limit int `form:"limit,omitempty" json:"limit,omitempty"`
|
|
22190
|
+
}
|
|
22191
|
+
|
|
22192
|
+
// StreamKubernetesResourceEventsParams defines parameters for StreamKubernetesResourceEvents.
|
|
22193
|
+
type StreamKubernetesResourceEventsParams struct {
|
|
22194
|
+
// Namespace Omit to aggregate across namespaces when the operation supports cluster-wide reads.
|
|
22195
|
+
Namespace KubernetesNamespaceQuery `form:"namespace,omitempty" json:"namespace,omitempty"`
|
|
22196
|
+
Kinds []string `form:"kinds,omitempty" json:"kinds,omitempty"`
|
|
22197
|
+
}
|
|
22198
|
+
|
|
22199
|
+
// GetKubernetesSecurityPostureParams defines parameters for GetKubernetesSecurityPosture.
|
|
22200
|
+
type GetKubernetesSecurityPostureParams struct {
|
|
22201
|
+
// Namespace Omit to aggregate across namespaces when the operation supports cluster-wide reads.
|
|
22202
|
+
Namespace KubernetesNamespaceQuery `form:"namespace,omitempty" json:"namespace,omitempty"`
|
|
22203
|
+
Limit int `form:"limit,omitempty" json:"limit,omitempty"`
|
|
22204
|
+
}
|
|
22205
|
+
|
|
20611
22206
|
// ListKubernetesPersistentVolumeClaimsParams defines parameters for ListKubernetesPersistentVolumeClaims.
|
|
20612
22207
|
type ListKubernetesPersistentVolumeClaimsParams struct {
|
|
20613
22208
|
// Namespace Omit to aggregate across namespaces when the operation supports cluster-wide reads.
|
|
@@ -20887,11 +22482,18 @@ type ListComputeTasksParams struct {
|
|
|
20887
22482
|
ResourceKind string `form:"resourceKind,omitempty" json:"resourceKind,omitempty"`
|
|
20888
22483
|
|
|
20889
22484
|
// ResourceID Exact normalized resource identifier referenced by the task.
|
|
20890
|
-
ResourceID string
|
|
20891
|
-
|
|
20892
|
-
|
|
22485
|
+
ResourceID string `form:"resourceId,omitempty" json:"resourceId,omitempty"`
|
|
22486
|
+
|
|
22487
|
+
// SortBy Stable task field used for server-side ordering. Unsupported values are rejected.
|
|
22488
|
+
SortBy string `form:"sortBy,omitempty" json:"sortBy,omitempty"`
|
|
22489
|
+
SortOrder ListComputeTasksParamsSortOrder `form:"sortOrder,omitempty" json:"sortOrder,omitempty"`
|
|
22490
|
+
Cursor ComputeCursor `form:"cursor,omitempty" json:"cursor,omitempty"`
|
|
22491
|
+
Limit ComputeLimit `form:"limit,omitempty" json:"limit,omitempty"`
|
|
20893
22492
|
}
|
|
20894
22493
|
|
|
22494
|
+
// ListComputeTasksParamsSortOrder defines parameters for ListComputeTasks.
|
|
22495
|
+
type ListComputeTasksParamsSortOrder string
|
|
22496
|
+
|
|
20895
22497
|
// CancelComputeTaskParams defines parameters for CancelComputeTask.
|
|
20896
22498
|
type CancelComputeTaskParams struct {
|
|
20897
22499
|
IdempotencyKey IdempotencyKey `json:"Idempotency-Key"`
|
|
@@ -20902,6 +22504,35 @@ type RetryComputeTaskParams struct {
|
|
|
20902
22504
|
IdempotencyKey IdempotencyKey `json:"Idempotency-Key"`
|
|
20903
22505
|
}
|
|
20904
22506
|
|
|
22507
|
+
// ListAgentRunsParams defines parameters for ListAgentRuns.
|
|
22508
|
+
type ListAgentRunsParams struct {
|
|
22509
|
+
// SessionID Restricts results to a session owned by the current user.
|
|
22510
|
+
SessionID string `form:"sessionId,omitempty" json:"sessionId,omitempty"`
|
|
22511
|
+
}
|
|
22512
|
+
|
|
22513
|
+
// ListWorkbenchAnalysisRunsParams defines parameters for ListWorkbenchAnalysisRuns.
|
|
22514
|
+
type ListWorkbenchAnalysisRunsParams struct {
|
|
22515
|
+
ClusterID string `form:"clusterId,omitempty" json:"clusterId,omitempty"`
|
|
22516
|
+
AlertID string `form:"alertId,omitempty" json:"alertId,omitempty"`
|
|
22517
|
+
Limit int `form:"limit,omitempty" json:"limit,omitempty"`
|
|
22518
|
+
}
|
|
22519
|
+
|
|
22520
|
+
// ListWorkbenchInspectionRunsParams defines parameters for ListWorkbenchInspectionRuns.
|
|
22521
|
+
type ListWorkbenchInspectionRunsParams struct {
|
|
22522
|
+
TaskID string `form:"taskId,omitempty" json:"taskId,omitempty"`
|
|
22523
|
+
ClusterID string `form:"clusterId,omitempty" json:"clusterId,omitempty"`
|
|
22524
|
+
Namespace string `form:"namespace,omitempty" json:"namespace,omitempty"`
|
|
22525
|
+
Check string `form:"check,omitempty" json:"check,omitempty"`
|
|
22526
|
+
Latest bool `form:"latest,omitempty" json:"latest,omitempty"`
|
|
22527
|
+
}
|
|
22528
|
+
|
|
22529
|
+
// ListWorkbenchRootCauseRunsParams defines parameters for ListWorkbenchRootCauseRuns.
|
|
22530
|
+
type ListWorkbenchRootCauseRunsParams struct {
|
|
22531
|
+
ClusterID string `form:"clusterId,omitempty" json:"clusterId,omitempty"`
|
|
22532
|
+
AlertID string `form:"alertId,omitempty" json:"alertId,omitempty"`
|
|
22533
|
+
Limit int `form:"limit,omitempty" json:"limit,omitempty"`
|
|
22534
|
+
}
|
|
22535
|
+
|
|
20905
22536
|
// ListDeliveryArtifactsParams defines parameters for ListDeliveryArtifacts.
|
|
20906
22537
|
type ListDeliveryArtifactsParams struct {
|
|
20907
22538
|
ApplicationID string `form:"applicationId,omitempty" json:"applicationId,omitempty"`
|
|
@@ -21553,6 +23184,15 @@ type CreateBuildTemplateJSONRequestBody = BuildTemplateInput
|
|
|
21553
23184
|
// UpdateBuildTemplateJSONRequestBody defines body for UpdateBuildTemplate for application/json ContentType.
|
|
21554
23185
|
type UpdateBuildTemplateJSONRequestBody = BuildTemplateInput
|
|
21555
23186
|
|
|
23187
|
+
// ReviewKubernetesSubjectAccessJSONRequestBody defines body for ReviewKubernetesSubjectAccess for application/json ContentType.
|
|
23188
|
+
type ReviewKubernetesSubjectAccessJSONRequestBody = KubernetesSubjectAccessReviewInput
|
|
23189
|
+
|
|
23190
|
+
// RollbackKubernetesHelmReleaseJSONRequestBody defines body for RollbackKubernetesHelmRelease for application/json ContentType.
|
|
23191
|
+
type RollbackKubernetesHelmReleaseJSONRequestBody = KubernetesHelmReleaseRollbackInput
|
|
23192
|
+
|
|
23193
|
+
// PlanKubernetesHelmReleaseRollbackJSONRequestBody defines body for PlanKubernetesHelmReleaseRollback for application/json ContentType.
|
|
23194
|
+
type PlanKubernetesHelmReleaseRollbackJSONRequestBody = KubernetesHelmReleaseRollbackInput
|
|
23195
|
+
|
|
21556
23196
|
// QueryClusterLogsJSONRequestBody defines body for QueryClusterLogs for application/json ContentType.
|
|
21557
23197
|
type QueryClusterLogsJSONRequestBody = LogQuery
|
|
21558
23198
|
|
|
@@ -21580,6 +23220,9 @@ type DecideKubernetesResourceCreateScopeJSONRequestBody = KubernetesResourceCrea
|
|
|
21580
23220
|
// GenerateKubernetesWorkloadSnapshotJSONRequestBody defines body for GenerateKubernetesWorkloadSnapshot for application/json ContentType.
|
|
21581
23221
|
type GenerateKubernetesWorkloadSnapshotJSONRequestBody = KubernetesWorkloadSnapshotRequest
|
|
21582
23222
|
|
|
23223
|
+
// PlanKubernetesResourceUpdateJSONRequestBody defines body for PlanKubernetesResourceUpdate for application/json ContentType.
|
|
23224
|
+
type PlanKubernetesResourceUpdateJSONRequestBody = KubernetesResourceUpdatePlanRequest
|
|
23225
|
+
|
|
21583
23226
|
// RecordCompanionInteractionJSONRequestBody defines body for RecordCompanionInteraction for application/json ContentType.
|
|
21584
23227
|
type RecordCompanionInteractionJSONRequestBody = CompanionInteractionRequest
|
|
21585
23228
|
|
|
@@ -21610,9 +23253,51 @@ type ClaimAgentRunJSONRequestBody = AgentRunClaimRequest
|
|
|
21610
23253
|
// RecordAgentRunToolCallJSONRequestBody defines body for RecordAgentRunToolCall for application/json ContentType.
|
|
21611
23254
|
type RecordAgentRunToolCallJSONRequestBody = AgentRunToolCallRequest
|
|
21612
23255
|
|
|
23256
|
+
// CreateWorkbenchAnalysisProfileJSONRequestBody defines body for CreateWorkbenchAnalysisProfile for application/json ContentType.
|
|
23257
|
+
type CreateWorkbenchAnalysisProfileJSONRequestBody = WorkbenchAnalysisProfileInput
|
|
23258
|
+
|
|
23259
|
+
// UpdateWorkbenchAnalysisProfileJSONRequestBody defines body for UpdateWorkbenchAnalysisProfile for application/json ContentType.
|
|
23260
|
+
type UpdateWorkbenchAnalysisProfileJSONRequestBody = WorkbenchAnalysisProfileInput
|
|
23261
|
+
|
|
23262
|
+
// CreateWorkbenchAutomationPolicyJSONRequestBody defines body for CreateWorkbenchAutomationPolicy for application/json ContentType.
|
|
23263
|
+
type CreateWorkbenchAutomationPolicyJSONRequestBody = WorkbenchAutomationPolicyInput
|
|
23264
|
+
|
|
23265
|
+
// UpdateWorkbenchAutomationPolicyJSONRequestBody defines body for UpdateWorkbenchAutomationPolicy for application/json ContentType.
|
|
23266
|
+
type UpdateWorkbenchAutomationPolicyJSONRequestBody = WorkbenchAutomationPolicyInput
|
|
23267
|
+
|
|
23268
|
+
// CreateWorkbenchDataSourceJSONRequestBody defines body for CreateWorkbenchDataSource for application/json ContentType.
|
|
23269
|
+
type CreateWorkbenchDataSourceJSONRequestBody = WorkbenchDataSourceInput
|
|
23270
|
+
|
|
23271
|
+
// UpdateWorkbenchDataSourceJSONRequestBody defines body for UpdateWorkbenchDataSource for application/json ContentType.
|
|
23272
|
+
type UpdateWorkbenchDataSourceJSONRequestBody = WorkbenchDataSourceInput
|
|
23273
|
+
|
|
21613
23274
|
// RecordWorkbenchGlobalAssistantEventJSONRequestBody defines body for RecordWorkbenchGlobalAssistantEvent for application/json ContentType.
|
|
21614
23275
|
type RecordWorkbenchGlobalAssistantEventJSONRequestBody = WorkbenchGlobalAssistantOpenRequest
|
|
21615
23276
|
|
|
23277
|
+
// CreateWorkbenchInspectionTaskJSONRequestBody defines body for CreateWorkbenchInspectionTask for application/json ContentType.
|
|
23278
|
+
type CreateWorkbenchInspectionTaskJSONRequestBody = WorkbenchInspectionTaskInput
|
|
23279
|
+
|
|
23280
|
+
// UpdateWorkbenchInspectionTaskJSONRequestBody defines body for UpdateWorkbenchInspectionTask for application/json ContentType.
|
|
23281
|
+
type UpdateWorkbenchInspectionTaskJSONRequestBody = WorkbenchInspectionTaskInput
|
|
23282
|
+
|
|
23283
|
+
// CreateWorkbenchRootCauseRunJSONRequestBody defines body for CreateWorkbenchRootCauseRun for application/json ContentType.
|
|
23284
|
+
type CreateWorkbenchRootCauseRunJSONRequestBody = WorkbenchRootCauseRunInput
|
|
23285
|
+
|
|
23286
|
+
// CreateWorkbenchSessionJSONRequestBody defines body for CreateWorkbenchSession for application/json ContentType.
|
|
23287
|
+
type CreateWorkbenchSessionJSONRequestBody = WorkbenchCreateSessionRequest
|
|
23288
|
+
|
|
23289
|
+
// UpdateWorkbenchSessionJSONRequestBody defines body for UpdateWorkbenchSession for application/json ContentType.
|
|
23290
|
+
type UpdateWorkbenchSessionJSONRequestBody = WorkbenchUpdateSessionRequest
|
|
23291
|
+
|
|
23292
|
+
// AnalyzeWorkbenchSessionJSONRequestBody defines body for AnalyzeWorkbenchSession for application/json ContentType.
|
|
23293
|
+
type AnalyzeWorkbenchSessionJSONRequestBody = WorkbenchAnalyzeSessionRequest
|
|
23294
|
+
|
|
23295
|
+
// CreateWorkbenchInspectionTaskFromSessionJSONRequestBody defines body for CreateWorkbenchInspectionTaskFromSession for application/json ContentType.
|
|
23296
|
+
type CreateWorkbenchInspectionTaskFromSessionJSONRequestBody = WorkbenchInspectionTaskInput
|
|
23297
|
+
|
|
23298
|
+
// SendWorkbenchSessionMessageJSONRequestBody defines body for SendWorkbenchSessionMessage for application/json ContentType.
|
|
23299
|
+
type SendWorkbenchSessionMessageJSONRequestBody = WorkbenchSendMessageRequest
|
|
23300
|
+
|
|
21616
23301
|
// StreamWorkbenchSessionMessageJSONRequestBody defines body for StreamWorkbenchSessionMessage for application/json ContentType.
|
|
21617
23302
|
type StreamWorkbenchSessionMessageJSONRequestBody = WorkbenchSendMessageStreamRequest
|
|
21618
23303
|
|
|
@@ -28020,3 +29705,17 @@ const (
|
|
|
28020
29705
|
Team SAMLAttributeMappingTarget = SAMLAttributeMappingTargetTeam
|
|
28021
29706
|
Project SAMLAttributeMappingTarget = SAMLAttributeMappingTargetProject
|
|
28022
29707
|
)
|
|
29708
|
+
|
|
29709
|
+
// Deprecated: use the DockerContainerPortInputProtocol-prefixed constants in new code.
|
|
29710
|
+
const (
|
|
29711
|
+
TCP DockerContainerPortInputProtocol = DockerContainerPortInputProtocolTCP
|
|
29712
|
+
UDP DockerContainerPortInputProtocol = DockerContainerPortInputProtocolUDP
|
|
29713
|
+
)
|
|
29714
|
+
|
|
29715
|
+
// Deprecated: use the MarketplaceAdvisorySeverity-prefixed constants in new code.
|
|
29716
|
+
const (
|
|
29717
|
+
Critical MarketplaceAdvisorySeverity = MarketplaceAdvisorySeverityCritical
|
|
29718
|
+
High MarketplaceAdvisorySeverity = MarketplaceAdvisorySeverityHigh
|
|
29719
|
+
Medium MarketplaceAdvisorySeverity = MarketplaceAdvisorySeverityMedium
|
|
29720
|
+
Low MarketplaceAdvisorySeverity = MarketplaceAdvisorySeverityLow
|
|
29721
|
+
)
|