Documentation ¶
Index ¶
Constants ¶
View Source
const StratusRunnerForce = true
View Source
const StratusRunnerNoForce = false
View Source
const TerraformVersion = "1.1.2"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Runner ¶
type Runner struct { Technique *stratus.AttackTechnique TechniqueState stratus.AttackTechniqueState TerraformDir string ShouldForce bool TerraformManager TerraformManager StateManager state.StateManager }
func (*Runner) GetState ¶
func (m *Runner) GetState() stratus.AttackTechniqueState
func (*Runner) GetUniqueExecutionId ¶
GetUniqueExecutionId returns an unique execution ID, unique per run of Stratus Red Team (not for each TTP detonated)
type TerraformManager ¶
type TerraformManager interface { Initialize() TerraformInitAndApply(directory string) (map[string]string, error) TerraformDestroy(directory string) error }
func NewTerraformManager ¶
func NewTerraformManager(terraformBinaryPath string) TerraformManager
type TerraformManagerImpl ¶
type TerraformManagerImpl struct {
// contains filtered or unexported fields
}
func (*TerraformManagerImpl) Initialize ¶
func (m *TerraformManagerImpl) Initialize()
func (*TerraformManagerImpl) TerraformDestroy ¶
func (m *TerraformManagerImpl) TerraformDestroy(directory string) error
func (*TerraformManagerImpl) TerraformInitAndApply ¶
func (m *TerraformManagerImpl) TerraformInitAndApply(directory string) (map[string]string, error)
Click to show internal directories.
Click to hide internal directories.