Uploaded image for project: 'OpenIDM'
  1. OpenIDM
  2. OPENIDM-15134

PUT on managed user have after=null in activity audit

    Details

      Description

      Activity audit is missing `after` attribute values in CSV and JSON handlers

      1. Enable CSV handler
      2. Create user
      3. Update user by PUT

      JSON

      {"transactionId":"b5774832-bbbb-489f-a1e3-b6c88c2074f4-1370","timestamp":"2020-07-13T09:47:53.158Z","eventName":"activity","userId":"openidm-admin","runAs":"openidm-admin","operation":"UPDATE","before":{"userName":"u84NhsZp","givenName":"rick","sn":"sutter","mail":"rick@example.com","telephoneNumber":"6669876987","password":{"$crypto":{"type":"x-simple-encryption","value":{"cipher":"AES/CBC/PKCS5Padding","stableId":"openidm-sym-default","salt":"qj8Xi5QgypVmWADN5E58gA==","data":"Eyi2RnpUQZDH6+rgRThMZA==","keySize":16,"purpose":"idm.password.encryption","iv":"66af/O2g2EtuGqmQ8DmKTQ==","mac":"Pp4BgFNH77wpFIz3qVcYDg=="}}},"description":"Just another user","accountStatus":"active","effectiveRoles":[],"effectiveAssignments":[],"_rev":"00000000556bef38","_id":"u84NhsZp"},"after":null,"changedFields":[],"revision":"00000000556bef38","message":"update","objectId":"managed/user/u84NhsZp","passwordChanged":true,"status":"SUCCESS","_id":"b5774832-bbbb-489f-a1e3-b6c88c2074f4-1433"}
      

      CSV

      "_id","timestamp","eventName","transactionId","userId","trackingIds","runAs","objectId","operation","before","after","changedFields","revision","status","message","passwordChanged","context","provider"
      "b5774832-bbbb-489f-a1e3-b6c88c2074f4-1433","2020-07-13T09:47:53.158Z","activity","b5774832-bbbb-489f-a1e3-b6c88c2074f4-1370","openidm-admin",,"openidm-admin","managed/user/u84NhsZp","UPDATE","{""userName"":""u84NhsZp"",""givenName"":""rick"",""sn"":""sutter"",""mail"":""rick@example.com"",""telephoneNumber"":""6669876987"",""password"":{""$crypto"":{""type"":""x-simple-encryption"",""value"":{""cipher"":""AES/CBC/PKCS5Padding"",""stableId"":""openidm-sym-default"",""salt"":""qj8Xi5QgypVmWADN5E58gA=="",""data"":""Eyi2RnpUQZDH6+rgRThMZA=="",""keySize"":16,""purpose"":""idm.password.encryption"",""iv"":""66af/O2g2EtuGqmQ8DmKTQ=="",""mac"":""Pp4BgFNH77wpFIz3qVcYDg==""}}},""description"":""Just another user"",""accountStatus"":""active"",""effectiveRoles"":[],""effectiveAssignments"":[],""_rev"":""00000000556bef38"",""_id"":""u84NhsZp""}",,"[]","00000000556bef38","SUCCESS","update","true",,
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                victor.ortega Victor Ortega
                Reporter:
                michal.orlik@profiq.cz Michal Orlik
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: