audit

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: May 11, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Driver

type Driver struct {
	Client    *api.Client
	Region    string
	AccessKey string
}

Driver wraps Volcengine CloudTrail `LookupEvents` so the validation flow can dump operation log entries similarly to other clouds.

func (*Driver) DumpEvents

func (d *Driver) DumpEvents(ctx context.Context, args string) ([]schema.Event, error)

DumpEvents returns recent Audit events. `args` may be a `<startUnix>:<endUnix>` time window, "all", or empty (service default lookback).

func (*Driver) HandleEvents

func (d *Driver) HandleEvents(ctx context.Context, _ string) (schema.EventActionResult, error)

HandleEvents is a no-op for Volcengine CloudTrail: like other vendor audit services it is read-only with no whitelist concept. Surface a clear error instead of silently succeeding.

Jump to

Keyboard shortcuts

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