Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrintExample ¶ added in v0.0.4
func PrintExample()
func ProcessFileConfig ¶
func ProcessFileConfig(name string)
Types ¶
type ConfigFile ¶
type ConfigFile struct { BinaryFile string `mapstructure:"terraform_binary_file"` PlanFileBasename string `mapstructure:"terraform_plan_file_basename"` SearchFolder string `mapstructure:"terraform_plan_search_folder"` CriticalResources []string `mapstructure:"critical_resources"` AllowedRemovals []string `mapstructure:"allowed_removals"` }
type DefensePlan ¶
type MergedConfig ¶
type MergedConfig struct { ConfigFile ReportFileName string FailIfCriticalRemovals bool CriticalRemovalsFound bool DefensePlan }
var AppConfig *MergedConfig
Click to show internal directories.
Click to hide internal directories.