audit

package
v0.0.0-...-da3e774 Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const Version = "1"

Version - represents the current version of audit log structure.

Variables

This section is empty.

Functions

func NewEntry

func NewEntry(deploymentID string) audit.Entry

NewEntry - constructs an audit entry object with some fields filled

func ToEntry

func ToEntry(w http.ResponseWriter, r *http.Request, reqClaims map[string]interface{}, deploymentID string) audit.Entry

ToEntry - constructs an audit entry from a http request

Types

This section is empty.

Jump to

Keyboard shortcuts

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