Documentation
¶
Index ¶
- Variables
- type AccessProviderInputExtended
- type AccessProviderType
- type AccessWithWho
- type ActionMetadata
- type AwsResource
- type AwsS3AccessPoint
- type AwsS3Entity
- type CloudTrailLog
- type CloudtrailRecord
- type EventBytes
- type GlueColumn
- type GlueTable
- type GroupEntity
- type PolicyBinding
- type PolicyEntity
- type RoleEntity
- type UserEntity
- type UserIdentity
Constants ¶
This section is empty.
Variables ¶
View Source
var GlueTableType = "glue-" + ds.Table
View Source
var PrefixToAccessProviderTypeMap = map[string]AccessProviderType{ constants.PolicyTypePrefix: Policy, constants.RoleTypePrefix: Role, constants.SsoRoleTypePrefix: SSORole, constants.AccessPointTypePrefix: AccessPoint, }
Functions ¶
This section is empty.
Types ¶
type AccessProviderInputExtended ¶
type AccessProviderInputExtended struct {
ApInput *sync_from_target.AccessProvider
LastUsedDate *time.Time
PolicyType AccessProviderType
}
type AccessProviderType ¶
type AccessProviderType string
const ( Role AccessProviderType = "aws_role" SSORole AccessProviderType = "aws_sso_role" Policy AccessProviderType = "aws_policy" AccessPoint AccessProviderType = "aws_access_point" )
type AccessWithWho ¶
type AccessWithWho struct {
Name string
What []sync_to_target.WhatItem
Who sync_to_target.WhoItem
}
type ActionMetadata ¶
type AwsResource ¶
type AwsS3AccessPoint ¶
type AwsS3Entity ¶
type CloudTrailLog ¶
type CloudTrailLog struct {
Records []CloudtrailRecord `json:"Records"`
}
type CloudtrailRecord ¶
type CloudtrailRecord struct {
UserIdentity *UserIdentity `json:"userIdentity"`
// Test interface{} `json:"userIdentity"`
EventTime *time.Time `json:"eventTime"`
EventSource *string `json:"eventSource"`
EventName *string `json:"eventName"`
AwsRegion *string `json:"awsRegion"`
SourceIPAddress *string `json:"sourceIPAddress"`
UserAgent *string `json:"userAgent"`
Bytes *EventBytes `json:"additionalEventData"`
EventID *string `json:"eventID"`
ReadOnly bool `json:"readOnly"`
Resources []AwsResource `json:"resources"`
EventType *string `json:"eventType"`
ManagementEvent bool `json:"managementEvent"`
RecipientAccountId *string `json:"recipientAccountId"`
EventCategory *string `json:"eventCategory"`
}
type EventBytes ¶
type GlueColumn ¶ added in v0.0.9
type GroupEntity ¶
type PolicyBinding ¶
type PolicyEntity ¶
type PolicyEntity struct {
ARN string
Name string
Id string
Description string
AttachmentCount int32
PolicyType AccessProviderType
InlineParent *string
AssumeRolePolicyDocument *string
AwsManaged bool
PolicyDocument *string
PolicyParsed *awspolicy.Policy
Tags []*tag.Tag
GroupBindings []PolicyBinding
UserBindings []PolicyBinding
RoleBindings []PolicyBinding
}
type RoleEntity ¶
type UserEntity ¶
Click to show internal directories.
Click to hide internal directories.