The ScriptRunner audit log helps you inspect the script configuration changes made by your users. The audit log service logs add, edit, or delete operations for ScriptRunner scripts as part of application audit log. The service also logs execution of built-in scripts that could potentially change the system.
To avoid swamping the audit log, the service does not log activities where scripts read data from the system. It only logs activities where the configuration has been changed.
View Audit Log
ScriptRunner audit logging is enabled by default since ScriptRunner v5.3.8 as part of Confluence audit log. You must be a Confluence administrator to view the Confluence audit log.
Navigate toGeneral Configuration>Administration>Audit Logto view the audit log. TheChangecolumn starts withScriptRunnerfor the ScriptRunner audit log entry. The screenshot below is an example of how the ScriptRunner audit log entries looks like in Confluence audit log.
Disabling Audit Log
You won’t be able to inspect ScriptRunner script configuration changes if the audit logging is disabled. Disabling ScriptRunner audit logging mechanism is highly discouraged unless you have a strong reason.
To disable the audit logging, follow these steps:
Login as an administrator.
Go to [BASE-URL]/admin/darkfeatures.action.
In theEnable Dark Featuretext field, addscriptrunner.audit.log.disabled.
The image below shows the dark feature page after adding thescriptrunner.audit.log.disabledkey:
Enabling Audit Log
Login as an administrator.
Go to [BASE-URL]/admin/darkfeatures.action.
Locate thescriptrunner.audit.log.disabledkey, and then select(remove)link on the right side of the key.
This should remove thescriptrunner.audit.log.disabledkey from the list.