Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var TrailTables = []interface{}{ &Trail{}, &EventSelector{}, }
Functions ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) CollectResource ¶
type EventSelector ¶ added in v0.7.6
type EventSelector struct {
ID uint `gorm:"primarykey"`
TrailID uint `neo:"ignore"`
AccountID string `gorm:"-"`
Region string `gorm:"-"`
IncludeManagementEvents *bool
ReadWriteType *string
}
func (EventSelector) TableName ¶ added in v0.7.6
func (EventSelector) TableName() string
type Trail ¶
type Trail struct {
ID uint `gorm:"primarykey"`
AccountID string
Region string
CloudWatchLogsLogGroupArn *string
CloudWatchLogsLogGroupName *string
CloudWatchLogsRoleArn *string
HasCustomEventSelectors *bool
HasInsightSelectors *bool
HomeRegion *string
IncludeGlobalServiceEvents *bool
IsMultiRegionTrail *bool
IsOrganizationTrail *bool
KmsKeyId *string
LogFileValidationEnabled *bool
Name *string
S3BucketName *string
S3KeyPrefix *string
SnsTopicARN *string
SnsTopicName *string
TrailARN *string `neo:"unique"`
EventSelectors []*EventSelector `gorm:"constraint:OnDelete:CASCADE;"`
IsLogging *bool
// Status
LatestCloudWatchLogsDeliveryError *string
LatestCloudWatchLogsDeliveryTime *time.Time
LatestDeliveryAttemptSucceeded *string
LatestDeliveryAttemptTime *string
LatestDeliveryError *string
LatestDeliveryTime *time.Time
LatestDigestDeliveryError *string
LatestDigestDeliveryTime *time.Time
LatestNotificationAttemptSucceeded *string
LatestNotificationAttemptTime *string
LatestNotificationError *string
LatestNotificationTime *time.Time
StartLoggingTime *time.Time
StopLoggingTime *time.Time
TimeLoggingStarted *string
TimeLoggingStopped *string
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.