config

package
v0.0.0-...-ee57a64 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 1, 2022 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DritfctlRunMap = map[string]DritfctlRun{}

Functions

func ReadConfig

func ReadConfig()

Types

type AWSConfig

type AWSConfig struct {
	AWSAccountId    string `yaml:"awsAccountId"`
	TFStateMethod   string `yaml:"tfStateMethod"`   // Options : default|awsProfile|assumeRole
	InfraScanMethod string `yaml:"infraScanMethod"` // Options : default|awsProfile|assumeRole
	TFStateRole     string `yaml:"tfStateRole"`
	InfraScanRole   string `yaml:"infraScanRole"`
	TFStateProfile  string `yaml:"tfStateProfile"`
}

type DritfctlRun

type DritfctlRun struct {
	Description        string    `yaml:"description"`
	Group              string    `yaml:"group"`
	Provider           string    `yaml:"provider"`
	AWSConfig          AWSConfig `yaml:"aws"`
	TFStateList        []string  `yaml:"tfStateList"`
	ScanFilter         string    `yaml:"scanFilter"`
	DatadogIntegration bool      `yaml:"datadogIntegration"`
	Result             int
	ReportHTML         []byte
	Summary            Summary
}

type Summary

type Summary struct {
	Coverage       float64
	TotalResources float64
	TotalChanged   float64
	TotalUnmanaged float64
	TotalDeleted   float64
	TotalManaged   float64
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL