Is there any onUpdate/onDelete trigger I can hook my custom plugin into that can track when a person is updated or deleting a credential?
Is there a plugin which can do it? The current audit plugin I have tracks all changes as “SYSTEM” and makes a full copy of the credential.xml each time which fills up our disk space.
The likely spot for any such extension point would be in the credentials plugin, but I do not see any such methods being called currently (they would likely be in com.cloudbees.plugins.credentials.SystemCredentialsProvider). It should be relatively simple to provide such methods though if they were really needed; just needs someone to add a PR to the plugin to add auditing.