Risikoereignisexport lesen
curl --request GET \
--url https://api.truthlocks.com/v1/risk/siem/export/{id} \
--header 'X-API-Key: <api-key>'const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.truthlocks.com/v1/risk/siem/export/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.truthlocks.com/v1/risk/siem/export/{id}"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.truthlocks.com/v1/risk/siem/export/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"export_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "pending",
"format": "json",
"since": "2023-11-07T05:31:56Z",
"until": "2023-11-07T05:31:56Z",
"event_types": [
"signal"
],
"record_count": 123,
"created_at": "2023-11-07T05:31:56Z",
"completed_at": "2023-11-07T05:31:56Z",
"error_message": "<string>",
"export_data": {}
}Audit & Protokolle
Risikoereignisexport lesen
Einen Export abfragen und die abgeschlossenen Nachweise abrufen.
GET
/
v1
/
risk
/
siem
/
export
/
{id}
Risikoereignisexport lesen
curl --request GET \
--url https://api.truthlocks.com/v1/risk/siem/export/{id} \
--header 'X-API-Key: <api-key>'const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.truthlocks.com/v1/risk/siem/export/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.truthlocks.com/v1/risk/siem/export/{id}"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.truthlocks.com/v1/risk/siem/export/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"export_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "pending",
"format": "json",
"since": "2023-11-07T05:31:56Z",
"until": "2023-11-07T05:31:56Z",
"event_types": [
"signal"
],
"record_count": 123,
"created_at": "2023-11-07T05:31:56Z",
"completed_at": "2023-11-07T05:31:56Z",
"error_message": "<string>",
"export_data": {}
}Geben Sie die
export_id von der Erstellung als Pfadparameter an. Es ist kein Anfragetext erforderlich. Das Polling setzt ausstehende Arbeiten nach einem Neustart fort. Lesen Sie status, bevor Sie export_data konsumieren; ein fehlgeschlagener Job enthält eine Erklärung. Wenn das Fenster mehr als 10.000 Datensätze enthält, erstellen Sie einen neuen Export mit einem engeren Datumsbereich.
Risikoexporte enthalten Risikosignale und Entscheidungen des Arbeitsbereichs. Sie konfigurieren keine automatische Weiterleitung von Audit-Protokollen. Siehe SIEM-Integration für den Unterschied.Autorisierungen
Antwort
Aktueller Auftrag und abgeschlossene Nachweise, falls verfügbar

