mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-09-05 04:27:55 +00:00
87269c7452
Scan the z/VM, bmcconfig, energy, PPC configuration, CIM and z/VM utility sources. Fail when a printSyslog line or a checkSSH_Rc command string carries a password variable, when a directory query output logs without the redactor, when the masked log lines lose their mask or their position built operand, when the executed commands lose their real values, when the CIM verbose dump returns to the raw request, or when the attribute and access messages hold a password value again. Drive the real redact_directory_entry with sentinel USER, IDENTITY, IDENT, MDISK range, DEVNO and V-DISK, APPCPASS and keyword records in both spellings, with and without one or more comment stars, cover the COMMAND statement whole, keep the statements beside the passwords, and prove that a passwordless record never masks across the line into the next record. Assert that both clone loops redact the query output at the source, that the directory helpers hand a redacted copy to the failure checker, and that every error branch behind the output check, the directory fetch, the mini disk fetch and the four disk list callers, echoes the redacted text.