الحصول على ملف تعريف ATO
curl --request GET \
--url https://api.truthlocks.com/v1/risk/ato/profile/{subject_id} \
--header 'X-API-Key: <api-key>'const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.truthlocks.com/v1/risk/ato/profile/{subject_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/ato/profile/{subject_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/ato/profile/{subject_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))
}{
"subject_id": "<string>",
"risk_level": "<string>",
"last_login": "<string>",
"known_devices": 123,
"alerts": [
{}
]
}{
"code": "AUTH_REQUIRED",
"message": "Authentication required",
"http_status": 401
}الاستيلاء على الحساب
الحصول على ملف تعريف ATO
استرداد ملف تعريف مخاطر الاستيلاء على الحساب الحالي لموضوع ما، بما في ذلك عدد محاولات تسجيل الدخول الفاشلة، ومستوى المخاطر، والأجهزة المعروفة.
GET
/
v1
/
risk
/
ato
/
profile
/
{subject_id}
الحصول على ملف تعريف ATO
curl --request GET \
--url https://api.truthlocks.com/v1/risk/ato/profile/{subject_id} \
--header 'X-API-Key: <api-key>'const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.truthlocks.com/v1/risk/ato/profile/{subject_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/ato/profile/{subject_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/ato/profile/{subject_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))
}{
"subject_id": "<string>",
"risk_level": "<string>",
"last_login": "<string>",
"known_devices": 123,
"alerts": [
{}
]
}{
"code": "AUTH_REQUIRED",
"message": "Authentication required",
"http_status": 401
}يعرض ملف تعريف مخاطر ATO للموضوع المحدد. يتتبع الملف الشخصي سرعة تسجيل الدخول الفاشلة في نافذة متجددة مدتها ساعة واحدة ويسجل عناوين IP والأجهزة المعروفة. استخدم نقطة النهاية هذه للتحقق من وضع المخاطر الحالي للمستخدم دون تشغيل تقييم جديد.
راجع دليل اكتشاف الاستيلاء على الحساب لسير العمل الكامل.

