Evaluar riesgo ATO
curl --request POST \
--url https://api.truthlocks.com/v1/risk/ato/evaluate \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"event_type": "<string>",
"subject_id": "<string>"
}
'const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({event_type: '<string>', subject_id: '<string>'})
};
fetch('https://api.truthlocks.com/v1/risk/ato/evaluate', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.truthlocks.com/v1/risk/ato/evaluate"
payload = {
"event_type": "<string>",
"subject_id": "<string>"
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.truthlocks.com/v1/risk/ato/evaluate"
payload := strings.NewReader("{\n \"event_type\": \"<string>\",\n \"subject_id\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"risk_score": 123,
"decision": "<string>",
"signals": [
{}
]
}{
"code": "AUTH_REQUIRED",
"message": "Authentication required",
"http_status": 401
}Toma de control de cuenta
Evaluar el riesgo de ATO
Evalúa un evento de inicio de sesión contra heurísticas de toma de control de cuenta. Rastrea la velocidad de inicio de sesión fallido por sujeto y activa alertas cuando se superan los umbrales.
POST
/
v1
/
risk
/
ato
/
evaluate
Evaluar riesgo ATO
curl --request POST \
--url https://api.truthlocks.com/v1/risk/ato/evaluate \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"event_type": "<string>",
"subject_id": "<string>"
}
'const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({event_type: '<string>', subject_id: '<string>'})
};
fetch('https://api.truthlocks.com/v1/risk/ato/evaluate', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.truthlocks.com/v1/risk/ato/evaluate"
payload = {
"event_type": "<string>",
"subject_id": "<string>"
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.truthlocks.com/v1/risk/ato/evaluate"
payload := strings.NewReader("{\n \"event_type\": \"<string>\",\n \"subject_id\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"risk_score": 123,
"decision": "<string>",
"signals": [
{}
]
}{
"code": "AUTH_REQUIRED",
"message": "Authentication required",
"http_status": 401
}Evalúa un evento de inicio de sesión contra el motor heurístico ATO. La plataforma rastrea los inicios de sesión fallidos por sujeto en una ventana móvil de una hora y deriva un nivel de riesgo del recuento actual. Cuando se cruza un umbral, se crea una alerta y una señal de riesgo se ingiere automáticamente en la canalización de señales de riesgo.
Consulte la guía de detección de apropiación de cuentas para conocer el flujo de trabajo completo, la referencia de umbrales y los patrones de integración.
Reglas de umbral
| Inicios de sesión fallidos (ventana de 1 h) | Nivel de riesgo | Alerta automática |
|---|---|---|
| 0–4 | normal | No |
| 5–9 | elevado | Sí — velocity_exceeded |
| 10–19 | alto | Sí — velocity_exceeded |
| 20+ | crítico | Sí — credential_stuffing |
Respuesta
Cuerpo
application/json

