audit

package
v1.28.0 Latest Latest
Warning

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

Go to latest
Published: May 9, 2019 License: Apache-2.0 Imports: 7 Imported by: 37

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuditLoggerConfig

func AuditLoggerConfig(cfg *config.Config) string

func GetCredentialsEventType

func GetCredentialsEventType(roleType string) string

GetCredentialsEventType is the type for a GetCredentials request

Types

type AuditLogger

type AuditLogger interface {
	Log(r request.LogRequest, httpResponseCode int, eventType string)
	GetContainerInstanceArn() string
	GetCluster() string
}

func NewAuditLog

func NewAuditLog(containerInstanceArn string, cfg *config.Config, logger InfoLogger) AuditLogger

type InfoLogger

type InfoLogger interface {
	Info(i ...interface{})
}

Directories

Path Synopsis
Package mock_audit is a generated GoMock package.
Package mock_audit is a generated GoMock package.

Jump to

Keyboard shortcuts

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