@1claw/openapi-spec 0.61.10 → 0.61.11
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/openapi.json +236 -227
- package/openapi.yaml +96 -90
- package/package.json +1 -1
package/openapi.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"openapi": "3.1.0",
|
|
3
3
|
"info": {
|
|
4
4
|
"title": "1Claw API",
|
|
5
|
-
"version": "0.61.
|
|
5
|
+
"version": "0.61.11",
|
|
6
6
|
"description": "Secure secret management for AI agents. Provides vaults, secrets,\npolicy-based access control, agent identity, Intents API,\nsharing, billing, and audit logging. Automations (workflow_spec,\nwebhook tokens, event triggers, Assist), cloud runtimes with\ninteractive shell sessions, agent memory, and discovery.\n\n## Domains\n\n`api.1claw.co` is canonical: it is the OIDC issuer, the `aud` the API\nmints, and the first entry in `servers` — a generated client takes its\nbase URL from there, and the previous ordering pointed every SDK at the\ndomain the issuer had already left. `api.1claw.xyz` still answers and is\nstill accepted on token validation, because tokens minted before the\nmove carry it; it is never minted now.\n\nOne deliberate exception: the Shroud attestation identity token is\nrequested from GCP with `audience: https://api.1claw.xyz`, so\n`/v1/shroud/attestation` reports that as its `expected_audience`. That\nis accurate rather than stale — the audience is a verification contract\nwith anyone already checking the token, and moving it is a breaking\nchange for them, not a rename.\n\nAll endpoints require JWT Bearer authentication unless marked with\n`security: []`.\n",
|
|
7
7
|
"contact": {
|
|
8
8
|
"email": "ops@1claw.co"
|
|
@@ -24695,7 +24695,7 @@
|
|
|
24695
24695
|
"content": {
|
|
24696
24696
|
"application/json": {
|
|
24697
24697
|
"schema": {
|
|
24698
|
-
"$ref": "#/
|
|
24698
|
+
"$ref": "#/components/schemas/OtelTopology"
|
|
24699
24699
|
}
|
|
24700
24700
|
}
|
|
24701
24701
|
}
|
|
@@ -24750,7 +24750,7 @@
|
|
|
24750
24750
|
"content": {
|
|
24751
24751
|
"application/json": {
|
|
24752
24752
|
"schema": {
|
|
24753
|
-
"$ref": "#/
|
|
24753
|
+
"$ref": "#/components/schemas/OtelThreatList"
|
|
24754
24754
|
}
|
|
24755
24755
|
}
|
|
24756
24756
|
}
|
|
@@ -24793,7 +24793,7 @@
|
|
|
24793
24793
|
"content": {
|
|
24794
24794
|
"application/json": {
|
|
24795
24795
|
"schema": {
|
|
24796
|
-
"$ref": "#/
|
|
24796
|
+
"$ref": "#/components/schemas/OtelSummary"
|
|
24797
24797
|
}
|
|
24798
24798
|
}
|
|
24799
24799
|
}
|
|
@@ -25336,100 +25336,7 @@
|
|
|
25336
25336
|
"content": {
|
|
25337
25337
|
"application/json": {
|
|
25338
25338
|
"schema": {
|
|
25339
|
-
"
|
|
25340
|
-
"items": {
|
|
25341
|
-
"type": "object",
|
|
25342
|
-
"required": [
|
|
25343
|
-
"id",
|
|
25344
|
-
"agent_id",
|
|
25345
|
-
"class",
|
|
25346
|
-
"severity",
|
|
25347
|
-
"detected_by",
|
|
25348
|
-
"status",
|
|
25349
|
-
"shadow",
|
|
25350
|
-
"blast_radius",
|
|
25351
|
-
"blast_radius_size"
|
|
25352
|
-
],
|
|
25353
|
-
"properties": {
|
|
25354
|
-
"id": {
|
|
25355
|
-
"type": "string",
|
|
25356
|
-
"format": "uuid"
|
|
25357
|
-
},
|
|
25358
|
-
"agent_id": {
|
|
25359
|
-
"type": "string",
|
|
25360
|
-
"format": "uuid"
|
|
25361
|
-
},
|
|
25362
|
-
"class": {
|
|
25363
|
-
"type": "string",
|
|
25364
|
-
"enum": [
|
|
25365
|
-
"prompt_injection",
|
|
25366
|
-
"policy_breach",
|
|
25367
|
-
"spend_anomaly",
|
|
25368
|
-
"key_exfil",
|
|
25369
|
-
"off_hours",
|
|
25370
|
-
"consensus_bypass",
|
|
25371
|
-
"trust_breach"
|
|
25372
|
-
]
|
|
25373
|
-
},
|
|
25374
|
-
"severity": {
|
|
25375
|
-
"type": "string",
|
|
25376
|
-
"enum": [
|
|
25377
|
-
"critical",
|
|
25378
|
-
"warn"
|
|
25379
|
-
]
|
|
25380
|
-
},
|
|
25381
|
-
"detected_by": {
|
|
25382
|
-
"type": "string"
|
|
25383
|
-
},
|
|
25384
|
-
"status": {
|
|
25385
|
-
"type": "string",
|
|
25386
|
-
"enum": [
|
|
25387
|
-
"open",
|
|
25388
|
-
"acknowledged",
|
|
25389
|
-
"resolved"
|
|
25390
|
-
]
|
|
25391
|
-
},
|
|
25392
|
-
"shadow": {
|
|
25393
|
-
"type": "boolean"
|
|
25394
|
-
},
|
|
25395
|
-
"evidence": {
|
|
25396
|
-
"type": "array",
|
|
25397
|
-
"items": {
|
|
25398
|
-
"type": "object"
|
|
25399
|
-
}
|
|
25400
|
-
},
|
|
25401
|
-
"blast_radius": {
|
|
25402
|
-
"type": "object",
|
|
25403
|
-
"properties": {
|
|
25404
|
-
"vaults": {
|
|
25405
|
-
"type": "integer"
|
|
25406
|
-
},
|
|
25407
|
-
"connectors": {
|
|
25408
|
-
"type": "integer"
|
|
25409
|
-
},
|
|
25410
|
-
"chains": {
|
|
25411
|
-
"type": "integer"
|
|
25412
|
-
}
|
|
25413
|
-
}
|
|
25414
|
-
},
|
|
25415
|
-
"blast_radius_size": {
|
|
25416
|
-
"type": "integer",
|
|
25417
|
-
"description": "Sum of the blast radius. The sort key."
|
|
25418
|
-
},
|
|
25419
|
-
"resolved_by": {
|
|
25420
|
-
"type": "string",
|
|
25421
|
-
"nullable": true
|
|
25422
|
-
},
|
|
25423
|
-
"created_at": {
|
|
25424
|
-
"type": "string",
|
|
25425
|
-
"format": "date-time"
|
|
25426
|
-
},
|
|
25427
|
-
"updated_at": {
|
|
25428
|
-
"type": "string",
|
|
25429
|
-
"format": "date-time"
|
|
25430
|
-
}
|
|
25431
|
-
}
|
|
25432
|
-
}
|
|
25339
|
+
"$ref": "#/components/schemas/OtelThreatList"
|
|
25433
25340
|
}
|
|
25434
25341
|
}
|
|
25435
25342
|
}
|
|
@@ -26011,41 +25918,7 @@
|
|
|
26011
25918
|
"content": {
|
|
26012
25919
|
"application/json": {
|
|
26013
25920
|
"schema": {
|
|
26014
|
-
"
|
|
26015
|
-
"required": [
|
|
26016
|
-
"posture_score",
|
|
26017
|
-
"open_threats",
|
|
26018
|
-
"open_critical",
|
|
26019
|
-
"pending_approvals",
|
|
26020
|
-
"agent_count",
|
|
26021
|
-
"top_threats"
|
|
26022
|
-
],
|
|
26023
|
-
"properties": {
|
|
26024
|
-
"posture_score": {
|
|
26025
|
-
"type": "integer",
|
|
26026
|
-
"minimum": 0,
|
|
26027
|
-
"maximum": 100
|
|
26028
|
-
},
|
|
26029
|
-
"open_threats": {
|
|
26030
|
-
"type": "integer"
|
|
26031
|
-
},
|
|
26032
|
-
"open_critical": {
|
|
26033
|
-
"type": "integer"
|
|
26034
|
-
},
|
|
26035
|
-
"pending_approvals": {
|
|
26036
|
-
"type": "integer"
|
|
26037
|
-
},
|
|
26038
|
-
"agent_count": {
|
|
26039
|
-
"type": "integer"
|
|
26040
|
-
},
|
|
26041
|
-
"top_threats": {
|
|
26042
|
-
"type": "array",
|
|
26043
|
-
"description": "At most five, same ranking as /v1/otel/threats.",
|
|
26044
|
-
"items": {
|
|
26045
|
-
"type": "object"
|
|
26046
|
-
}
|
|
26047
|
-
}
|
|
26048
|
-
}
|
|
25921
|
+
"$ref": "#/components/schemas/OtelSummary"
|
|
26049
25922
|
}
|
|
26050
25923
|
}
|
|
26051
25924
|
}
|
|
@@ -26088,100 +25961,7 @@
|
|
|
26088
25961
|
"content": {
|
|
26089
25962
|
"application/json": {
|
|
26090
25963
|
"schema": {
|
|
26091
|
-
"
|
|
26092
|
-
"required": [
|
|
26093
|
-
"nodes",
|
|
26094
|
-
"edges",
|
|
26095
|
-
"truncated",
|
|
26096
|
-
"total_nodes"
|
|
26097
|
-
],
|
|
26098
|
-
"properties": {
|
|
26099
|
-
"nodes": {
|
|
26100
|
-
"type": "array",
|
|
26101
|
-
"items": {
|
|
26102
|
-
"type": "object",
|
|
26103
|
-
"required": [
|
|
26104
|
-
"id",
|
|
26105
|
-
"kind",
|
|
26106
|
-
"label"
|
|
26107
|
-
],
|
|
26108
|
-
"properties": {
|
|
26109
|
-
"id": {
|
|
26110
|
-
"type": "string",
|
|
26111
|
-
"description": "Namespaced by kind, e.g. `agent:<uuid>`."
|
|
26112
|
-
},
|
|
26113
|
-
"kind": {
|
|
26114
|
-
"type": "string",
|
|
26115
|
-
"enum": [
|
|
26116
|
-
"agent",
|
|
26117
|
-
"vault",
|
|
26118
|
-
"policy",
|
|
26119
|
-
"connector",
|
|
26120
|
-
"chain"
|
|
26121
|
-
]
|
|
26122
|
-
},
|
|
26123
|
-
"label": {
|
|
26124
|
-
"type": "string"
|
|
26125
|
-
},
|
|
26126
|
-
"status": {
|
|
26127
|
-
"type": "string",
|
|
26128
|
-
"description": "Agents only. Derived, not stored.",
|
|
26129
|
-
"enum": [
|
|
26130
|
-
"compromised",
|
|
26131
|
-
"warn",
|
|
26132
|
-
"suspended",
|
|
26133
|
-
"ok"
|
|
26134
|
-
]
|
|
26135
|
-
},
|
|
26136
|
-
"trust": {
|
|
26137
|
-
"type": "integer",
|
|
26138
|
-
"minimum": 0,
|
|
26139
|
-
"maximum": 100,
|
|
26140
|
-
"description": "Agents only. Absent until the trust engine has scored the agent."
|
|
26141
|
-
}
|
|
26142
|
-
}
|
|
26143
|
-
}
|
|
26144
|
-
},
|
|
26145
|
-
"edges": {
|
|
26146
|
-
"type": "array",
|
|
26147
|
-
"items": {
|
|
26148
|
-
"type": "object",
|
|
26149
|
-
"required": [
|
|
26150
|
-
"from",
|
|
26151
|
-
"to",
|
|
26152
|
-
"kind"
|
|
26153
|
-
],
|
|
26154
|
-
"properties": {
|
|
26155
|
-
"from": {
|
|
26156
|
-
"type": "string"
|
|
26157
|
-
},
|
|
26158
|
-
"to": {
|
|
26159
|
-
"type": "string"
|
|
26160
|
-
},
|
|
26161
|
-
"kind": {
|
|
26162
|
-
"type": "string",
|
|
26163
|
-
"enum": [
|
|
26164
|
-
"calls",
|
|
26165
|
-
"grants",
|
|
26166
|
-
"holds",
|
|
26167
|
-
"signs"
|
|
26168
|
-
]
|
|
26169
|
-
}
|
|
26170
|
-
}
|
|
26171
|
-
}
|
|
26172
|
-
},
|
|
26173
|
-
"truncated": {
|
|
26174
|
-
"type": "boolean"
|
|
26175
|
-
},
|
|
26176
|
-
"total_nodes": {
|
|
26177
|
-
"type": "integer",
|
|
26178
|
-
"description": "Node count before the cap."
|
|
26179
|
-
},
|
|
26180
|
-
"fixture": {
|
|
26181
|
-
"type": "boolean",
|
|
26182
|
-
"description": "Present and true only for synthetic data."
|
|
26183
|
-
}
|
|
26184
|
-
}
|
|
25964
|
+
"$ref": "#/components/schemas/OtelTopology"
|
|
26185
25965
|
}
|
|
26186
25966
|
}
|
|
26187
25967
|
}
|
|
@@ -27418,6 +27198,235 @@
|
|
|
27418
27198
|
}
|
|
27419
27199
|
},
|
|
27420
27200
|
"schemas": {
|
|
27201
|
+
"OtelTopology": {
|
|
27202
|
+
"type": "object",
|
|
27203
|
+
"required": [
|
|
27204
|
+
"nodes",
|
|
27205
|
+
"edges",
|
|
27206
|
+
"truncated",
|
|
27207
|
+
"total_nodes"
|
|
27208
|
+
],
|
|
27209
|
+
"properties": {
|
|
27210
|
+
"nodes": {
|
|
27211
|
+
"type": "array",
|
|
27212
|
+
"items": {
|
|
27213
|
+
"type": "object",
|
|
27214
|
+
"required": [
|
|
27215
|
+
"id",
|
|
27216
|
+
"kind",
|
|
27217
|
+
"label"
|
|
27218
|
+
],
|
|
27219
|
+
"properties": {
|
|
27220
|
+
"id": {
|
|
27221
|
+
"type": "string",
|
|
27222
|
+
"description": "Namespaced by kind, e.g. `agent:<uuid>`."
|
|
27223
|
+
},
|
|
27224
|
+
"kind": {
|
|
27225
|
+
"type": "string",
|
|
27226
|
+
"enum": [
|
|
27227
|
+
"agent",
|
|
27228
|
+
"vault",
|
|
27229
|
+
"policy",
|
|
27230
|
+
"connector",
|
|
27231
|
+
"chain"
|
|
27232
|
+
]
|
|
27233
|
+
},
|
|
27234
|
+
"label": {
|
|
27235
|
+
"type": "string"
|
|
27236
|
+
},
|
|
27237
|
+
"status": {
|
|
27238
|
+
"type": "string",
|
|
27239
|
+
"description": "Agents only. Derived, not stored.",
|
|
27240
|
+
"enum": [
|
|
27241
|
+
"compromised",
|
|
27242
|
+
"warn",
|
|
27243
|
+
"suspended",
|
|
27244
|
+
"ok"
|
|
27245
|
+
]
|
|
27246
|
+
},
|
|
27247
|
+
"trust": {
|
|
27248
|
+
"type": "integer",
|
|
27249
|
+
"minimum": 0,
|
|
27250
|
+
"maximum": 100,
|
|
27251
|
+
"description": "Agents only. Absent until the trust engine has scored the agent."
|
|
27252
|
+
}
|
|
27253
|
+
}
|
|
27254
|
+
}
|
|
27255
|
+
},
|
|
27256
|
+
"edges": {
|
|
27257
|
+
"type": "array",
|
|
27258
|
+
"items": {
|
|
27259
|
+
"type": "object",
|
|
27260
|
+
"required": [
|
|
27261
|
+
"from",
|
|
27262
|
+
"to",
|
|
27263
|
+
"kind"
|
|
27264
|
+
],
|
|
27265
|
+
"properties": {
|
|
27266
|
+
"from": {
|
|
27267
|
+
"type": "string"
|
|
27268
|
+
},
|
|
27269
|
+
"to": {
|
|
27270
|
+
"type": "string"
|
|
27271
|
+
},
|
|
27272
|
+
"kind": {
|
|
27273
|
+
"type": "string",
|
|
27274
|
+
"enum": [
|
|
27275
|
+
"calls",
|
|
27276
|
+
"grants",
|
|
27277
|
+
"holds",
|
|
27278
|
+
"signs"
|
|
27279
|
+
]
|
|
27280
|
+
}
|
|
27281
|
+
}
|
|
27282
|
+
}
|
|
27283
|
+
},
|
|
27284
|
+
"truncated": {
|
|
27285
|
+
"type": "boolean"
|
|
27286
|
+
},
|
|
27287
|
+
"total_nodes": {
|
|
27288
|
+
"type": "integer",
|
|
27289
|
+
"description": "Node count before the cap."
|
|
27290
|
+
},
|
|
27291
|
+
"fixture": {
|
|
27292
|
+
"type": "boolean",
|
|
27293
|
+
"description": "Present and true only for synthetic data."
|
|
27294
|
+
}
|
|
27295
|
+
}
|
|
27296
|
+
},
|
|
27297
|
+
"OtelThreatList": {
|
|
27298
|
+
"type": "array",
|
|
27299
|
+
"items": {
|
|
27300
|
+
"type": "object",
|
|
27301
|
+
"required": [
|
|
27302
|
+
"id",
|
|
27303
|
+
"agent_id",
|
|
27304
|
+
"class",
|
|
27305
|
+
"severity",
|
|
27306
|
+
"detected_by",
|
|
27307
|
+
"status",
|
|
27308
|
+
"shadow",
|
|
27309
|
+
"blast_radius",
|
|
27310
|
+
"blast_radius_size"
|
|
27311
|
+
],
|
|
27312
|
+
"properties": {
|
|
27313
|
+
"id": {
|
|
27314
|
+
"type": "string",
|
|
27315
|
+
"format": "uuid"
|
|
27316
|
+
},
|
|
27317
|
+
"agent_id": {
|
|
27318
|
+
"type": "string",
|
|
27319
|
+
"format": "uuid"
|
|
27320
|
+
},
|
|
27321
|
+
"class": {
|
|
27322
|
+
"type": "string",
|
|
27323
|
+
"enum": [
|
|
27324
|
+
"prompt_injection",
|
|
27325
|
+
"policy_breach",
|
|
27326
|
+
"spend_anomaly",
|
|
27327
|
+
"key_exfil",
|
|
27328
|
+
"off_hours",
|
|
27329
|
+
"consensus_bypass",
|
|
27330
|
+
"trust_breach"
|
|
27331
|
+
]
|
|
27332
|
+
},
|
|
27333
|
+
"severity": {
|
|
27334
|
+
"type": "string",
|
|
27335
|
+
"enum": [
|
|
27336
|
+
"critical",
|
|
27337
|
+
"warn"
|
|
27338
|
+
]
|
|
27339
|
+
},
|
|
27340
|
+
"detected_by": {
|
|
27341
|
+
"type": "string"
|
|
27342
|
+
},
|
|
27343
|
+
"status": {
|
|
27344
|
+
"type": "string",
|
|
27345
|
+
"enum": [
|
|
27346
|
+
"open",
|
|
27347
|
+
"acknowledged",
|
|
27348
|
+
"resolved"
|
|
27349
|
+
]
|
|
27350
|
+
},
|
|
27351
|
+
"shadow": {
|
|
27352
|
+
"type": "boolean"
|
|
27353
|
+
},
|
|
27354
|
+
"evidence": {
|
|
27355
|
+
"type": "array",
|
|
27356
|
+
"items": {
|
|
27357
|
+
"type": "object"
|
|
27358
|
+
}
|
|
27359
|
+
},
|
|
27360
|
+
"blast_radius": {
|
|
27361
|
+
"type": "object",
|
|
27362
|
+
"properties": {
|
|
27363
|
+
"vaults": {
|
|
27364
|
+
"type": "integer"
|
|
27365
|
+
},
|
|
27366
|
+
"connectors": {
|
|
27367
|
+
"type": "integer"
|
|
27368
|
+
},
|
|
27369
|
+
"chains": {
|
|
27370
|
+
"type": "integer"
|
|
27371
|
+
}
|
|
27372
|
+
}
|
|
27373
|
+
},
|
|
27374
|
+
"blast_radius_size": {
|
|
27375
|
+
"type": "integer",
|
|
27376
|
+
"description": "Sum of the blast radius. The sort key."
|
|
27377
|
+
},
|
|
27378
|
+
"resolved_by": {
|
|
27379
|
+
"type": "string",
|
|
27380
|
+
"nullable": true
|
|
27381
|
+
},
|
|
27382
|
+
"created_at": {
|
|
27383
|
+
"type": "string",
|
|
27384
|
+
"format": "date-time"
|
|
27385
|
+
},
|
|
27386
|
+
"updated_at": {
|
|
27387
|
+
"type": "string",
|
|
27388
|
+
"format": "date-time"
|
|
27389
|
+
}
|
|
27390
|
+
}
|
|
27391
|
+
}
|
|
27392
|
+
},
|
|
27393
|
+
"OtelSummary": {
|
|
27394
|
+
"type": "object",
|
|
27395
|
+
"required": [
|
|
27396
|
+
"posture_score",
|
|
27397
|
+
"open_threats",
|
|
27398
|
+
"open_critical",
|
|
27399
|
+
"pending_approvals",
|
|
27400
|
+
"agent_count",
|
|
27401
|
+
"top_threats"
|
|
27402
|
+
],
|
|
27403
|
+
"properties": {
|
|
27404
|
+
"posture_score": {
|
|
27405
|
+
"type": "integer",
|
|
27406
|
+
"minimum": 0,
|
|
27407
|
+
"maximum": 100
|
|
27408
|
+
},
|
|
27409
|
+
"open_threats": {
|
|
27410
|
+
"type": "integer"
|
|
27411
|
+
},
|
|
27412
|
+
"open_critical": {
|
|
27413
|
+
"type": "integer"
|
|
27414
|
+
},
|
|
27415
|
+
"pending_approvals": {
|
|
27416
|
+
"type": "integer"
|
|
27417
|
+
},
|
|
27418
|
+
"agent_count": {
|
|
27419
|
+
"type": "integer"
|
|
27420
|
+
},
|
|
27421
|
+
"top_threats": {
|
|
27422
|
+
"type": "array",
|
|
27423
|
+
"description": "At most five, same ranking as /v1/otel/threats.",
|
|
27424
|
+
"items": {
|
|
27425
|
+
"type": "object"
|
|
27426
|
+
}
|
|
27427
|
+
}
|
|
27428
|
+
}
|
|
27429
|
+
},
|
|
27421
27430
|
"UpdatePayGuardrailsRequest": {
|
|
27422
27431
|
"type": "object",
|
|
27423
27432
|
"properties": {
|
package/openapi.yaml
CHANGED
|
@@ -2,7 +2,7 @@ openapi: 3.1.0
|
|
|
2
2
|
|
|
3
3
|
info:
|
|
4
4
|
title: 1Claw API
|
|
5
|
-
version: "0.61.
|
|
5
|
+
version: "0.61.11"
|
|
6
6
|
description: |
|
|
7
7
|
Secure secret management for AI agents. Provides vaults, secrets,
|
|
8
8
|
policy-based access control, agent identity, Intents API,
|
|
@@ -15908,7 +15908,7 @@ paths:
|
|
|
15908
15908
|
content:
|
|
15909
15909
|
application/json:
|
|
15910
15910
|
schema:
|
|
15911
|
-
$ref: '#/
|
|
15911
|
+
$ref: '#/components/schemas/OtelTopology'
|
|
15912
15912
|
'401': { description: Unauthenticated }
|
|
15913
15913
|
'403': { description: Not a plt_ key }
|
|
15914
15914
|
'404': { description: Connection not found for this app }
|
|
@@ -15944,7 +15944,7 @@ paths:
|
|
|
15944
15944
|
content:
|
|
15945
15945
|
application/json:
|
|
15946
15946
|
schema:
|
|
15947
|
-
$ref: '#/
|
|
15947
|
+
$ref: '#/components/schemas/OtelThreatList'
|
|
15948
15948
|
'401': { description: Unauthenticated }
|
|
15949
15949
|
'403': { description: Not a plt_ key }
|
|
15950
15950
|
'404': { description: Connection not found for this app }
|
|
@@ -15976,7 +15976,7 @@ paths:
|
|
|
15976
15976
|
content:
|
|
15977
15977
|
application/json:
|
|
15978
15978
|
schema:
|
|
15979
|
-
$ref: '#/
|
|
15979
|
+
$ref: '#/components/schemas/OtelSummary'
|
|
15980
15980
|
'401': { description: Unauthenticated }
|
|
15981
15981
|
'403': { description: Not a plt_ key }
|
|
15982
15982
|
'404': { description: Connection not found for this app }
|
|
@@ -16344,33 +16344,7 @@ paths:
|
|
|
16344
16344
|
content:
|
|
16345
16345
|
application/json:
|
|
16346
16346
|
schema:
|
|
16347
|
-
|
|
16348
|
-
items:
|
|
16349
|
-
type: object
|
|
16350
|
-
required: [id, agent_id, class, severity, detected_by, status, shadow, blast_radius, blast_radius_size]
|
|
16351
|
-
properties:
|
|
16352
|
-
id: { type: string, format: uuid }
|
|
16353
|
-
agent_id: { type: string, format: uuid }
|
|
16354
|
-
class:
|
|
16355
|
-
type: string
|
|
16356
|
-
enum: [prompt_injection, policy_breach, spend_anomaly, key_exfil, off_hours, consensus_bypass, trust_breach]
|
|
16357
|
-
severity: { type: string, enum: [critical, warn] }
|
|
16358
|
-
detected_by: { type: string }
|
|
16359
|
-
status: { type: string, enum: [open, acknowledged, resolved] }
|
|
16360
|
-
shadow: { type: boolean }
|
|
16361
|
-
evidence: { type: array, items: { type: object } }
|
|
16362
|
-
blast_radius:
|
|
16363
|
-
type: object
|
|
16364
|
-
properties:
|
|
16365
|
-
vaults: { type: integer }
|
|
16366
|
-
connectors: { type: integer }
|
|
16367
|
-
chains: { type: integer }
|
|
16368
|
-
blast_radius_size:
|
|
16369
|
-
type: integer
|
|
16370
|
-
description: Sum of the blast radius. The sort key.
|
|
16371
|
-
resolved_by: { type: string, nullable: true }
|
|
16372
|
-
created_at: { type: string, format: date-time }
|
|
16373
|
-
updated_at: { type: string, format: date-time }
|
|
16347
|
+
$ref: '#/components/schemas/OtelThreatList'
|
|
16374
16348
|
'401':
|
|
16375
16349
|
description: Unauthenticated
|
|
16376
16350
|
'403':
|
|
@@ -16702,18 +16676,7 @@ paths:
|
|
|
16702
16676
|
content:
|
|
16703
16677
|
application/json:
|
|
16704
16678
|
schema:
|
|
16705
|
-
|
|
16706
|
-
required: [posture_score, open_threats, open_critical, pending_approvals, agent_count, top_threats]
|
|
16707
|
-
properties:
|
|
16708
|
-
posture_score: { type: integer, minimum: 0, maximum: 100 }
|
|
16709
|
-
open_threats: { type: integer }
|
|
16710
|
-
open_critical: { type: integer }
|
|
16711
|
-
pending_approvals: { type: integer }
|
|
16712
|
-
agent_count: { type: integer }
|
|
16713
|
-
top_threats:
|
|
16714
|
-
type: array
|
|
16715
|
-
description: At most five, same ranking as /v1/otel/threats.
|
|
16716
|
-
items: { type: object }
|
|
16679
|
+
$ref: '#/components/schemas/OtelSummary'
|
|
16717
16680
|
'401':
|
|
16718
16681
|
description: Unauthenticated
|
|
16719
16682
|
'403':
|
|
@@ -16754,53 +16717,7 @@ paths:
|
|
|
16754
16717
|
content:
|
|
16755
16718
|
application/json:
|
|
16756
16719
|
schema:
|
|
16757
|
-
|
|
16758
|
-
required: [nodes, edges, truncated, total_nodes]
|
|
16759
|
-
properties:
|
|
16760
|
-
nodes:
|
|
16761
|
-
type: array
|
|
16762
|
-
items:
|
|
16763
|
-
type: object
|
|
16764
|
-
required: [id, kind, label]
|
|
16765
|
-
properties:
|
|
16766
|
-
id:
|
|
16767
|
-
type: string
|
|
16768
|
-
description: Namespaced by kind, e.g. `agent:<uuid>`.
|
|
16769
|
-
kind:
|
|
16770
|
-
type: string
|
|
16771
|
-
enum: [agent, vault, policy, connector, chain]
|
|
16772
|
-
label:
|
|
16773
|
-
type: string
|
|
16774
|
-
status:
|
|
16775
|
-
type: string
|
|
16776
|
-
description: Agents only. Derived, not stored.
|
|
16777
|
-
enum: [compromised, warn, suspended, ok]
|
|
16778
|
-
trust:
|
|
16779
|
-
type: integer
|
|
16780
|
-
minimum: 0
|
|
16781
|
-
maximum: 100
|
|
16782
|
-
description: Agents only. Absent until the trust engine has scored the agent.
|
|
16783
|
-
edges:
|
|
16784
|
-
type: array
|
|
16785
|
-
items:
|
|
16786
|
-
type: object
|
|
16787
|
-
required: [from, to, kind]
|
|
16788
|
-
properties:
|
|
16789
|
-
from:
|
|
16790
|
-
type: string
|
|
16791
|
-
to:
|
|
16792
|
-
type: string
|
|
16793
|
-
kind:
|
|
16794
|
-
type: string
|
|
16795
|
-
enum: [calls, grants, holds, signs]
|
|
16796
|
-
truncated:
|
|
16797
|
-
type: boolean
|
|
16798
|
-
total_nodes:
|
|
16799
|
-
type: integer
|
|
16800
|
-
description: Node count before the cap.
|
|
16801
|
-
fixture:
|
|
16802
|
-
type: boolean
|
|
16803
|
-
description: Present and true only for synthetic data.
|
|
16720
|
+
$ref: '#/components/schemas/OtelTopology'
|
|
16804
16721
|
'401':
|
|
16805
16722
|
description: Unauthenticated
|
|
16806
16723
|
'403':
|
|
@@ -17592,6 +17509,95 @@ components:
|
|
|
17592
17509
|
$ref: "#/components/schemas/ProblemDetails"
|
|
17593
17510
|
|
|
17594
17511
|
schemas:
|
|
17512
|
+
OtelTopology:
|
|
17513
|
+
type: object
|
|
17514
|
+
required: [nodes, edges, truncated, total_nodes]
|
|
17515
|
+
properties:
|
|
17516
|
+
nodes:
|
|
17517
|
+
type: array
|
|
17518
|
+
items:
|
|
17519
|
+
type: object
|
|
17520
|
+
required: [id, kind, label]
|
|
17521
|
+
properties:
|
|
17522
|
+
id:
|
|
17523
|
+
type: string
|
|
17524
|
+
description: Namespaced by kind, e.g. `agent:<uuid>`.
|
|
17525
|
+
kind:
|
|
17526
|
+
type: string
|
|
17527
|
+
enum: [agent, vault, policy, connector, chain]
|
|
17528
|
+
label:
|
|
17529
|
+
type: string
|
|
17530
|
+
status:
|
|
17531
|
+
type: string
|
|
17532
|
+
description: Agents only. Derived, not stored.
|
|
17533
|
+
enum: [compromised, warn, suspended, ok]
|
|
17534
|
+
trust:
|
|
17535
|
+
type: integer
|
|
17536
|
+
minimum: 0
|
|
17537
|
+
maximum: 100
|
|
17538
|
+
description: Agents only. Absent until the trust engine has scored the agent.
|
|
17539
|
+
edges:
|
|
17540
|
+
type: array
|
|
17541
|
+
items:
|
|
17542
|
+
type: object
|
|
17543
|
+
required: [from, to, kind]
|
|
17544
|
+
properties:
|
|
17545
|
+
from:
|
|
17546
|
+
type: string
|
|
17547
|
+
to:
|
|
17548
|
+
type: string
|
|
17549
|
+
kind:
|
|
17550
|
+
type: string
|
|
17551
|
+
enum: [calls, grants, holds, signs]
|
|
17552
|
+
truncated:
|
|
17553
|
+
type: boolean
|
|
17554
|
+
total_nodes:
|
|
17555
|
+
type: integer
|
|
17556
|
+
description: Node count before the cap.
|
|
17557
|
+
fixture:
|
|
17558
|
+
type: boolean
|
|
17559
|
+
description: Present and true only for synthetic data.
|
|
17560
|
+
OtelThreatList:
|
|
17561
|
+
type: array
|
|
17562
|
+
items:
|
|
17563
|
+
type: object
|
|
17564
|
+
required: [id, agent_id, class, severity, detected_by, status, shadow, blast_radius, blast_radius_size]
|
|
17565
|
+
properties:
|
|
17566
|
+
id: { type: string, format: uuid }
|
|
17567
|
+
agent_id: { type: string, format: uuid }
|
|
17568
|
+
class:
|
|
17569
|
+
type: string
|
|
17570
|
+
enum: [prompt_injection, policy_breach, spend_anomaly, key_exfil, off_hours, consensus_bypass, trust_breach]
|
|
17571
|
+
severity: { type: string, enum: [critical, warn] }
|
|
17572
|
+
detected_by: { type: string }
|
|
17573
|
+
status: { type: string, enum: [open, acknowledged, resolved] }
|
|
17574
|
+
shadow: { type: boolean }
|
|
17575
|
+
evidence: { type: array, items: { type: object } }
|
|
17576
|
+
blast_radius:
|
|
17577
|
+
type: object
|
|
17578
|
+
properties:
|
|
17579
|
+
vaults: { type: integer }
|
|
17580
|
+
connectors: { type: integer }
|
|
17581
|
+
chains: { type: integer }
|
|
17582
|
+
blast_radius_size:
|
|
17583
|
+
type: integer
|
|
17584
|
+
description: Sum of the blast radius. The sort key.
|
|
17585
|
+
resolved_by: { type: string, nullable: true }
|
|
17586
|
+
created_at: { type: string, format: date-time }
|
|
17587
|
+
updated_at: { type: string, format: date-time }
|
|
17588
|
+
OtelSummary:
|
|
17589
|
+
type: object
|
|
17590
|
+
required: [posture_score, open_threats, open_critical, pending_approvals, agent_count, top_threats]
|
|
17591
|
+
properties:
|
|
17592
|
+
posture_score: { type: integer, minimum: 0, maximum: 100 }
|
|
17593
|
+
open_threats: { type: integer }
|
|
17594
|
+
open_critical: { type: integer }
|
|
17595
|
+
pending_approvals: { type: integer }
|
|
17596
|
+
agent_count: { type: integer }
|
|
17597
|
+
top_threats:
|
|
17598
|
+
type: array
|
|
17599
|
+
description: At most five, same ranking as /v1/otel/threats.
|
|
17600
|
+
items: { type: object }
|
|
17595
17601
|
UpdatePayGuardrailsRequest:
|
|
17596
17602
|
type: object
|
|
17597
17603
|
properties:
|