Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

History on Background Scripts

xiaix
Tera Guru

Any way to get a history on what Background Scrips were ran and by whom?   We need this for audit reasons.

find_real_file.png

1 ACCEPTED SOLUTION

jcote
Giga Expert

I'm not aware of anywhere in the system where it's stored in "one easy place" to look at.



But consider this - every time a background script is run, it creates a Log entry on System Logs > All with a source of "ScriptBackgroundCheck". So that's something that you could look into a bit further. You can't report directly on this table [syslog] but maybe there could be another customization that you could perform every time a background script is run.


View solution in original post

9 REPLIES 9

jcote
Giga Expert

I'm not aware of anywhere in the system where it's stored in "one easy place" to look at.



But consider this - every time a background script is run, it creates a Log entry on System Logs > All with a source of "ScriptBackgroundCheck". So that's something that you could look into a bit further. You can't report directly on this table [syslog] but maybe there could be another customization that you could perform every time a background script is run.


System Logs > All with a source of "ScriptBackgroundCheck"



Excellent!


You may also want to capture any scripts where Source = "SND Xplore" if you use James.Neale's excellent Xplore: Developer Toolkit on Share.


Jim, I don't use it (never heard of it actually) but I'll definitely give it a look-over.   Thanks!