audit

package
v1.19.0 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2018 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 2 more Imports: 7 Imported by: 0

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