Telemetrie-Empfängereinstellungen verwalten
POST /api/auth/telemetry/manage
Verifizierte Browser-Sitzung eines Workspace-Administrators und exakter Origin-Header erforderlich. Die Bindung an Konto/Datensatz/Datenschutz ist unveränderlich. Rotation gibt einmalig Zugangsdaten zur Aufnahme für 1?365 Tage zurück, die im Ruhezustand gehasht sind. Rotation/Trennung macht ausstehende Uploads ungültig. Archivieren erfordert Trennung; Wiederherstellen stellt keine Zugangsdaten wieder her. Änderungen außer Erstellung erfordern expectedRevision. Löschen erfordert vorherige Trennung, expectedRevision und confirm true; unterstützt archivierte Empfänger und idempotente Wiederholungen derselben Revision. Entfernt Verbindungseinstellungen und Lieferdiagnosen, erhält jedoch Inventar, unveränderliche Evidenz und Archivarbeit. Deduplizierungsmarker behalten ihren normalen Ablauf nach dreißig Tagen. Verspätete Uploads und Prüfungen können gelöschte Empfänger nicht wiederbeleben. Normales Lesen, Status, Wiederherstellen und Datenaufnahme geben 404 zurück. Deaktiviere oder entferne den Provider-Auftrag separat; es wird keine Provider-API aufgerufen.
Zulässige Rollen: admin.
Authentifizierung
Die folgenden OpenAPI-Alternativen beschreiben die akzeptierte Authentifizierung. Änderungen über den Browser erfordern außerdem den kanonischen Origin-Header.
[
{
"browserSession": []
}
]
Parameter
[]
Anfrageinhalt
{
"required": true,
"content": {
"application/json": {
"schema": {
"oneOf": [
{
"type": "object",
"properties": {
"operation": {
"type": "string",
"const": "create"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 120
},
"accountId": {
"type": "string",
"pattern": "^[a-f0-9]{32}$"
},
"dataset": {
"type": "string",
"const": "zero_trust_network_sessions"
},
"retainEndpointAddresses": {
"type": "boolean"
},
"consent": {
"type": "boolean",
"const": true
}
},
"required": [
"operation",
"name",
"accountId",
"dataset",
"retainEndpointAddresses",
"consent"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"operation": {
"type": "string",
"const": "list"
},
"after": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"archived": {
"type": "boolean"
}
},
"required": [
"operation"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"operation": {
"type": "string",
"const": "read"
},
"connectionId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"required": [
"operation",
"connectionId"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"operation": {
"type": "string",
"const": "rename"
},
"connectionId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"expectedRevision": {
"type": "integer",
"minimum": 1,
"maximum": 1000000000
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 120
}
},
"required": [
"operation",
"connectionId",
"expectedRevision",
"name"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"operation": {
"type": "string",
"const": "rotate"
},
"connectionId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"expectedRevision": {
"type": "integer",
"minimum": 1,
"maximum": 1000000000
},
"expiresInDays": {
"default": 90,
"type": "integer",
"minimum": 1,
"maximum": 365
}
},
"required": [
"operation",
"connectionId",
"expectedRevision"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"operation": {
"type": "string",
"const": "delete"
},
"connectionId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"expectedRevision": {
"type": "integer",
"minimum": 1,
"maximum": 1000000000
},
"confirm": {
"type": "boolean",
"const": true
}
},
"required": [
"operation",
"connectionId",
"expectedRevision",
"confirm"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"operation": {
"type": "string",
"const": "disconnect"
},
"connectionId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"expectedRevision": {
"type": "integer",
"minimum": 1,
"maximum": 1000000000
}
},
"required": [
"operation",
"connectionId",
"expectedRevision"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"operation": {
"type": "string",
"const": "archive"
},
"connectionId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"expectedRevision": {
"type": "integer",
"minimum": 1,
"maximum": 1000000000
}
},
"required": [
"operation",
"connectionId",
"expectedRevision"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"operation": {
"type": "string",
"const": "restore"
},
"connectionId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"expectedRevision": {
"type": "integer",
"minimum": 1,
"maximum": 1000000000
}
},
"required": [
"operation",
"connectionId",
"expectedRevision"
],
"additionalProperties": false
}
]
}
}
}
}
Antworten
{
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"anyOf": [
{
"type": "object",
"properties": {
"receiverStatus": {
"enum": [
"ready",
"expired",
"authorization-required",
"credential-required",
"disconnected",
"archived"
]
},
"id": {
"type": "string",
"format": "uuid"
},
"tenantId": {
"type": "string",
"format": "uuid"
},
"name": {
"type": "string"
},
"accountId": {
"type": "string",
"pattern": "^[a-f0-9]{32}$"
},
"dataset": {
"const": "zero_trust_network_sessions"
},
"retainEndpointAddresses": {
"type": "boolean"
},
"revision": {
"type": "integer"
},
"state": {
"enum": [
"credential-required",
"configured",
"disconnected"
]
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"createdBy": {
"type": "string"
},
"updatedBy": {
"type": "string"
},
"consentedAt": {
"type": "string",
"format": "date-time"
},
"consentedBy": {
"type": "string"
},
"credentialExpiresAt": {
"type": "string",
"format": "date-time"
},
"revokedAt": {
"type": "string",
"format": "date-time"
},
"archivedAt": {
"type": "string",
"format": "date-time"
}
},
"required": [
"id",
"tenantId",
"name",
"accountId",
"dataset",
"retainEndpointAddresses",
"revision",
"state",
"createdAt",
"updatedAt",
"createdBy",
"updatedBy",
"consentedAt",
"consentedBy"
]
},
{
"type": "object",
"properties": {
"items": {
"type": "array",
"maxItems": 100,
"items": {
"type": "object",
"properties": {
"receiverStatus": {
"enum": [
"ready",
"expired",
"authorization-required",
"credential-required",
"disconnected",
"archived"
]
},
"id": {
"type": "string",
"format": "uuid"
},
"tenantId": {
"type": "string",
"format": "uuid"
},
"name": {
"type": "string"
},
"accountId": {
"type": "string",
"pattern": "^[a-f0-9]{32}$"
},
"dataset": {
"const": "zero_trust_network_sessions"
},
"retainEndpointAddresses": {
"type": "boolean"
},
"revision": {
"type": "integer"
},
"state": {
"enum": [
"credential-required",
"configured",
"disconnected"
]
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"createdBy": {
"type": "string"
},
"updatedBy": {
"type": "string"
},
"consentedAt": {
"type": "string",
"format": "date-time"
},
"consentedBy": {
"type": "string"
},
"credentialExpiresAt": {
"type": "string",
"format": "date-time"
},
"revokedAt": {
"type": "string",
"format": "date-time"
},
"archivedAt": {
"type": "string",
"format": "date-time"
}
},
"required": [
"id",
"tenantId",
"name",
"accountId",
"dataset",
"retainEndpointAddresses",
"revision",
"state",
"createdAt",
"updatedAt",
"createdBy",
"updatedBy",
"consentedAt",
"consentedBy"
]
}
},
"nextCursor": {
"type": [
"string",
"null"
]
}
},
"required": [
"items",
"nextCursor"
]
},
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"deleted": {
"const": true
},
"expectedRevision": {
"type": "integer",
"minimum": 1,
"maximum": 1000000000
},
"deletedAt": {
"type": "string",
"format": "date-time"
}
},
"required": [
"id",
"deleted",
"expectedRevision",
"deletedAt"
]
},
{
"type": "object",
"properties": {
"connection": {
"type": "object",
"properties": {
"receiverStatus": {
"enum": [
"ready",
"expired",
"authorization-required",
"credential-required",
"disconnected",
"archived"
]
},
"id": {
"type": "string",
"format": "uuid"
},
"tenantId": {
"type": "string",
"format": "uuid"
},
"name": {
"type": "string"
},
"accountId": {
"type": "string",
"pattern": "^[a-f0-9]{32}$"
},
"dataset": {
"const": "zero_trust_network_sessions"
},
"retainEndpointAddresses": {
"type": "boolean"
},
"revision": {
"type": "integer"
},
"state": {
"enum": [
"credential-required",
"configured",
"disconnected"
]
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"createdBy": {
"type": "string"
},
"updatedBy": {
"type": "string"
},
"consentedAt": {
"type": "string",
"format": "date-time"
},
"consentedBy": {
"type": "string"
},
"credentialExpiresAt": {
"type": "string",
"format": "date-time"
},
"revokedAt": {
"type": "string",
"format": "date-time"
},
"archivedAt": {
"type": "string",
"format": "date-time"
}
},
"required": [
"id",
"tenantId",
"name",
"accountId",
"dataset",
"retainEndpointAddresses",
"revision",
"state",
"createdAt",
"updatedAt",
"createdBy",
"updatedBy",
"consentedAt",
"consentedBy"
]
},
"token": {
"type": "string",
"description": "One-time receiver credential. Store securely; never logged or returned again."
}
},
"required": [
"connection",
"token"
]
}
]
}
}
}
},
"400": {
"description": "Validation error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"401": {
"description": "Missing/expired/revoked credential",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"403": {
"description": "Insufficient role",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"404": {
"description": "Not found",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"409": {
"description": "State or idempotency conflict",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"413": {
"description": "Body too large",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"415": {
"description": "Unsupported media type",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"429": {
"description": "Request budget exhausted; respect Retry-After",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
},
"headers": {
"Retry-After": {
"schema": {
"type": "integer",
"minimum": 1
},
"description": "Seconds until sufficient budget is expected; concurrent traffic may consume replenished capacity."
}
}
},
"500": {
"description": "Internal error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"503": {
"description": "Not configured",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
}
}
Referenzen wie #/components/schemas/Asset werden in den gemeinsamen Schemas aufgelöst. Lade den OpenAPI-Vertrag zur Clientgenerierung herunter. Diese Seite wird generiert; sie beschreibt die implementierte Entwicklungs-API, keine geplanten Endpunkte.