Skip to content
This repository has been archived by the owner on Oct 2, 2022. It is now read-only.

ContainerSSH/auditlogintegration

ContainerSSH - Launch Containers on Demand

ContainerSSH SSH Server Audit Log Integration

⚠⚠⚠ 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

Using this library

In order to use this library you will need two things:

  1. An audit logger from the auditlog library.
  2. 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,
)