감사 로그
감사 로그 (AuditLog)
Docker Hub 감사 로그 이벤트 한 건을 나타내는 스키마예요. 누가(actor) 어떤 조직(account)에서 무슨 동작(action)을 언제(timestamp) 했는지와 부가 데이터를 담아요.
출처: 문서
본문
감사 로그 이벤트 객체의 필드는 다음과 같아요.
account: 이벤트가 발생한 계정/조직action: 수행된 동작 이름action_description: 동작 설명actor: 동작을 수행한 주체data: 동작 관련 부가 데이터 (문자열 맵)name: 이벤트 이름timestamp: 이벤트 발생 시각 (date-time)
{
"description": "Audit log event.",
"properties": {
"account": {
"type": "string"
},
"action": {
"type": "string"
},
"action_description": {
"type": "string"
},
"actor": {
"type": "string"
},
"data": {
"additionalProperties": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"timestamp": {
"format": "date-time",
"type": "string"
}
},
"type": "object"
}
더 알아보기
- 감사 로그 조회 응답 (GetAuditLogsResponse): 감사 로그 목록 응답 구조를 확인해요.
- 감사 로그 작업 (AuditLogAction):
action필드의 기반이 되는 작업 정의를 살펴봐요.