I can’t seem to figure out how to clear the job invocations history. Someone provided a password in a user input field when submitting a remote scheduled task, and now that password is in the job invocation history.
Solution for clearing the foreman job invocation history
Foreman and Proxy versions:
foreman proxy = 1.17.4
foreman katello = 3.6
Foreman and Proxy plugin versions:
Distribution and version:
CentOS Linux release 7.7.1908
Other relevant data:
Wow, that seems as pretty old Foreman version. Jobs should be cleaned up with the tasks cleanup. Take a look at
The default lifetime of a failed REX task (job) is 1 year. Successful tasks are removed after 1 month. You can tweak that in
Thank you appreciate the information! Don’t know how I missed that in the docs: Foreman :: Plugin Manuals. It’s pretty clear in section 3.7.
Must have been a Friday. And yes it is pretty old version, long internal story I won’t bore you with it