cloudaudit

package
v0.1.0-alpha.4 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2026 License: Apache-2.0 Imports: 4 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 {
	Timestamp   time.Time `json:"timestamp"`
	Provider    Provider  `json:"provider"`
	AgentID     string    `json:"agent_id,omitempty"`
	Principal   string    `json:"principal,omitempty"`
	Action      string    `json:"action"`
	Resource    string    `json:"resource"`
	Environment string    `json:"environment,omitempty"`
	Success     bool      `json:"success"`
}

func Normalize

func Normalize(provider Provider, payload []byte) (Event, error)

type Options

type Options struct {
	MaxEvents    int
	MaxLineBytes int
}

type Provider

type Provider string
const (
	AWS   Provider = "aws"
	GCP   Provider = "gcp"
	Azure Provider = "azure"
)

Jump to

Keyboard shortcuts

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