Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Filen  audit.log indeholder logning af alle kald med information om, hvem der har kaldt hvad.

Komponent

Kontekst

Type

Nøgle

Information

Nøgle

Information

MinLog2
GetLogStatementsForCPRPersonWithID
LookupRequest
SensitivePersonalInformationCaller"Caller" hvem der har kaldt
MinLog2LookupRequestSensitivePersonalInformationParams"Params" en json repræsentation af inputparametre

Eksempel fra auditloggen. 


{
"time": "2022-06-
13T08
13T14:
58
49:
50
29.
948Z
09Z",
"category": "dk.sds.nsp.audit.log.
minlog
minlog2",
"audit": {
"timestamp": "2022-06-
13T10
13T16:
58
49:
50
29.
825
046+02:00",
"components": [
{
"component": "
MinLog
MinLog2",
"contexts": [
{
"context": "
\"GetLogStatementsForCPRPersonWithID\"
LookupRequest",
"information": [
{
"key": "Caller",
"type": "SPI",
"value": "
2104529197
1010780337"
},
{
"key": "Parameters",
"type": "SPI",
"value": "NA"
}
]
}
]
}
]
},
"access": {
"code":
500
200,
"duration":
111
39,
"httpHeaders": {
"Content-Type": "text/xml; charset=UTF-8",
"SOAPAction": "\"GetLogStatementsForCPRPersonWithID\""
},
"httpHost": "localhost",
"idCardAttributes": {
"dk:gov:saml:attribute:AssuranceLevel": "3",
"dk:gov:saml:attribute:CprNumberIdentifier": "
2104529197
1010780337",
"dk:gov:saml:attribute:SpecVer": "DK-SAML-2.0"
},
"method": "POST",
"path": "/minlog2-lookupid/LookupidService",
"query": "",
"port": 8081,
"protocol": "http",
"reqSize":
11823
11810,
"resSize":
271
21707,
"soapHeaders": {
"Audience": "https://minlog",
"Issuer": "TEST2-NSP-STS",
"NameID": "C=DK,O=Ingen organisatorisk tilknytning,CN=Lars Larsen,Serial=PID:9208-2002-2-
249640945448
633568693394",
"w3Action": "action",
"w3MessageID": "
urn:uuid:41dfbc89-a3f1-44ce-b369-fd598d7df2ff
64d6a252-f391-460c-a90b-1ea7d8512cd8"
},
"threadId": "default task-
28
102",
"time": "2022-06-
13T10
13T16:
58
49:
50
29.
825
046+02:00",
"stats": {
"handlerDuration":
10
3,
"RequestContentDuration":
3
0,
"ResponseContentDuration": 0,
"SecurityProtocolRequestDuration": 0,
"SecurityProtocolResponseDuration": 0,
"bufferAllocated": false,
"usedBuffers": 2,
"activeBuffersInPool": 2,
"idleBuffersInPool": 29
}
}
}

{
"time": "2022-06-13T14:49:25.078Z",
"category": "dk.sds.nsp.audit.log.minlog2",
"audit": {
"timestamp": "2022-06-13T16:49:25.022+02:00",
"components": [
{
"component": "MinLog2",
"contexts": [
{
"context": "LookupRequest",
"information": [
{
"key": "Caller",
"type": "SPI",
"value": "46837428"
},
{
"key": "Parameters",
"type": "SPI",
"value": {
"cprNR": "1908931462",
"fraDato": 1655131705018,
"tilDato": 1655131795018,
"pageSize": 7,
"pageStartAfter": "c863eb15ad68e490794788e287e9a811738d1d337dd382c2cd1ad0b0"
}
}
]
}
]
}
]
},
"access": {
"code": 200,
"duration": 54,
"httpHeaders": {
"Content-Type": "text/xml; charset=UTF-8",
"SOAPAction": "\"http://nsi.dk/minlog/2014/05/23/ListLogStatements\""
},
"httpHost": "localhost",
"idCardAttributes": {
"medcom:CareProviderID": "46837428",
"medcom:CareProviderName": "Statens Serum Institut",
"medcom:ITSystemName": "Test",
"sosi:AuthenticationLevel": "3",
"sosi:IDCardID": "H/1xienuUQBuWN0tp09auw==",
"sosi:IDCardType": "system",
"sosi:IDCardVersion": "1.0.1"
},
"method": "POST",
"path": "/minlog1-lookup/MinlogService",
"query": "",
"port": 8081,
"protocol": "http",
"reqSize": 6286,
"resSize": 4706,
"soapHeaders": {
"Issuer": "TEST2-NSP-STS",
"MessageID": "AAABgV2KeRyT/Cd9qHFnA1NPU0k=",
"NameID": "SubjectDN={SERIALNUMBER=CVR:46837428-UID:27910135 + CN=Statens Serum Institut - Test VOCES, O=Statens Serum Institut // CVR:46837428, C=DK},IssuerDN={CN=TRUST2408 Systemtest XXXIV CA, O=TRUST2408, C=DK},CertSerial={1604144225}"
},
"threadId": "default task-88",
"time": "2022-06-13T16:49:25.022+02:00",
"stats": {
"handlerDuration": 1,
"RequestContentDuration": 0,
"ResponseContentDuration": 0,
"SecurityProtocolRequestDuration": 0,
"SecurityProtocolResponseDuration": 0,
"bufferAllocated": false,
"usedBuffers": 1,
"activeBuffersInPool": 1,
"idleBuffersInPool": 30
}
}
}

Applikationslog

Filen minlog2-registration-application.log og minlog2-lookup-application.log indeholder applikationsloggen og kan benyttes i fejlsituationer og til statistik. På nuværende tidspunkt anvendes denne primært til logning i forbindelse med batchjob og indlæsning til cache.

...