actiontrail

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: May 9, 2026 License: MIT Imports: 9 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 the JDCloud AuditTrail audit log lookup used by event-check. Replay fixtures and focused tests cover the request/response contract used by this validation path.

func (*Driver) DumpEvents

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

DumpEvents returns recent AuditTrail events. `args` is interpreted as `<startUnix>:<endUnix>` (or "all" / empty for service default lookback).

func (*Driver) HandleEvents

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

HandleEvents is unsupported: JDCloud AuditTrail is read-only with no whitelist concept.

Jump to

Keyboard shortcuts

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