Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsWildcardAllowed ¶
Types ¶
type AccessKey ¶ added in v0.0.2
type AccessKey struct { Metadata defsecTypes.Metadata AccessKeyId defsecTypes.StringValue Active defsecTypes.BoolValue CreationDate defsecTypes.TimeValue LastAccess defsecTypes.TimeValue }
type Document ¶
type Document struct { Metadata defsecTypes.Metadata Parsed iamgo.Document IsOffset bool HasRefs bool }
func (Document) MetadataFromIamGo ¶
func (d Document) MetadataFromIamGo(r ...iamgo.Range) defsecTypes.Metadata
type Group ¶
type Group struct { Metadata defsecTypes.Metadata Name defsecTypes.StringValue Users []User Policies []Policy }
type IAM ¶
type IAM struct { PasswordPolicy PasswordPolicy Policies []Policy Groups []Group Users []User Roles []Role ServerCertificates []ServerCertificate }
type MFADevice ¶ added in v0.0.2
type MFADevice struct { Metadata defsecTypes.Metadata IsVirtual defsecTypes.BoolValue }
type PasswordPolicy ¶
type PasswordPolicy struct { Metadata defsecTypes.Metadata ReusePreventionCount defsecTypes.IntValue RequireLowercase defsecTypes.BoolValue RequireUppercase defsecTypes.BoolValue RequireNumbers defsecTypes.BoolValue RequireSymbols defsecTypes.BoolValue MaxAgeDays defsecTypes.IntValue MinimumLength defsecTypes.IntValue }
type Policy ¶
type Policy struct { Metadata defsecTypes.Metadata Name defsecTypes.StringValue Document Document Builtin defsecTypes.BoolValue }
type Role ¶
type Role struct { Metadata defsecTypes.Metadata Name defsecTypes.StringValue Policies []Policy }
type ServerCertificate ¶ added in v0.0.2
type ServerCertificate struct { Metadata defsecTypes.Metadata Expiration defsecTypes.TimeValue }
type User ¶
type User struct { Metadata defsecTypes.Metadata Name defsecTypes.StringValue Groups []Group Policies []Policy AccessKeys []AccessKey MFADevices []MFADevice LastAccess defsecTypes.TimeValue }
func (*User) HasLoggedIn ¶ added in v0.0.2
Click to show internal directories.
Click to hide internal directories.