nvflare.fuel.hci.server.audit module¶
- class CommandAudit(auditor: Auditor)[source]¶
Bases:
CommandFilter
Command filter for auditing by adding events.
This filter needs to be registered after the login filter because it needs the username established by the login filter.
- Parameters:
auditor – instance of Auditor
- pre_command(conn: Connection, args: List[str])[source]¶
Code to execute before executing a command.
Returns: True to continue filter chain or False to not