Documentation ¶
Index ¶
Constants ¶
View Source
const BASE_URL = "https://%s.api.mailchimp.com/3.0"
Variables ¶
This section is empty.
Functions ¶
func AnalyzeAndPrintPermissions ¶ added in v3.80.5
Types ¶
type Analyzer ¶ added in v3.80.5
func (Analyzer) Type ¶ added in v3.80.5
func (Analyzer) Type() analyzerpb.AnalyzerType
type DomainsJSON ¶
type DomainsJSON struct {
Domains []Domain `json:"domains"`
}
type MetadataJSON ¶
type MetadataJSON struct { AccountID string `json:"account_id"` AccountName string `json:"account_name"` Email string `json:"email"` FirstName string `json:"first_name"` LastName string `json:"last_name"` Role string `json:"role"` MemberSince string `json:"member_since"` PricingPlan string `json:"pricing_plan_type"` AccountTimezone string `json:"account_timezone"` Contact struct { Company string `json:"company"` Address1 string `json:"addr1"` Address2 string `json:"addr2"` City string `json:"city"` State string `json:"state"` Zip string `json:"zip"` Country string `json:"country"` } `json:"contact"` LastLogin string `json:"last_login"` TotalSubscribers int `json:"total_subscribers"` }
type SecretInfo ¶ added in v3.80.5
type SecretInfo struct { Metadata MetadataJSON Domains DomainsJSON }
func AnalyzePermissions ¶
func AnalyzePermissions(cfg *config.Config, key string) (*SecretInfo, error)
Click to show internal directories.
Click to hide internal directories.