حذف تصدير حدث المخاطر
curl --request DELETE \
--url https://api.truthlocks.com/v1/risk/siem/export/{id} \
--header 'X-API-Key: <api-key>'const options = {method: 'DELETE', 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.delete(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("DELETE", 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))
}التدقيق والسجلات
حذف تصدير حدث المخاطر
إزالة لقطة تصدير مع الحفاظ على سجلاتها المصدرية.
DELETE
/
v1
/
risk
/
siem
/
export
/
{id}
حذف تصدير حدث المخاطر
curl --request DELETE \
--url https://api.truthlocks.com/v1/risk/siem/export/{id} \
--header 'X-API-Key: <api-key>'const options = {method: 'DELETE', 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.delete(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("DELETE", 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 كمعامل مسار. لا يحتوي الاستجابة 204 على نص. يؤدي هذا إلى حذف النسخة والوظيفة التي تم إنشاؤها فقط؛ تظل إشارات المخاطر والقرارات المصدرية تحت قواعد الاحتفاظ الخاصة بها.
تحتوي صادرات المخاطر على إشارات وقرارات مخاطر مساحة العمل. لا تقوم بتكوين إعادة توجيه سجل التدقيق التلقائي. راجع تكامل SIEM للتمييز.
