Sunil Mohan Adapa 601d04f47c
actions: Log arguments without secret strings in privileged calls
- When privileged action is called, it is logged without arguments currently.
Extend this to log all arguments but excluding the parameters of type
secret_str.

- When error is raised, all arguments are being logged currently. Extend this to
exclude the parameters of type secret_str.

Tests:

- Privileged actions with secret strings log messages with '****' instead of
secret string.

- When an error is raised in a privileged action, an exception is logged. In the
exception message, the method and parameters are printed. Parameters that are
secret strings are shown as '****'.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2024-08-11 12:57:47 -04:00
..
2024-07-29 22:35:52 -04:00
2023-08-23 21:47:39 -04:00
2024-05-02 21:45:25 -07:00
2024-03-16 09:17:35 +02:00
2024-03-16 09:17:35 +02:00