Uploaded image for project: 'Atlas'
  1. Atlas
  2. ATLAS-4237

[Atlas: Audits] When user defined attributes are updated, all the attributes are appearing in the update audit

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: atlas-core
    • Labels:
      None

      Description

      Add a few user-defined attributes to an entity

      Now add 1 more attribute

      Expectation is that only the newly added attribute should appear, but all the attributes are present in the update audit

      Here is an example of n-1 and nth audit update

       {
          "entityId": "aa9134fa-96f0-4b8e-80b7-d8d8c4fb0232",
          "timestamp": 1617372357199,
          "user": "hrt_qa",
          "action": "CUSTOM_ATTRIBUTE_UPDATE",
          "details": "Updated custom attribute: {\"typeName\":\"entity_type_rvlum\",\"guid\":\"aa9134fa-96f0-4b8e-80b7-d8d8c4fb0232\",\"isIncomplete\":false,\"provenanceType\":0,\"version\":0,\"customAttributes\":{\"jej\":\"wwww\",\"efef\":\"fefsef\",\"ggg\":\"huhu\"},\"proxy\":false}",
          "eventKey": "aa9134fa-96f0-4b8e-80b7-d8d8c4fb0232:1617372357199:0:1617372357214",
          "entity": null,
          "type": null
      },
      {
          "entityId": "aa9134fa-96f0-4b8e-80b7-d8d8c4fb0232",
          "timestamp": 1617372250220,
          "user": "hrt_qa",
          "action": "CUSTOM_ATTRIBUTE_UPDATE",
          "details": "Updated custom attribute: {\"typeName\":\"entity_type_rvlum\",\"guid\":\"aa9134fa-96f0-4b8e-80b7-d8d8c4fb0232\",\"isIncomplete\":false,\"provenanceType\":0,\"version\":0,\"customAttributes\":{\"jej\":\"wwww\",\"efef\":\"fefsef\"},\"proxy\":false}",
          "eventKey": "aa9134fa-96f0-4b8e-80b7-d8d8c4fb0232:1617372250220:0:1617372250250",
          "entity": null,
          "type": null
      }

      n-1 custom attribute :

      "customAttributes\":{\"jej\":\"wwww\",\"efef\":\"fefsef\"}

      n th custom attribute :

      "customAttributes\":{\"jej\":\"wwww\",\"efef\":\"fefsef\",\"ggg\":\"huhu\"}

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              dharshmk Dharshana M Krishnamoorthy

              Dates

              • Created:
                Updated:

                Issue deployment