Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Attributes ¶
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"`
}
Click to show internal directories.
Click to hide internal directories.