types

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Attributes

type Attributes struct {
	CreationDate     string `json:"creationDate"`
	MfaAuthenticated string `json:"mfaAuthenticated"`
}

type CloudTrailCliInput added in v1.0.19

type CloudTrailCliInput struct {
	Profile           string
	Region            string
	StartTime         time.Time
	EndTime           time.Time
	EventId           string
	EventName         string
	UserName          string
	ResourceName      string
	ResourceType      string
	EventSource       string
	AccessKeyId       string
	IsReadOnlyFlagSet bool
	ReadOnly          bool
	MaxResults        int
	ErrorOnly         bool
	TruncateUserName  bool
	TruncateUserAgent bool
}

type CloudTrailEvent

type CloudTrailEvent struct {
	EventVersion       string       `json:"eventVersion"`
	UserIdentity       UserIdentity `json:"userIdentity"`
	EventTime          string       `json:"eventTime"`
	EventSource        string       `json:"eventSource"`
	EventName          string       `json:"eventName"`
	AwsRegion          string       `json:"awsRegion"`
	SourceIPAddress    string       `json:"sourceIPAddress"`
	UserAgent          string       `json:"userAgent"`
	ErrorCode          string       `json:"errorCode,omitempty"`
	ErrorMessage       string       `json:"errorMessage,omitempty"`
	RequestParameters  interface{}  `json:"requestParameters"`
	ResponseElements   interface{}  `json:"responseElements"`
	RequestId          string       `json:"requestID"`
	EventId            string       `json:"eventID"`
	ReadOnly           bool         `json:"readOnly"`
	ManagementEvent    bool         `json:"managementEvent"`
	RecipientAccountId string       `json:"recipientAccountId"`
	EventCategory      string       `json:"eventCategory"`
}

type SessionContext

type SessionContext struct {
	SessionIssuer       SessionIssuer       `json:"sessionIssuer"`
	WebIdFederationData WebIdFederationData `json:"webIdFederationData"`
	Attributes          Attributes          `json:"attributes"`
}

type SessionIssuer

type SessionIssuer struct {
	Type        string `json:"type"`
	PrincipalId string `json:"principalId"`
	Arn         string `json:"arn"`
	AccountId   string `json:"accountId"`
	UserName    string `json:"userName"`
}

AssumedRole

type UserIdentity

type UserIdentity struct {
	Type           string         `json:"type"`
	PrincipalId    string         `json:"principalId"`
	Arn            string         `json:"arn"`
	AccountId      string         `json:"accountId"`
	AccessKeyId    string         `json:"accessKeyId"`
	UserName       string         `json:"userName,omitempty"`
	SessionContext SessionContext `json:"sessionContext,omitempty"`
	InvokedBy      string         `json:"invokedBy"`
}

type WebIdFederationData

type WebIdFederationData struct {
	FederatedProvider string      `json:"federatedProvider"`
	Attributes        interface{} `json:"attributes"`
}

Jump to

Keyboard shortcuts

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