メインコンテンツまでスキップ

3) SDF 로그 정의

SDF에서 저장하는 로그 데이터 정의

brandName : SDF

serviceName : SDF

로그 이벤트 설명

분류이벤트 코드이벤트명설명
보안 처리ENCRYPT암호화문서를 암호화한 로그입니다.
보안 처리ENCRYPT_SKIP암호화 스킵암호화 스킵 (원본 문서가 이미 보안 문서인 경우) 로그입니다.
보안 처리DECRYPT복호화문서를 복호화한 로그입니다.
보안 처리DECRYPT_SKIP복호화 스킵복호화 스킵 (원본 문서가 일반 문서인 경우) 로그입니다.
보안 처리DS_AUTH_CHECK보안 문서 권한 체크사용자 ID를 기반으로 보안 문서의 서버 권한을 체크한 로그입니다.
콘텐츠 처리ADD_CUSTOM_PROPERTIES은닉 정보 추가오피스 문서의 은닉 정보를 추가한 로그입니다.
콘텐츠 처리REMOVE_CUSTOM_PROPERTIES은닉 정보 삭제오피스 문서의 은닉 정보를 삭제한 로그입니다.
콘텐츠 처리MAKE_SOMSOM 파일 생성문서에서 SOM 파일을 생성한 로그입니다.
콘텐츠 처리MAKE_SOM_SKIPSOM 생성 스킵SOM 생성 스킵 (원본 문서가 이미 SOM인 경우) 로그입니다.
정책 관리SAVE_SECURITY_LEVEL_PROPERTIES보안 등급 편집오피스 문서의 보안 등급 추가, 수정, 삭제한 로그입니다.

로그 객체 설명

공통 로그 객체

공통 로그 객체 key설명
traceId서비스 간 흐름을 추적하기 위한 ID (BRANDNAME-UUID)
time로그 생성 시간 millisecond
ip요청한 업무 시스템 IP (리퀘스트 헤더에서 추출)
userId로그 관련 사용자 ID (요청 전문의 ExtraInfo에서 추출)
logLevelERROR / INFO
logTypeUSER
brandNameCypherDocsFlow
serviceNameCypherDocsFlow
serviceHostnameSDF Container가 구동중인 POD 장비명
tenantIdIdGP 에 등록된 고객사 회사 ID (토큰에서 추출)
target암복호화를 요청한 원본 파일명
event로그 이벤트 키 (event 설명 참고)
detail로그에 대한 추가 설명 내용 (응답 전문)

원본(유입) 정보 로그 객체

source 로그 객체 key설명
name호출 시스템 이름 (요청 전문의 ExtraInfo에서 추출)
from호출 시스템 URL (요청 전문의 ExtraInfo에서 추출)

파일 로그 객체

file 로그 객체 key설명
idDS 암호화 완료 후 헤더의 DOC_UID 추출
fidDS 암호화 완료 후 헤더의 BRANCH_UID 추출
name파일 이름(확장자 포함)
ext파일 확장자
size파일 크기(byte)
typePrev변환 전 파일 타입 (ds / ms / normal)
typePrevDetail변환 전 파일의 암호화 정책 (JSON 형식)<br/>DS인 경우 : 보안 문서 헤더의 암호화 방식 (encType)<br/>MS인 경우 : 레이블 정보 (lable)
type변환 후 파일 타입 (ds / ms / normal)
typeDetail변환 후 파일의 암호화 정책 (JSON 형식)<br/>DS인 경우 : 요청 전문의 암호화 방식 (encType)<br/>MS인 경우 : 요청 전문의 레이블 정보 (lable)

사용자 로그 객체

user 로그 객체 key설명
id사용자 아이디 (요청 전문의 ExtraInfo에서 추출)
name사용자 이름 (요청 전문의 ExtraInfo에서 추출)
depart사용자 전체 부서 (요청 전문의 ExtraInfo에서 추출)
duty사용자 직급 이름 (요청 전문의 ExtraInfo에서 추출)

Examples

[ENCRYPT]

{
"traceId": "CypherDocsFlow-69da82e9-6755-4389-b30f-e54fedb5dddc",
"logType": "USER",
"brandName": "CypherDocsFlow",
"inserttime": "2024-01-05 04:32:25.354",
"ip": "127.0.0.1",
"index": "cloudlog_log_7fdkqsek-qvgkyxa2-fx1lxizy-snire0s9",
"source": {
"name": "EKMS",
"from": "https://devekms.softcamp.co.kr"
},
"serviceName": "CypherDocsFlow",
"userId": "ekmsTest@softcamp.co.kr",
"target": "test.txt",
"file": {
"id": "doc",
"fid": "branch",
"name": "test_enc.txt",
"ext": "txt",
"size": 2636,
"typePrev": "normal",
"type": "ds",
"typeDetail": "{\"encType\":\"GRADE\",\"authList\":\"0000005|SECURITYDOMAIN^110001111\"}"
},
"logLevel": "INFO",
"serviceHostname": "cloud-containerlinker-service-654b7b794-tx8pf",
"tenantId": "7FDKQsEK-QVGKyXA2-fx1LxIzy-SNIre0s9",
"time": 1704429145322,
"detail": "{\"code\":0,\"message\":\"OK\"}",
"crc32": 2319727592,
"id": "625601974A201D60DA8D9EF40834F793FD98C7511031444B59F531F55052E7CF",
"event": "ENCRYPT",
"serviceId": "1ba26d0f-c519-4a76-95bc-90736a2ece55",
"user": {
"name": "ekmsTest",
"duty": "과장",
"id": "ekmsTest@softcamp.co.kr",
"depart": "임직원/연구소/개발실/개발1팀"
}
}

[ENCRYPT_SKIP]

{
"logType": "USER",
"traceId": "CypherDocsFlow-e6f0b451-f2a5-4707-b26a-4879ebf72083",
"brandName": "CypherDocsFlow",
"inserttime": "2024-01-05 01:17:33.999",
"ip": "127.0.0.1",
"index": "cloudlog_log_7fdkqsek-qvgkyxa2-fx1lxizy-snire0s9",
"source": {
"name": "EKMS",
"from": "https://devekms.softcamp.co.kr"
},
"serviceName": "CypherDocsFlow",
"userId": "ekmsTest@softcamp.co.kr",
"target": "test_enc.txt",
"file": {
"id": "doc",
"fid": "branch",
"name": "test_enc1.txt",
"ext": "txt",
"size": 2636,
"typePrev": "ds",
"typePrevDetail": "{\"encType\":\"GRADE\"}",
"type": "ds",
"typeDetail": "{\"encType\":\"GRADE\"}"
},
"logLevel": "ERROR",
"serviceHostname": "DESKTOP-FITKVEH",
"tenantId": "7FDKQsEK-QVGKyXA2-fx1LxIzy-SNIre0s9",
"time": 1704417452656,
"detail": "{\"code\":40010,\"message\":\"File is already encrypted.\"}",
"crc32": 3853657465,
"id": "C35AF5A12F2CFA11C3D4B607A2DCD6E9976280DFEADC49D19C4493551578229A",
"event": "ENCRYPT_SKIP",
"serviceId": "1ba26d0f-c519-4a76-95bc-90736a2ece55",
"user": {
"name": "ekmsTest",
"duty": "과장",
"id": "ekmsTest@softcamp.co.kr",
"depart": "임직원/연구소/개발실/개발1팀"
}
}

[DECRYPT]

{
"logType": "USER",
"traceId": "CypherDocsFlow-a65895ef-354a-46ca-b07b-ae88ce404ade",
"brandName": "CypherDocsFlow",
"inserttime": "2024-01-05 01:19:47.300",
"ip": "127.0.0.1",
"index": "cloudlog_log_7fdkqsek-qvgkyxa2-fx1lxizy-snire0s9",
"serviceName": "CypherDocsFlow",
"userId": "ekmsTest@softcamp.co.kr",
"target": "test_enc.txt",
"file": {
"id": "doc",
"fid": "branch",
"name": "test_dec.txt",
"ext": "txt",
"size": 2636,
"typePrev": "ds",
"typePrevDetail": "{\"encType\":\"GRADE\"}",
"type": "normal"
},
"logLevel": "INFO",
"serviceHostname": "DESKTOP-FITKVEH",
"tenantId": "7FDKQsEK-QVGKyXA2-fx1LxIzy-SNIre0s9",
"time": 1704417586796,
"detail": "{\"code\":0,\"message\":\"OK\"}",
"crc32": 3367525847,
"id": "0B88E559561034EB2751399598B6511D7323E28FB968BFD8CD9720A53E7DACBD",
"event": "DECRYPT",
"serviceId": "1ba26d0f-c519-4a76-95bc-90736a2ece55",
"user": {
"name": "ekmsTest",
"duty": "과장",
"id": "ekmsTest@softcamp.co.kr",
"depart": "임직원/연구소/개발실/개발1팀"
}
}

[DECRYPT_SKIP]

{
"logType": "USER",
"traceId": "CypherDocsFlow-69284327-d801-4fd3-b026-9b2d184299c8",
"brandName": "CypherDocsFlow",
"inserttime": "2024-01-05 01:20:47.259",
"ip": "127.0.0.1",
"index": "cloudlog_log_7fdkqsek-qvgkyxa2-fx1lxizy-snire0s9",
"serviceName": "CypherDocsFlow",
"userId": "ekmsTest@softcamp.co.kr",
"target": "test.txt",
"file": {
"name": "test_dec.txt",
"ext": "txt",
"size": 2636,
"typePrev": "normal",
"type": "normal"
},
"logLevel": "INFO",
"serviceHostname": "DESKTOP-FITKVEH",
"tenantId": "7FDKQsEK-QVGKyXA2-fx1LxIzy-SNIre0s9",
"time": 1704417646772,
"detail": "{\"code\":0,\"message\":\"OK\"}",
"crc32": 3691964362,
"id": "74971C778E5A869CFCF1287165EE0A01E0CD0595C5A50985048C239288682C07",
"event": "DECRYPT_SKIP",
"serviceId": "1ba26d0f-c519-4a76-95bc-90736a2ece55",
"user": {
"name": "ekmsTest",
"duty": "과장",
"id": "ekmsTest@softcamp.co.kr",
"depart": "임직원/연구소/개발실/개발1팀"
}
}

[SAVE_SECURITY_LEVEL_PROPERTIES]

{
"logType": "USER",
"traceId": "CypherDocsFlow-cffa7de4-ee44-477a-9d12-8957993229ab",
"brandName": "CypherDocsFlow",
"ip": "127.0.0.1",
"serviceName": "CypherDocsFlow",
"target": "test_normal.pptx",
"file": {
"ext": "pptx",
"typePrev": "normal",
"size": 31293,
"name": "test_normal.pptx",
"type": "normal"
},
"logLevel": "INFO",
"serviceHostname": "cloud-containerlinker-service-7f6ff647f6-zwgf4",
"tenantId": "3CJ55MSE-xLO7Sxt4-qUBKzbcs-XP2cgGEq",
"time": 1752647349986,
"detail": "{\"labelId\":\"jPQOgOEa-Ge338ddW-3q4Wyy2S-Qy3w4mm5\",\"code\":0}",
"event": "SAVE_SECURITY_LEVEL_PROPERTIES"
}