Skip to main content

3) SDF Log Definition

Definition of log data stored in SDF

brandName : SDF

serviceName : SDF

Log Event Description

ClassificationEvent CodeEvent NameDescription
Security ProcessingENCRYPTEncryptionThis is a log of the encrypted document.
Security ProcessingENCRYPT_SKIPEncryption SkipEncryption skip (if the original document is already a secure document) log.
Security ProcessingDECRYPTDecryptionThis is the log of the decrypted document.
Security ProcessingDECRYPT_SKIPDecryption SkipDecryption skip (if the original document is a regular document) log.
Security ProcessingDS_AUTH_CHECKSecurity Document Permission CheckThis is a log that checks server permissions for security documents based on user ID.
Content ProcessingADD_CUSTOM_PROPERTIESAdd hidden informationThis is a log with hidden information added to the office document.
Content ProcessingREMOVE_CUSTOM_PROPERTIESDeletion of Hidden InformationThis is a log of hidden information removed from the office document.
Content ProcessingMAKE_SOMCreating SOM FileThis is the log of the SOM file created in the document.
Content ProcessingMAKE_SOM_SKIPSkip SOM GenerationSOM creation skipped (if the original document is already SOM) log.
Policy ManagementSAVE_SECURITY_LEVEL_PROPERTIESEdit Security LevelLogs of adding, modifying, and deleting security levels of office documents.

Log Object Description

Common Log Object

Common log object keyDescription
traceIdID to track the flow between services (BRANDNAME-UUID)
timeLog generation time millisecond
ipRequested task system IP (extracted from request header)
userIdUser ID related to logs (extracted from ExtraInfo in the request body)
logLevelERROR / INFO
logTypeUSER
brandNameCypherDocsFlow
serviceNameCypherDocsFlow
serviceHostnamePOD equipment name running SDF Container
tenantIdCustomer company ID registered in IdGP (extracted from the token)
targetOriginal filename of the requested encryption and decryption
eventLog Event Key (refer to event description)
detailAdditional explanation about the log (full response)

Original (Inbound) Information Log Object

source log object keyDescription
nameCall System Name (extracted from the ExtraInfo of the request details)
fromCall System URL (extracted from ExtraInfo of the request body)

File Log Object

file log object keyDescription
idExtracting DOC_UID from the header after DS encryption
fidExtracting BRANCH_UID from the header after DS encryption
nameFile name (including extension)
extFile Extension
sizeFile size (byte)
typePrevFile types before conversion (ds / ms / normal)
typePrevDetailEncryption policy of the file before conversion (JSON format)<br/>In the case of DS: Encryption method (encType) of the security document header<br/>If it is MS: Label information (label)
typeConverted file type (ds / ms / normal)
typeDetailEncryption policy for the converted file (JSON format)<br/>In the case of DS: Encryption method of the request message (encType)<br/>For MS: Request specialist's label information (label)

User Log Object

user log object keyDescription
idUser ID (extracted from ExtraInfo of the request body)
nameUsername (extracted from the ExtraInfo of the request)
departAll User Departments (extracted from the ExtraInfo of the request)
dutyUser Position Name (extracted from the request specialist's 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"
}