Dharshana M Krishnamoorthy created ATLAS-4233: -------------------------------------------------
Summary: [Atlas: Audits] When a term is added or removed, v1 api displays action as null instead of TERM_ADD or TERM_DELETE Key: ATLAS-4233 URL: https://issues.apache.org/jira/browse/ATLAS-4233 Project: Atlas Issue Type: Bug Components: atlas-core Reporter: Dharshana M Krishnamoorthy Attachments: Screenshot 2021-04-01 at 7.58.12 PM.png, Screenshot 2021-04-01 at 8.04.11 PM.png *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 {code:java} { "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" } {code} *v1: https://<cluster>:31443/api/atlas/entities/<guid>/audit* *TERM_ADD* !Screenshot 2021-04-01 at 7.58.12 PM.png|width=584,height=179! *TERM_DELETE* !Screenshot 2021-04-01 at 8.04.11 PM.png|width=581,height=174! -- This message was sent by Atlassian Jira (v8.3.4#803005)