Adding user-specified records to the audit trail

sp_addauditrecord allows users to enter comments into the audit trail. The syntax is:

sp_addauditrecord [text] [, db_name] [, obj_name]
     [, owner_name] [, dbid] [, objid]

All the parameters are optional:

You can use sp_addauditrecord if:

By default, only a system security officer and the database owner of sybsecurity can use sp_addauditrecord. Permission to execute it may be granted to other users.