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

[Atlas: Audits] When a term is added or removed, v1 api displays action as null instead of TERM_ADD or TERM_DELETE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0
    • atlas-core
    • None

    Description

      Scenario:

      • Add a term to an entity.
      • Remove the term from the entity

      Audits will be generated. Here the action should appear as TERM_ADD or TERM_DELETE

      But the value is null instead. Please check the reference below

      {
          "entityId": "d83d7d10-c137-4a16-8018-70692cd555b2",
          "timestamp": 1617286735612,
          "user": "hrt_qa",
          "action": null,
          "details": "Added term: {\"guid\":\"700bafef-ac2b-489b-a54b-0dc5741e2a6f\",\"qualifiedName\":\"hdcpg_term@hdcpg_glossary\",\"name\":\"hdcpg_term\"}",
          "eventKey": "d83d7d10-c137-4a16-8018-70692cd555b2:1617286735612:0:1617286735676"
      } 

      v1: https://<cluster>:31443/api/atlas/entities/<guid>/audit

      TERM_ADD

      TERM_DELETE

       

      Attachments

        1. Screenshot 2021-04-01 at 8.04.11 PM.png
          94 kB
          Dharshana M Krishnamoorthy
        2. Screenshot 2021-04-01 at 7.58.12 PM.png
          94 kB
          Dharshana M Krishnamoorthy

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dharshmk Dharshana M Krishnamoorthy
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: