Add initial niaeve implementation of SFTP logging

This will end up flooding the activity logs due to the way SFTP works, we'll need to have an intermediate step in Wings that batches events every 10 seconds or so and submits them as a single "event" for activity.
This commit is contained in:
DaneEveritt
2022-07-09 19:37:39 -04:00
parent 204a4375fc
commit 59fbd2bcea
6 changed files with 93 additions and 33 deletions

View File

@@ -86,6 +86,7 @@ type SftpAuthRequest struct {
// user for the SFTP subsystem.
type SftpAuthResponse struct {
Server string `json:"server"`
User string `json:"user"`
Permissions []string `json:"permissions"`
}