Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var StopOnError bool
View Source
var VerboseErrors bool
Functions ¶
Types ¶
type CommandLineArgs ¶
type CommandLineArgs struct { RoleArn string ExternalID string AccountsFilePath string PoliciesFilePath string RoleSessionName string Regions []string StopOnError bool Output string Order string LogLevel string AccessKeyID string SecretAccessKey string SessionToken string }
CommandLineArgs represents the arguments passed by the user
type Email ¶
type Email struct { Provider string Host string Port string Username string Password string Region string Source string Subject string Recipients []string Threshold string }
Email has the settings to be used to connect to a mail server and what the propertie of the email to send
type Play ¶
type Play struct { Name string Regions []string Policies []string Targets []PlaybookTarget IgnoreResources []string `yaml:"ignore_resources"` }
Play represents the items within the playbook yaml file
type Playbook ¶
type Playbook struct { AccountsFile string `yaml:"accounts"` PoliciesFile string `yaml:"policies"` Plays []Play Email Email Slack Slack Targets []PlaybookTarget }
Playbook represents the parsed playbook yaml file
type PlaybookTarget ¶
PlaybookTarget represents the IAM Roles and Accounts to run the playbook against
type Policy ¶
type Policy struct { Name string Desc string Resource string Severity string // critical, high, medium, low ModifyResult string Filters []Filter Actions []string }
Policy - todo
Click to show internal directories.
Click to hide internal directories.