https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42766 --- Comment #3 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 199882 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=199882&action=edit Bug 42766: Add ScriptLog auto-logging and ARGV scrubbing to Koha::Script Extends the INIT/END blocks added by Bug 42714 to also log non-cron scripts (those using bare 'use Koha::Script') to the SCRIPTS action-log module when the new ScriptLog system preference is enabled. Also introduces _scrub_argv(), which redacts the value of any command- line flag whose name contains a sensitive pattern (password, secret, token, etc.) before the argument list is logged. Scrubbing applies to both cron and non-cron scripts, covering both --flag value and --flag=value forms. This prevents credentials passed on the command line (e.g. misc/devel/create_superlibrarian.pl --password ...) from appearing in the action log. -- You are receiving this mail because: You are watching all bug changes.