cloudtrail

package
v0.31.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultRegion = "us-east-1"

Functions

func NewCloudtrailCmd

func NewCloudtrailCmd() *cobra.Command

NewCloudtrailCmd represents the newCmdWriteEvents command

Types

type LookupEventsOptions

type LookupEventsOptions struct {
	// contains filtered or unexported fields
}

LookupEventsOptions struct for holding options for event lookup

type RawEventDetails

type RawEventDetails struct {
	EventVersion string `json:"eventVersion"`
	UserIdentity struct {
		AccountId      string `json:"accountId"`
		SessionContext struct {
			SessionIssuer struct {
				Type     string `json:"type"`
				UserName string `json:"userName"`
				Arn      string `json:"arn"`
			} `json:"sessionIssuer"`
		} `json:"sessionContext"`
	} `json:"userIdentity"`
	EventRegion string `json:"awsRegion"`
	EventId     string `json:"eventID"`
}

RawEventDetails struct represents the structure of an AWS raw event

Jump to

Keyboard shortcuts

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