Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Resolved
-
None
-
None
-
None
Description
Scenario:
- Add user defined properties to an entity
- Update user defined properties to an entity
- Remove user defined properties from an entity
Expectation:
1 audit entry with what is the update/action
Additional information like current entity type_name, guid, and other information are present
Audit for: Add user-defined property :
{ "entityId": "269582c2-9b05-4abf-9abb-71f587c465e0", "timestamp": 1616237977768, "user": "hrt_qa", "action": "CUSTOM_ATTRIBUTE_UPDATE", "details": "Updated custom attribute: {\"typeName\":\"hbase_table\",\"guid\":\"269582c2-9b05-4abf-9abb-71f587c465e0\",\"isIncomplete\":false,\"provenanceType\":0,\"version\":0,\"customAttributes\":{\"a\":\"1\",\"b\":\"2\",\"c\":\"3\"},\"proxy\":false}", "eventKey": "269582c2-9b05-4abf-9abb-71f587c465e0:1616237977768:0:1616237977821", "entity": None, "type": None }
Only the customAttributes has to be updated
Audit for: Update user-defined property :
{ "entityId": "269582c2-9b05-4abf-9abb-71f587c465e0", "timestamp": 1616238083948, "user": "hrt_qa", "action": "CUSTOM_ATTRIBUTE_UPDATE", "details": "Updated custom attribute: {\"typeName\":\"hbase_table\",\"guid\":\"269582c2-9b05-4abf-9abb-71f587c465e0\",\"isIncomplete\":false,\"provenanceType\":0,\"version\":0,\"customAttributes\":{\"a\":\"2\",\"b\":\"2\",\"d\":\"5\"},\"proxy\":false}", "eventKey": "269582c2-9b05-4abf-9abb-71f587c465e0:1616238083948:0:1616238083988", "entity": None, "type": None }
Audit for: remove user-defined property :**
{ "entityId": "269582c2-9b05-4abf-9abb-71f587c465e0", "timestamp": 1616238309523, "user": "hrt_qa", "action": "CUSTOM_ATTRIBUTE_UPDATE", "details": "Updated custom attribute: {\"typeName\":\"hbase_table\",\"guid\":\"269582c2-9b05-4abf-9abb-71f587c465e0\",\"isIncomplete\":false,\"provenanceType\":0,\"version\":0,\"customAttributes\":{},\"proxy\":false}", "eventKey": "269582c2-9b05-4abf-9abb-71f587c465e0:1616238309523:0:1616238309558", "entity": None, "type": None }
UI operation screen shot is added for reference: