الإبلاغ عن شذوذ
curl --request POST \
--url https://api.truthlocks.com/v1/agents/{agentId}/anomalies \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"anomaly_type": "<string>"
}
'const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({anomaly_type: '<string>'})
};
fetch('https://api.truthlocks.com/v1/agents/{agentId}/anomalies', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.truthlocks.com/v1/agents/{agentId}/anomalies"
payload = { "anomaly_type": "<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/agents/{agentId}/anomalies"
payload := strings.NewReader("{\n \"anomaly_type\": \"<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))
}{
"anomaly_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"agent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"anomaly_type": "<string>",
"severity": "low",
"details": {},
"status": "open",
"resolution": "<string>",
"resolved_by": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"resolved_at": "2023-11-07T05:31:56Z"
}{
"code": "AUTH_REQUIRED",
"message": "Authentication required",
"http_status": 401
}{
"code": "AUTH_REQUIRED",
"message": "Authentication required",
"http_status": 401
}{
"code": "AUTH_REQUIRED",
"message": "Authentication required",
"http_status": 401
}{
"code": "AUTH_REQUIRED",
"message": "Authentication required",
"http_status": 401
}الامتثال والشذوذ
الإبلاغ عن شذوذ
الإبلاغ عن شذوذ سلوكي تم اكتشافه في نشاط وكيل الذكاء الاصطناعي.
POST
/
v1
/
agents
/
{agentId}
/
anomalies
الإبلاغ عن شذوذ
curl --request POST \
--url https://api.truthlocks.com/v1/agents/{agentId}/anomalies \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"anomaly_type": "<string>"
}
'const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({anomaly_type: '<string>'})
};
fetch('https://api.truthlocks.com/v1/agents/{agentId}/anomalies', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.truthlocks.com/v1/agents/{agentId}/anomalies"
payload = { "anomaly_type": "<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/agents/{agentId}/anomalies"
payload := strings.NewReader("{\n \"anomaly_type\": \"<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))
}{
"anomaly_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"agent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"anomaly_type": "<string>",
"severity": "low",
"details": {},
"status": "open",
"resolution": "<string>",
"resolved_by": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"resolved_at": "2023-11-07T05:31:56Z"
}{
"code": "AUTH_REQUIRED",
"message": "Authentication required",
"http_status": 401
}{
"code": "AUTH_REQUIRED",
"message": "Authentication required",
"http_status": 401
}{
"code": "AUTH_REQUIRED",
"message": "Authentication required",
"http_status": 401
}{
"code": "AUTH_REQUIRED",
"message": "Authentication required",
"http_status": 401
}يبلغ عن شذوذ سلوكي تم اكتشافه في نشاط وكيل الذكاء الاصطناعي. الشذوذ هو ملاحظات تم وضع علامة عليها تشير إلى أن الوكيل قد يعمل خارج نطاق سلوكه المتوقع - مثل الارتفاعات المفاجئة في المعدل، أو انتهاكات النطاق، أو انخفاض نقاط الثقة، أو شذوذ الوصول الجغرافي.
تنشئ تقارير الشذوذ تنبيهات قابلة للتنفيذ لفرق الأمن ويمكن أن تؤدي إلى سياسات استجابة آلية (مثل التقييد، أو إلغاء الجلسة، أو تعليق الوكيل) اعتمادًا على الخطورة وتكوين المستأجر.
أنواع الشذوذ
| النوع | الوصف |
|---|---|
rate_spike | يتجاوز معدل طلبات الوكيل بشكل كبير خط الأساس التاريخي |
scope_violation | حاول الوكيل الوصول إلى مورد خارج نطاقاته الممنوحة |
trust_drop | انخفضت درجة ثقة الوكيل المحسوبة إلى ما دون الحد الأدنى |
pattern_deviation | نمط سلوك الوكيل ينحرف عن خط الأساس المدرب عليه |
geographic_anomaly | تم الوصول إلى الوكيل من موقع جغرافي غير متوقع أو نطاق IP |
مستويات الخطورة
| الخطورة | اتفاقية مستوى الخدمة | الاستجابة التلقائية |
|---|---|---|
low | مراجعة 24 ساعة | مسجل فقط |
medium | مراجعة 4 ساعات | تم تقييد الوكيل |
high | مراجعة ساعة واحدة | الجلسات معلقة |
critical | مراجعة 15 دقيقة | تم إلغاء الوكيل بانتظار التحقيق |
الاستجابة
الجسم
application/json
الاستجابة
تم الإبلاغ عن شذوذ

