The journal of the privileged utilities (ISO 27001 A.8.18, A.8.15): every command of the application's php admin.php that changes something, run where the configuration says it is production (MMO_MODE, $modes), is written down -- the command and its arguments (a secret's value masked), who ran it (the system user, and SUDO_USER), on which host and folder, the approval it names (--approval=<ticket>), when, and how it ended.
class MMO\admin\helpers\CommandJournal
Espace de noms
MMO\admin\helpers
Which commands only read is what each one declares: its `#[Command]`'s info `readOnly` (true or false), else a
summary or a description saying `read only` (`... (read only)`, `Read only: nothing is changed.`: the convention of
my.oviepro's admin.php), one of [`$readOnly`](https://mmoframework.fr/fr/documentation/mmo.admin/php/helpers/CommandJournal.md#commandjournal-readonly), or any command run with `--dry-run` or `--help`. Every other command is taken for one that changes something: forgetting to declare a
command journals it, it never hides it.
Off by default; an application switches it on in its configuration:
"MMO\\admin\\helpers\\CommandJournal": {"enabled": true, "file": "{db}/admin-commands.jsonl"}
Two lines per command, `started` then `ended` (the same `id`), so a command killed half way still shows.
what its #[Command]s say of it: readOnly (true or false: the declaration), else a summary starting with read only or ending with (read only), a description starting with read only or holding a paragraph that does (a string is a description)