It would be great if (from a development perspective) there would be a flag per field in every entity where we can just turn or off auditing for that field.
A lot of our competitors have this.
Right now, when we define attributes for an Entity, we have metadata about it like Label, Data Type, Is Mandatory. We can have one more entry in there called "Is Audited". If that flag is turned on, the system would automatically monitor any changes to that field and log who did it and when.
At the Entity level, we can have "Audit Creation" and "Audit Deletion" flags.
The logging should be intelligent - instead of "changed from 1 to 2", it should do the lookup and say "changed from Red to White".
On the consumption side, there should be an easy way to get the Audit logs per Field/Entity.
For any serious enterprise application, this is a needed functionality that people end up implementing themselves and wasting a lot of time on boilerplate code. Having something like this would increase how fast the applications can be rolled out.
PS I looked at this idea but I am not sure if its the same as what I am proposing:
https://www.outsystems.com/ideas/135/audit-entity-changes-both-for-the-master-entity-and-for-detail-entities?IsFromAdvancedSearch=True
This comment was:
- originally posted on idea 'Field level Auditing' (created on 19 Aug 2020 by Munjal Subodh)
- merged to idea 'Audit Entity Changes (both for the master entity and for detail entities)' on 24 Aug 2020 03:53:42 by Justin James