Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 949 Bytes

README.md

File metadata and controls

21 lines (14 loc) · 949 Bytes

ksmglog - get audit log records from Kaspersky Secure Mail Gateway

Build Status Coverage Status

This library get last 500 records from Kaspersky Secure Mail Gateway (KSMG).

  • Collect records from many servers in one request
  • Every POST request provide timeout before run, because KSMG can return empty response.
  • Can run as service and return chan *Record

Install

go get -u github.com/zorion79/ksmglog

Usage

  • define options Opts with url's like https://ksmg01/ksmg/en-US/cgi-bin/klwi
  • make service NewService(opts Opts)
  • grab logs GetLogs return type Record
  • get service.Channel() and grab only latest Records