Your browser was unable to load all of the resources. They may have been blocked by your firewall, proxy or browser configuration.
Press Ctrl+F5 or Ctrl+Shift+R to have your browser try again.

Documentation of "Audit Acceptance Script" #4158

helmut.n ·

I would like to reduce the amount of audit log entries and want to use the Audit Acceptance Script. But I did not find a good documentation about it. All I found is this

If this script is defined, QuickBuild will evaluate it against current audit entry and log the entry only if the script returns true. The current audit entry is passed to the script as object "audit", and one can decide to audit or not based on properties such as audit.source, audit.user, or audit.action

I want to ignore all audit logs, which are Build Requests or not caused by a user.

  • replies 1
  • views 660
  • stars 0
robinshen ADMIN ·

You may filter desired audit logs based on activity string. For instance to filter out all build requests fired by schedulers. Use below script:

groovy:
audit.action != "Build request was submitted by scheduler." // (do not miss the ending dot)