audit

package
v1.16.0 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2017 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 4 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

Jump to

Keyboard shortcuts

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