Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type QueryOptions ¶
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"` ErrorCode string `json:"errorCode"` }
RawEventDetails struct represents the structure of an AWS raw event
func ExtractUserDetails ¶
func ExtractUserDetails(cloudTrailEvent *string) (*RawEventDetails, error)
Extracts Raw cloudtrailEvent Details
Click to show internal directories.
Click to hide internal directories.