감사 로그 JSON 스키마
Mattermost 감사 로그의 JSON 스키마 구조, 이벤트 유형 목록 및 데이터 모델을 설명합니다.
감사 로그 JSON 스키마는 필드 이름, 데이터 유형, 객체 및 구조를 포함하여 단일 이벤트가 감사 로그에 기록될 때 표시되는 방식을 일관되게 정의하는 표준화된 청사진 또는 설계도로 기능합니다. JSON 감사 로깅 스키마의 개요는 아래에 제공됩니다. 추가 세부 정보는 JSON 데이터 모델 을 참조하세요. { "timestamp": "", // Event time "status": "", // Success or failure of the audited event or activity "event_name": "", // Logged event name "error": { // Error if status = fail "status_code": 0, "description": "" }, "actor": { // The user performing the action "user_id": "" // Unique identifier of the event user "session_id": "" // Unique session identifier of the event user "client": "" // User agent of the client/platform in use by the event user "ip_address": "" // IPv4/IPv6 IP address of the event user }, "event": { // Event-specific data "parameters": {} // Map containing parameters of the audited event or activity "prior_state": {} // Pre-event state of the object "resulting_state": {} // Post-event state of the object "object_type": "" // Object targeted by the event or activity }, "meta": { "api_path": "", // API endpoint interacted with for event or activity "cluster_id": "" // Unique identifier of the cluster in use by the event user "non_channel_member_access": false // true if user accessed channel content without being a member (v11.5.0+) } } 감사 로그 레코드 예시 # 사용자 환경설정 업데이트 # { "timestamp": "2022-08-17 20:37:52.846 +01:00", "event_name": "updatePreferences", "status": "success", "actor": { "user_id": "aw8ehkwaziytzry1qqxi9tsqwh", "session_id": "kth3jyadc3b1p84kbz6y3o75na", "client": "Mozilla/5.0 (