Skip to content

dppDataAccess instead of dataAccess #95

Description

@awenirbanL

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions