Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NodeLabelToNodeMap = map[schema.NodeLabel]schema.Node{ schema.Organization: &Organization{}, schema.Account: &Account{}, schema.Role: &Role{}, }
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct { Id string Arn string Email string Name string Status string JoinedMethod string JoinedTimestamp string IsOrgMgmt bool IsChildAccount bool OrgMgmtAccountID string OrganizationID string }
func (*Account) MakeRelationships ¶
func (a *Account) MakeRelationships() []schema.Relationship
type Organization ¶
type Organization struct { Id string OrgId string Arn string MasterAccountArn string MasterAccountId string MasterAccountEmail string ChildAccounts []Account MgmtAccount Account }
func (*Organization) MakeRelationships ¶
func (o *Organization) MakeRelationships() []schema.Relationship
type Role ¶
type Role struct { Id string AccountID string ARN string Name string TrustsDoc policy.TrustPolicyDocument TrustedPrincipals []TrustedPrincipal TrustedServices []TrustedService TrustedFederatedProviders []TrustedFederatedProvider CanPrivEscToAdmin string IsAdmin string IdValue string IsAdminP bool PathToAdminSameAccount bool PathToAdminCrossAccount bool }
func (*Role) MakeRelationships ¶
func (a *Role) MakeRelationships() []schema.Relationship
type TrustedPrincipal ¶
type TrustedService ¶
type User ¶
type User struct { Id string ARN string Name string IsAdmin string CanPrivEscToAdmin string IdValue string }
func (*User) GenerateAttributes ¶
func (*User) MakeRelationships ¶
func (a *User) MakeRelationships() []schema.Relationship
func (*User) MergeAttributes ¶
Click to show internal directories.
Click to hide internal directories.