감사 이벤트 목록 내보내기

페이로드에서 검색하려는 이벤트를 지정하여 /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

이벤트에 대해 기록된 작업 유형입니다. 작업은 다음 중 하나일 수 있습니다.

  • Add
  • Create
  • Dataset activate
  • Dataset remove
  • Delete
  • Disable for profile
  • Enable
  • Enable for profile
  • Profile activate
  • Profile remove
  • Remove
  • Reset
  • Segment Activate
  • Segment remove
  • Update

예: ?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 응답 헤더에 제공됩니다.

NOTE
여러 자산에 대해 작동하는 일괄 처리 작업의 경우 내보낸 CSV에는 assets 배열의 문자열 JSON인 값이 있는 assets 열이 포함되어 있습니다. 예제 값: "[{""assetId"":""id-1"",""assetName"":""name-1"",""status"":""Success""},{""assetId"":""id-2"",""assetName"":""name-2"",""status"":""Failure"",""failureCode"":""SMS-2010-403""}]".
recommendation-more-help
experience-platform-help-landing