Versions Compared

Key

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

...

Hvert servicekald medfører en ny indgang i auditloggen, som kan være udfyldt med følgende komponenter, afhængig af konteksten:

Komponent

Kontekst

Type

Nøgle

Information

TODOcreateBlurringPersonligcpr
FGVHRregisterConsentPersonligpatient-idBorgerens id
FGVHRregisterConsentPersonligpatient-id-sourceId'ens kilde, fx "CPR"
FGVHRregisterConsentIkke personligactor-roleAktørens rolle
FGVHRregisterConsentIkke personligactor-idAktørens id. Vil i praksis være det samme some patient-id.
FGVHRregisterConsentIkke personligactor-id-sourceId'ens kilde, fx "CPR"
FGVHRregisterConsentFølsomconsent-statusStatus på samtykke. Kan være "ACTIVE", "INACTIVE" eller "ENTERED-IN-ERROR".
FGVHRregisterConsentPersonligvalid-fromAntal dage til hvornår samtykke træder i kraft
FGVHRdeleteConsentPersonligpatient-idBorgerens id
FGVHRdeleteConsentPersonligpatient-id-sourceId'ens kilde, fx "CPR"
FGVHRdeleteConsentIkke personligactor-roleAktørens rolle
FGVHRdeleteConsentIkke personligactor-idAktørens id. Vil i praksis være det samme some patient-id.
FGVHRdeleteConsentIkke personligactor-id-sourceId'ens kilde, fx "CPR"
FGVHRdeleteConsentFølsomconsent-statusStatus på samtykke. Kan være "ACTIVE", "INACTIVE" eller "ENTERED-IN-ERROR".
FGVHRgetConsentPersonligpatient-idBorgerens id
FGVHRgetConsentPersonligpatient-id-sourceId'ens kilde, fx "CPR"
CPR på borgeren
Code Block
languagetextjs
titleCreateBlurring eksempel
collapsetrue
Eksempel på auditlogning

{
    "time": "2023-09-07T07:33:00.568Z",
    "category": "dk.sds.nsp.audit.log.fgvhr",
    "audit": {
        "timestamp": "2023-09-07T09:33:00.478+02:00",
        "components": [
            {
                "component": "FGVHR",
                "contexts": [
                    {
                        "context": "getConsent",
                        "information": [
                            {
                                "key": "patient-id",
                                "type": "RPI",
                                "value": "0108501234"
                            },
                            {
                                "key": "patient-id-source",
                                "type": "RPI",
                                "value": "CPR"
                            },
                            {
                                "key": "patient-id",
                                "type": "RPI",
                                "value": "0108501234"
                            },
                            {
                                "key": "patient-id-source",
                                "type": "RPI",
                                "value": "CPR"
                            }
                        ]
                    }
                ]
            }
        ]
    },
    "access": {
        "code": 500,
        "duration": 45,
        "httpHeaders": {
            "Content-Type": "text/xml;charset=UTF-8",
            "SOAPAction": "DeleteConsent"
        },
        "httpHost": "localhost",
        "idCardAttributes": {
            "X509Subject": "CN=NSP Test Service Consumer,SERIALNUMBER=UI:DK-O:G:8d3fa047-c77e-47e4-bdd2-e91488610ce6,O=Sundhedsdatastyrelsen,2.5.4.97=NTRDK-33257872,C=DK",
            "dk:gov:saml:attribute:AssuranceLevel": "3",
            "dk:gov:saml:attribute:CprNumberIdentifier": "0511804817",
            "dk:gov:saml:attribute:SpecVer": "DK-SAML-2.0"
        },
        "method": "POST",
        "path": "/fgvhr/20230601/service",
        "query": "",
        "port": 8080,
        "protocol": "http",
        "reqSize": 12266,
        "resSize": 454,
        "soapHeaders": {
            "Audience": "https://fsk",
            "Issuer": "TEST1-NSP-STS",
            "NameID": "dk:gov:saml:attribute:CprNumberIdentifier:0511804817",
            "w3Action": "DeleteConsent",
            "w3MessageID": "72edf363-57f6-482b-906c-e12311f51daa"
        },
        "threadId": "default task-1",
        "time": "2023-09-07T09:33:00.478+02:00",
        "stats": {
            "handlerDuration": 41,
            "RequestContentDuration": 0,
            "ResponseContentDuration": 0,
            "SecurityProtocolRequestDuration": 8,
            "SecurityProtocolResponseDuration": 31,
            "bufferAllocated": false,
            "usedBuffers": 2,
            "activeBuffersInPool": 2,
            "idleBuffersInPool": 0
        }
    }
}  

Baggrundsjobs (TODO)