⚠⚠⚠ Deprecated: ⚠⚠⚠
This repository is deprecated in favor of libcontainerssh for ContainerSSH 0.5.
This library provides an integration overlay for the SSH server and the audit log library
In order to use this library you will need two things:
- An audit logger from the auditlog library.
- A handler from the sshserver library to act as a backend to this library.
You can then create the audit logging handler like this:
handler := auditlogintegration.New(
backend,
auditLogger,
)
You can then pass this handler to the SSH server as described in the readme:
server, err := sshserver.New(
cfg,
handler,
logger,
)