auditlog

package
v0.0.0-...-c34d2c7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 4, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package auditlog provides structured logging for auditing purposes

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Entry

type Entry struct {
	CurrentUserUUID  string
	CompanyUUID      string
	TeamUUID         string
	Authorization    string
	TargetType       string
	TargetUUID       string
	OriginalContents interface{}
	UpdatedContents  interface{}
}

Entry is used to control what is tracked in the audit log

func (*Entry) Log

func (a *Entry) Log(logger *logrus.Entry, action string)

Log sends an audit log event based on an entry data structure

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL