Hello,
By using the library as documented, for a dataAccess event, I observed from the auditLog json that is being sent to the auditLog service, that the eventType is set as 'dppDataAccess' and not 'dataAccess'. Here is the code that does it. So while I expect the data to be like this:
"data": {
"dataAccess": {
"channelType": null,
"channelId": null,
"dataSubjectId": "userId:user1",
"dataSubjectType": "null",
"objectType": "MyObjectType",
"objectId": "user1_c1589ddc-7fdf-45e2-9e29-0c8e2c84b33f",
"attribute": "someAttr"
}
}
I get this instead:
"data": {
"dppDataAccess": {
"channelType": "not specified",
"channelId": "not specified",
"dataSubjectId": "userId:user1",
"dataSubjectType": "null",
"objectId": "id:user1_26b4912a-9bff-424c-9b07-f83a6a9e800a",
"objectType": "MyObjectType",
"attribute": "someAttr"
}
}
I believe this is a bug as these event types signify 2 different accesses. Can you confirm if that is indeed the case?
Hello,
By using the library as documented, for a dataAccess event, I observed from the auditLog json that is being sent to the auditLog service, that the eventType is set as 'dppDataAccess' and not 'dataAccess'. Here is the code that does it. So while I expect the data to be like this:
I get this instead:
I believe this is a bug as these event types signify 2 different accesses. Can you confirm if that is indeed the case?