audit

package
v1.0.0-rc0 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2021 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Audit

func Audit() gin.HandlerFunc

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
}

type EventList

type EventList struct {
	Items []Event
}

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