匯出稽核事件清單
您可以對/audit/export端點發出GET要求,指定您要在裝載中擷取的事件,以擷取事件資料。
API格式
GET /audit/export
參數
說明
timestamp依時間戳記進行篩選時,最佳做法是使用>和<運運算元來使用範圍,而不是使用確切的值。
範例:
範例:
?property=timestamp<2020-02-08T02:46:48.610862Z&property=timestamp>2020-01-01T02:46:48.610862Z。status動作的狀態。 狀態可以是下列任一專案:
-
Allow -
Deny -
Failure -
Success
範例: ?property=status==Deny。
action為事件記錄的動作型別。 動作可以是下列任一專案:
AddCreateDataset activateDataset removeDeleteDisable for profileEnableEnable for profileProfile activateProfile removeRemoveResetSegment ActivateSegment removeUpdate
範例:?property=action==Create。
user執行事件的使用者。
assetType執行動作的Experience Platform資源型別。
範例:
範例:
?property=assetType==<an asset type>。要求
curl -X POST \
https://platform.adobe.io/data/foundation/audit/export
-H 'Authorization: Bearer {ACCESS_TOKEN}' \
-H 'x-api-key: {API_KEY}' \
-H 'x-gw-ims-org-id: {ORG_ID}' \
-H 'x-sandbox-name: {SANDBOX_NAME}' \
-H 'x-request-id: {TRACING_ID}' \
回應
結果會產生CSV檔案以供匯出,每個專案代表核心或增強稽核事件。 成功的回應會傳回HTTP 307,但沒有回應內文。 Location回應標頭中提供匯出檔案的連結。
recommendation-more-help
5741548a-2e07-44b3-9157-9c181502d0c5