3) SDF Log Definition
Definition of log data stored in SDF
brandName : SDF
serviceName : SDF
Log Event Description
| Classification | Event Code | Event Name | Description |
|---|---|---|---|
| Security Processing | ENCRYPT | Encryption | This is a log of the encrypted document. |
| Security Processing | ENCRYPT_SKIP | Encryption Skip | Encryption skip (if the original document is already a secure document) log. |
| Security Processing | DECRYPT | Decryption | This is the log of the decrypted document. |
| Security Processing | DECRYPT_SKIP | Decryption Skip | Decryption skip (if the original document is a regular document) log. |
| Security Processing | DS_AUTH_CHECK | Security Document Permission Check | This is a log that checks server permissions for security documents based on user ID. |
| Content Processing | ADD_CUSTOM_PROPERTIES | Add hidden information | This is a log with hidden information added to the office document. |
| Content Processing | REMOVE_CUSTOM_PROPERTIES | Deletion of Hidden Information | This is a log of hidden information removed from the office document. |
| Content Processing | MAKE_SOM | Creating SOM File | This is the log of the SOM file created in the document. |
| Content Processing | MAKE_SOM_SKIP | Skip SOM Generation | SOM creation skipped (if the original document is already SOM) log. |
| Policy Management | SAVE_SECURITY_LEVEL_PROPERTIES | Edit Security Level | Logs of adding, modifying, and deleting security levels of office documents. |
Log Object Description
Common Log Object
| Common log object key | Description |
|---|---|
| traceId | ID to track the flow between services (BRANDNAME-UUID) |
| time | Log generation time millisecond |
| ip | Requested task system IP (extracted from request header) |
| userId | User ID related to logs (extracted from ExtraInfo in the request body) |
| logLevel | ERROR / INFO |
| logType | USER |
| brandName | CypherDocsFlow |
| serviceName | CypherDocsFlow |
| serviceHostname | POD equipment name running SDF Container |
| tenantId | Customer company ID registered in IdGP (extracted from the token) |
| target | Original filename of the requested encryption and decryption |
| event | Log Event Key (refer to event description) |
| detail | Additional explanation about the log (full response) |
Original (Inbound) Information Log Object
| source log object key | Description |
|---|---|
| name | Call System Name (extracted from the ExtraInfo of the request details) |
| from | Call System URL (extracted from ExtraInfo of the request body) |
File Log Object
| file log object key | Description |
|---|---|
| id | Extracting DOC_UID from the header after DS encryption |
| fid | Extracting BRANCH_UID from the header after DS encryption |
| name | File name (including extension) |
| ext | File Extension |
| size | File size (byte) |
| typePrev | File types before conversion (ds / ms / normal) |
| typePrevDetail | Encryption 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) |
| type | Converted file type (ds / ms / normal) |
| typeDetail | Encryption 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 key | Description |
|---|---|
| id | User ID (extracted from ExtraInfo of the request body) |
| name | Username (extracted from the ExtraInfo of the request) |
| depart | All User Departments (extracted from the ExtraInfo of the request) |
| duty | User 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"
}