audit

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2022 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Event

type Event struct {
	EventTime         int64
	EventVersion      string
	EventName         string
	Description       string
	SourceIpAddress   string
	UserAgent         string
	RequestId         string
	RequestMethod     string
	RequestParameters string
	ResponseStatus    int
	ResponseElements  string
	EventType         string
	ResourceReports   []Resource
	ErrorCode         string
	ErrorMessage      string
	Url               string
	UserIdentity      *UserIdentity
	ApiAction         string
	ApiVersion        string
	EventSource       string
}

type EventList

type EventList struct {
	Items []Event
}

type Handler added in v1.2.0

type Handler struct {
	EnInstance  *gi18n.Manager
	EnvInstance *gi18n.Manager
}

func NewHandler added in v1.2.0

func NewHandler(managers *international.Gi18nManagers) Handler

func (*Handler) Audit added in v1.2.0

func (h *Handler) Audit() gin.HandlerFunc

type Resource

type Resource struct {
	ResourceType string
	ResourceId   string
	ResourceName string
}

type UserIdentity

type UserIdentity struct {
	AccountId string
}

Jump to

Keyboard shortcuts

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