detector

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: May 18, 2018 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TestDetectByCreatorName added in v0.2.0

func TestDetectByCreatorName(creatorMethod string, src string, stateJSON string, c *config.Config, awsClient *config.AwsClient, issues *[]*issue.Issue) error

Types

type AwsALBDuplicateNameDetector added in v0.3.0

type AwsALBDuplicateNameDetector struct {
	*Detector
	// contains filtered or unexported fields
}

func (*AwsALBDuplicateNameDetector) Detect added in v0.3.0

func (d *AwsALBDuplicateNameDetector) Detect(resource *schema.Resource, issues *[]*issue.Issue)

func (*AwsALBDuplicateNameDetector) PreProcess added in v0.3.1

func (d *AwsALBDuplicateNameDetector) PreProcess()

type AwsALBInvalidSecurityGroupDetector added in v0.2.0

type AwsALBInvalidSecurityGroupDetector struct {
	*Detector
	// contains filtered or unexported fields
}

func (*AwsALBInvalidSecurityGroupDetector) Detect added in v0.2.0

func (d *AwsALBInvalidSecurityGroupDetector) Detect(resource *schema.Resource, issues *[]*issue.Issue)

func (*AwsALBInvalidSecurityGroupDetector) PreProcess added in v0.3.1

func (d *AwsALBInvalidSecurityGroupDetector) PreProcess()

type AwsALBInvalidSubnetDetector added in v0.2.0

type AwsALBInvalidSubnetDetector struct {
	*Detector
	// contains filtered or unexported fields
}

func (*AwsALBInvalidSubnetDetector) Detect added in v0.2.0

func (d *AwsALBInvalidSubnetDetector) Detect(resource *schema.Resource, issues *[]*issue.Issue)

func (*AwsALBInvalidSubnetDetector) PreProcess added in v0.3.1

func (d *AwsALBInvalidSubnetDetector) PreProcess()

type AwsCloudWatchMetricAlarmInvalidUnitDetector added in v0.3.5

type AwsCloudWatchMetricAlarmInvalidUnitDetector struct {
	*Detector
	// contains filtered or unexported fields
}

func (*AwsCloudWatchMetricAlarmInvalidUnitDetector) Detect added in v0.3.5

func (d *AwsCloudWatchMetricAlarmInvalidUnitDetector) Detect(resource *schema.Resource, issues *[]*issue.Issue)

func (*AwsCloudWatchMetricAlarmInvalidUnitDetector) PreProcess added in v0.3.5

type AwsDBInstanceDefaultParameterGroupDetector added in v0.2.0

type AwsDBInstanceDefaultParameterGroupDetector struct {
	*Detector
}

func (*AwsDBInstanceDefaultParameterGroupDetector) Detect added in v0.2.0

func (d *AwsDBInstanceDefaultParameterGroupDetector) Detect(resource *schema.Resource, issues *[]*issue.Issue)

type AwsDBInstanceDuplicateIdentifierDetector added in v0.3.0

type AwsDBInstanceDuplicateIdentifierDetector struct {
	*Detector
	// contains filtered or unexported fields
}

func (*AwsDBInstanceDuplicateIdentifierDetector) Detect added in v0.3.0

func (d *AwsDBInstanceDuplicateIdentifierDetector) Detect(resource *schema.Resource, issues *[]*issue.Issue)

func (*AwsDBInstanceDuplicateIdentifierDetector) PreProcess added in v0.3.1

type AwsDBInstanceInvalidDBSubnetGroupDetector added in v0.2.0

type AwsDBInstanceInvalidDBSubnetGroupDetector struct {
	*Detector
	// contains filtered or unexported fields
}

func (*AwsDBInstanceInvalidDBSubnetGroupDetector) Detect added in v0.2.0

func (d *AwsDBInstanceInvalidDBSubnetGroupDetector) Detect(resource *schema.Resource, issues *[]*issue.Issue)

func (*AwsDBInstanceInvalidDBSubnetGroupDetector) PreProcess added in v0.3.1

type AwsDBInstanceInvalidOptionGroupDetector added in v0.2.0

type AwsDBInstanceInvalidOptionGroupDetector struct {
	*Detector
	// contains filtered or unexported fields
}

func (*AwsDBInstanceInvalidOptionGroupDetector) Detect added in v0.2.0

func (d *AwsDBInstanceInvalidOptionGroupDetector) Detect(resource *schema.Resource, issues *[]*issue.Issue)

func (*AwsDBInstanceInvalidOptionGroupDetector) PreProcess added in v0.3.1

type AwsDBInstanceInvalidParameterGroupDetector added in v0.2.0

type AwsDBInstanceInvalidParameterGroupDetector struct {
	*Detector
	// contains filtered or unexported fields
}

func (*AwsDBInstanceInvalidParameterGroupDetector) Detect added in v0.2.0

func (d *AwsDBInstanceInvalidParameterGroupDetector) Detect(resource *schema.Resource, issues *[]*issue.Issue)

func (*AwsDBInstanceInvalidParameterGroupDetector) PreProcess added in v0.3.1

type AwsDBInstanceInvalidTypeDetector added in v0.2.1

type AwsDBInstanceInvalidTypeDetector struct {
	*Detector
	// contains filtered or unexported fields
}

func (*AwsDBInstanceInvalidTypeDetector) Detect added in v0.2.1

func (d *AwsDBInstanceInvalidTypeDetector) Detect(resource *schema.Resource, issues *[]*issue.Issue)

func (*AwsDBInstanceInvalidTypeDetector) PreProcess added in v0.3.1

func (d *AwsDBInstanceInvalidTypeDetector) PreProcess()

type AwsDBInstanceInvalidVPCSecurityGroupDetector added in v0.2.0

type AwsDBInstanceInvalidVPCSecurityGroupDetector struct {
	*Detector
	// contains filtered or unexported fields
}

func (*AwsDBInstanceInvalidVPCSecurityGroupDetector) Detect added in v0.2.0

func (d *AwsDBInstanceInvalidVPCSecurityGroupDetector) Detect(resource *schema.Resource, issues *[]*issue.Issue)

func (*AwsDBInstanceInvalidVPCSecurityGroupDetector) PreProcess added in v0.3.1

type AwsDBInstancePreviousTypeDetector added in v0.2.1

type AwsDBInstancePreviousTypeDetector struct {
	*Detector
	// contains filtered or unexported fields
}

func (*AwsDBInstancePreviousTypeDetector) Detect added in v0.2.1

func (d *AwsDBInstancePreviousTypeDetector) Detect(resource *schema.Resource, issues *[]*issue.Issue)

func (*AwsDBInstancePreviousTypeDetector) PreProcess added in v0.3.1

func (d *AwsDBInstancePreviousTypeDetector) PreProcess()

type AwsDBInstanceReadablePasswordDetector added in v0.3.0

type AwsDBInstanceReadablePasswordDetector struct {
	*Detector
}

func (*AwsDBInstanceReadablePasswordDetector) Detect added in v0.3.0

func (d *AwsDBInstanceReadablePasswordDetector) Detect(resource *schema.Resource, issues *[]*issue.Issue)

type AwsECSClusterDuplicateNameDetector added in v0.4.1

type AwsECSClusterDuplicateNameDetector struct {
	*Detector
	// contains filtered or unexported fields
}

func (*AwsECSClusterDuplicateNameDetector) Detect added in v0.4.1

func (d *AwsECSClusterDuplicateNameDetector) Detect(resource *schema.Resource, issues *[]*issue.Issue)

func (*AwsECSClusterDuplicateNameDetector) PreProcess added in v0.4.1

func (d *AwsECSClusterDuplicateNameDetector) PreProcess()

type AwsELBDuplicateNameDetector added in v0.3.0

type AwsELBDuplicateNameDetector struct {
	*Detector
	// contains filtered or unexported fields
}

func (*AwsELBDuplicateNameDetector) Detect added in v0.3.0

func (d *AwsELBDuplicateNameDetector) Detect(resource *schema.Resource, issues *[]*issue.Issue)

func (*AwsELBDuplicateNameDetector) PreProcess added in v0.3.1

func (d *AwsELBDuplicateNameDetector) PreProcess()

type AwsELBInvalidInstanceDetector added in v0.2.0

type AwsELBInvalidInstanceDetector struct {
	*Detector
	// contains filtered or unexported fields
}

func (*AwsELBInvalidInstanceDetector) Detect added in v0.2.0

func (d *AwsELBInvalidInstanceDetector) Detect(resource *schema.Resource, issues *[]*issue.Issue)

func (*AwsELBInvalidInstanceDetector) PreProcess added in v0.3.1

func (d *AwsELBInvalidInstanceDetector) PreProcess()

type AwsELBInvalidSecurityGroupDetector added in v0.2.0

type AwsELBInvalidSecurityGroupDetector struct {
	*Detector
	// contains filtered or unexported fields
}

func (*AwsELBInvalidSecurityGroupDetector) Detect added in v0.2.0

func (d *AwsELBInvalidSecurityGroupDetector) Detect(resource *schema.Resource, issues *[]*issue.Issue)

func (*AwsELBInvalidSecurityGroupDetector) PreProcess added in v0.3.1

func (d *AwsELBInvalidSecurityGroupDetector) PreProcess()

type AwsELBInvalidSubnetDetector added in v0.2.0

type AwsELBInvalidSubnetDetector struct {
	*Detector
	// contains filtered or unexported fields
}

func (*AwsELBInvalidSubnetDetector) Detect added in v0.2.0

func (d *AwsELBInvalidSubnetDetector) Detect(resource *schema.Resource, issues *[]*issue.Issue)

func (*AwsELBInvalidSubnetDetector) PreProcess added in v0.3.1

func (d *AwsELBInvalidSubnetDetector) PreProcess()

type AwsElastiCacheClusterDefaultParameterGroupDetector added in v0.2.0

type AwsElastiCacheClusterDefaultParameterGroupDetector struct {
	*Detector
}

func (*AwsElastiCacheClusterDefaultParameterGroupDetector) Detect added in v0.2.0

type AwsElastiCacheClusterDuplicateIDDetector added in v0.3.0

type AwsElastiCacheClusterDuplicateIDDetector struct {
	*Detector
	// contains filtered or unexported fields
}

func (*AwsElastiCacheClusterDuplicateIDDetector) Detect added in v0.3.0

func (d *AwsElastiCacheClusterDuplicateIDDetector) Detect(resource *schema.Resource, issues *[]*issue.Issue)

func (*AwsElastiCacheClusterDuplicateIDDetector) PreProcess added in v0.3.1

type AwsElastiCacheClusterInvalidParameterGroupDetector added in v0.2.0

type AwsElastiCacheClusterInvalidParameterGroupDetector struct {
	*Detector
	// contains filtered or unexported fields
}

func (*AwsElastiCacheClusterInvalidParameterGroupDetector) Detect added in v0.2.0

func (*AwsElastiCacheClusterInvalidParameterGroupDetector) PreProcess added in v0.3.1

type AwsElastiCacheClusterInvalidSecurityGroupDetector added in v0.2.0

type AwsElastiCacheClusterInvalidSecurityGroupDetector struct {
	*Detector
	// contains filtered or unexported fields
}

func (*AwsElastiCacheClusterInvalidSecurityGroupDetector) Detect added in v0.2.0

func (*AwsElastiCacheClusterInvalidSecurityGroupDetector) PreProcess added in v0.3.1

type AwsElastiCacheClusterInvalidSubnetGroupDetector added in v0.2.0

type AwsElastiCacheClusterInvalidSubnetGroupDetector struct {
	*Detector
	// contains filtered or unexported fields
}

func (*AwsElastiCacheClusterInvalidSubnetGroupDetector) Detect added in v0.2.0

func (*AwsElastiCacheClusterInvalidSubnetGroupDetector) PreProcess added in v0.3.1

type AwsElastiCacheClusterInvalidTypeDetector added in v0.2.1

type AwsElastiCacheClusterInvalidTypeDetector struct {
	*Detector
	// contains filtered or unexported fields
}

func (*AwsElastiCacheClusterInvalidTypeDetector) Detect added in v0.2.1

func (d *AwsElastiCacheClusterInvalidTypeDetector) Detect(resource *schema.Resource, issues *[]*issue.Issue)

func (*AwsElastiCacheClusterInvalidTypeDetector) PreProcess added in v0.3.1

type AwsElastiCacheClusterPreviousTypeDetector added in v0.2.1

type AwsElastiCacheClusterPreviousTypeDetector struct {
	*Detector
	// contains filtered or unexported fields
}

func (*AwsElastiCacheClusterPreviousTypeDetector) Detect added in v0.2.1

func (d *AwsElastiCacheClusterPreviousTypeDetector) Detect(resource *schema.Resource, issues *[]*issue.Issue)

func (*AwsElastiCacheClusterPreviousTypeDetector) PreProcess added in v0.3.1

type AwsInstanceDefaultStandardVolumeDetector added in v0.2.0

type AwsInstanceDefaultStandardVolumeDetector struct {
	*Detector
}

func (*AwsInstanceDefaultStandardVolumeDetector) Detect added in v0.2.0

func (d *AwsInstanceDefaultStandardVolumeDetector) Detect(resource *schema.Resource, issues *[]*issue.Issue)

type AwsInstanceInvalidAMIDetector added in v0.2.0

type AwsInstanceInvalidAMIDetector struct {
	*Detector
	// contains filtered or unexported fields
}

func (*AwsInstanceInvalidAMIDetector) Detect added in v0.2.0

func (d *AwsInstanceInvalidAMIDetector) Detect(resource *schema.Resource, issues *[]*issue.Issue)

func (*AwsInstanceInvalidAMIDetector) PreProcess added in v0.3.1

func (d *AwsInstanceInvalidAMIDetector) PreProcess()

type AwsInstanceInvalidIAMProfileDetector added in v0.2.0

type AwsInstanceInvalidIAMProfileDetector struct {
	*Detector
	// contains filtered or unexported fields
}

func (*AwsInstanceInvalidIAMProfileDetector) Detect added in v0.2.0

func (d *AwsInstanceInvalidIAMProfileDetector) Detect(resource *schema.Resource, issues *[]*issue.Issue)

func (*AwsInstanceInvalidIAMProfileDetector) PreProcess added in v0.3.1

func (d *AwsInstanceInvalidIAMProfileDetector) PreProcess()

type AwsInstanceInvalidKeyNameDetector added in v0.2.0

type AwsInstanceInvalidKeyNameDetector struct {
	*Detector
	// contains filtered or unexported fields
}

func (*AwsInstanceInvalidKeyNameDetector) Detect added in v0.2.0

func (d *AwsInstanceInvalidKeyNameDetector) Detect(resource *schema.Resource, issues *[]*issue.Issue)

func (*AwsInstanceInvalidKeyNameDetector) PreProcess added in v0.3.1

func (d *AwsInstanceInvalidKeyNameDetector) PreProcess()

type AwsInstanceInvalidSubnetDetector added in v0.2.0

type AwsInstanceInvalidSubnetDetector struct {
	*Detector
	// contains filtered or unexported fields
}

func (*AwsInstanceInvalidSubnetDetector) Detect added in v0.2.0

func (d *AwsInstanceInvalidSubnetDetector) Detect(resource *schema.Resource, issues *[]*issue.Issue)

func (*AwsInstanceInvalidSubnetDetector) PreProcess added in v0.3.1

func (d *AwsInstanceInvalidSubnetDetector) PreProcess()

type AwsInstanceInvalidTypeDetector added in v0.2.0

type AwsInstanceInvalidTypeDetector struct {
	*Detector
	// contains filtered or unexported fields
}

func (*AwsInstanceInvalidTypeDetector) Detect added in v0.2.0

func (d *AwsInstanceInvalidTypeDetector) Detect(resource *schema.Resource, issues *[]*issue.Issue)

func (*AwsInstanceInvalidTypeDetector) PreProcess added in v0.3.1

func (d *AwsInstanceInvalidTypeDetector) PreProcess()

type AwsInstanceInvalidVPCSecurityGroupDetector added in v0.2.0

type AwsInstanceInvalidVPCSecurityGroupDetector struct {
	*Detector
	// contains filtered or unexported fields
}

func (*AwsInstanceInvalidVPCSecurityGroupDetector) Detect added in v0.2.0

func (d *AwsInstanceInvalidVPCSecurityGroupDetector) Detect(resource *schema.Resource, issues *[]*issue.Issue)

func (*AwsInstanceInvalidVPCSecurityGroupDetector) PreProcess added in v0.3.1

type AwsInstancePreviousTypeDetector added in v0.2.0

type AwsInstancePreviousTypeDetector struct {
	*Detector
	// contains filtered or unexported fields
}

func (*AwsInstancePreviousTypeDetector) Detect added in v0.2.0

func (d *AwsInstancePreviousTypeDetector) Detect(resource *schema.Resource, issues *[]*issue.Issue)

func (*AwsInstancePreviousTypeDetector) PreProcess added in v0.3.1

func (d *AwsInstancePreviousTypeDetector) PreProcess()

type AwsRouteInvalidEgressOnlyGatewayDetector added in v0.3.4

type AwsRouteInvalidEgressOnlyGatewayDetector struct {
	*Detector
	// contains filtered or unexported fields
}

func (*AwsRouteInvalidEgressOnlyGatewayDetector) Detect added in v0.3.4

func (d *AwsRouteInvalidEgressOnlyGatewayDetector) Detect(resource *schema.Resource, issues *[]*issue.Issue)

func (*AwsRouteInvalidEgressOnlyGatewayDetector) PreProcess added in v0.3.4

type AwsRouteInvalidGatewayDetector added in v0.3.4

type AwsRouteInvalidGatewayDetector struct {
	*Detector
	// contains filtered or unexported fields
}

func (*AwsRouteInvalidGatewayDetector) Detect added in v0.3.4

func (d *AwsRouteInvalidGatewayDetector) Detect(resource *schema.Resource, issues *[]*issue.Issue)

func (*AwsRouteInvalidGatewayDetector) PreProcess added in v0.3.4

func (d *AwsRouteInvalidGatewayDetector) PreProcess()

type AwsRouteInvalidInstanceDetector added in v0.3.4

type AwsRouteInvalidInstanceDetector struct {
	*Detector
	// contains filtered or unexported fields
}

func (*AwsRouteInvalidInstanceDetector) Detect added in v0.3.4

func (d *AwsRouteInvalidInstanceDetector) Detect(resource *schema.Resource, issues *[]*issue.Issue)

func (*AwsRouteInvalidInstanceDetector) PreProcess added in v0.3.4

func (d *AwsRouteInvalidInstanceDetector) PreProcess()

type AwsRouteInvalidNatGatewayDetector added in v0.3.4

type AwsRouteInvalidNatGatewayDetector struct {
	*Detector
	// contains filtered or unexported fields
}

func (*AwsRouteInvalidNatGatewayDetector) Detect added in v0.3.4

func (d *AwsRouteInvalidNatGatewayDetector) Detect(resource *schema.Resource, issues *[]*issue.Issue)

func (*AwsRouteInvalidNatGatewayDetector) PreProcess added in v0.3.4

func (d *AwsRouteInvalidNatGatewayDetector) PreProcess()

type AwsRouteInvalidNetworkInterfaceDetector added in v0.3.4

type AwsRouteInvalidNetworkInterfaceDetector struct {
	*Detector
	// contains filtered or unexported fields
}

func (*AwsRouteInvalidNetworkInterfaceDetector) Detect added in v0.3.4

func (d *AwsRouteInvalidNetworkInterfaceDetector) Detect(resource *schema.Resource, issues *[]*issue.Issue)

func (*AwsRouteInvalidNetworkInterfaceDetector) PreProcess added in v0.3.4

type AwsRouteInvalidRouteTableDetector added in v0.3.4

type AwsRouteInvalidRouteTableDetector struct {
	*Detector
	// contains filtered or unexported fields
}

func (*AwsRouteInvalidRouteTableDetector) Detect added in v0.3.4

func (d *AwsRouteInvalidRouteTableDetector) Detect(resource *schema.Resource, issues *[]*issue.Issue)

func (*AwsRouteInvalidRouteTableDetector) PreProcess added in v0.3.4

func (d *AwsRouteInvalidRouteTableDetector) PreProcess()

type AwsRouteInvalidVpcPeeringConnectionDetector added in v0.3.4

type AwsRouteInvalidVpcPeeringConnectionDetector struct {
	*Detector
	// contains filtered or unexported fields
}

func (*AwsRouteInvalidVpcPeeringConnectionDetector) Detect added in v0.3.4

func (d *AwsRouteInvalidVpcPeeringConnectionDetector) Detect(resource *schema.Resource, issues *[]*issue.Issue)

func (*AwsRouteInvalidVpcPeeringConnectionDetector) PreProcess added in v0.3.4

type AwsRouteNotSpecifiedTargetDetector added in v0.3.4

type AwsRouteNotSpecifiedTargetDetector struct {
	*Detector
}

func (*AwsRouteNotSpecifiedTargetDetector) Detect added in v0.3.4

func (d *AwsRouteNotSpecifiedTargetDetector) Detect(resource *schema.Resource, issues *[]*issue.Issue)

type AwsRouteSpecifiedMultipleTargetsDetector added in v0.3.4

type AwsRouteSpecifiedMultipleTargetsDetector struct {
	*Detector
}

func (*AwsRouteSpecifiedMultipleTargetsDetector) Detect added in v0.3.4

func (d *AwsRouteSpecifiedMultipleTargetsDetector) Detect(resource *schema.Resource, issues *[]*issue.Issue)

type AwsSecurityGroupDuplicateDetector added in v0.3.0

type AwsSecurityGroupDuplicateDetector struct {
	*Detector
	// contains filtered or unexported fields
}

func (*AwsSecurityGroupDuplicateDetector) Detect added in v0.3.0

func (d *AwsSecurityGroupDuplicateDetector) Detect(resource *schema.Resource, issues *[]*issue.Issue)

func (*AwsSecurityGroupDuplicateDetector) PreProcess added in v0.3.1

func (d *AwsSecurityGroupDuplicateDetector) PreProcess()

type Detector

type Detector struct {
	Schema     []*schema.Template
	State      *state.TFState
	Config     *config.Config
	AwsClient  *config.AwsClient
	EvalConfig *evaluator.Evaluator
	Logger     *logger.Logger
	Error      bool

	Name       string
	IssueType  string
	TargetType string
	Target     string
	DeepCheck  bool
	Link       string
}

func NewDetector

func NewDetector(templates map[string]*ast.File, schema []*schema.Template, state *state.TFState, tfvars []*ast.File, c *config.Config) (*Detector, error)

func (*Detector) CreateAwsALBDuplicateNameDetector added in v0.3.0

func (d *Detector) CreateAwsALBDuplicateNameDetector() *AwsALBDuplicateNameDetector

func (*Detector) CreateAwsALBInvalidSecurityGroupDetector added in v0.2.0

func (d *Detector) CreateAwsALBInvalidSecurityGroupDetector() *AwsALBInvalidSecurityGroupDetector

func (*Detector) CreateAwsALBInvalidSubnetDetector added in v0.2.0

func (d *Detector) CreateAwsALBInvalidSubnetDetector() *AwsALBInvalidSubnetDetector

func (*Detector) CreateAwsCloudWatchMetricAlarmInvalidUnitDetector added in v0.3.5

func (d *Detector) CreateAwsCloudWatchMetricAlarmInvalidUnitDetector() *AwsCloudWatchMetricAlarmInvalidUnitDetector

func (*Detector) CreateAwsDBInstanceDefaultParameterGroupDetector added in v0.2.0

func (d *Detector) CreateAwsDBInstanceDefaultParameterGroupDetector() *AwsDBInstanceDefaultParameterGroupDetector

func (*Detector) CreateAwsDBInstanceDuplicateIdentifierDetector added in v0.3.0

func (d *Detector) CreateAwsDBInstanceDuplicateIdentifierDetector() *AwsDBInstanceDuplicateIdentifierDetector

func (*Detector) CreateAwsDBInstanceInvalidDBSubnetGroupDetector added in v0.2.0

func (d *Detector) CreateAwsDBInstanceInvalidDBSubnetGroupDetector() *AwsDBInstanceInvalidDBSubnetGroupDetector

func (*Detector) CreateAwsDBInstanceInvalidOptionGroupDetector added in v0.2.0

func (d *Detector) CreateAwsDBInstanceInvalidOptionGroupDetector() *AwsDBInstanceInvalidOptionGroupDetector

func (*Detector) CreateAwsDBInstanceInvalidParameterGroupDetector added in v0.2.0

func (d *Detector) CreateAwsDBInstanceInvalidParameterGroupDetector() *AwsDBInstanceInvalidParameterGroupDetector

func (*Detector) CreateAwsDBInstanceInvalidTypeDetector added in v0.2.1

func (d *Detector) CreateAwsDBInstanceInvalidTypeDetector() *AwsDBInstanceInvalidTypeDetector

func (*Detector) CreateAwsDBInstanceInvalidVPCSecurityGroupDetector added in v0.2.0

func (d *Detector) CreateAwsDBInstanceInvalidVPCSecurityGroupDetector() *AwsDBInstanceInvalidVPCSecurityGroupDetector

func (*Detector) CreateAwsDBInstancePreviousTypeDetector added in v0.2.1

func (d *Detector) CreateAwsDBInstancePreviousTypeDetector() *AwsDBInstancePreviousTypeDetector

func (*Detector) CreateAwsDBInstanceReadablePasswordDetector added in v0.3.0

func (d *Detector) CreateAwsDBInstanceReadablePasswordDetector() *AwsDBInstanceReadablePasswordDetector

func (*Detector) CreateAwsECSClusterDuplicateNameDetector added in v0.4.1

func (d *Detector) CreateAwsECSClusterDuplicateNameDetector() *AwsECSClusterDuplicateNameDetector

func (*Detector) CreateAwsELBDuplicateNameDetector added in v0.3.0

func (d *Detector) CreateAwsELBDuplicateNameDetector() *AwsELBDuplicateNameDetector

func (*Detector) CreateAwsELBInvalidInstanceDetector added in v0.2.0

func (d *Detector) CreateAwsELBInvalidInstanceDetector() *AwsELBInvalidInstanceDetector

func (*Detector) CreateAwsELBInvalidSecurityGroupDetector added in v0.2.0

func (d *Detector) CreateAwsELBInvalidSecurityGroupDetector() *AwsELBInvalidSecurityGroupDetector

func (*Detector) CreateAwsELBInvalidSubnetDetector added in v0.2.0

func (d *Detector) CreateAwsELBInvalidSubnetDetector() *AwsELBInvalidSubnetDetector

func (*Detector) CreateAwsElastiCacheClusterDefaultParameterGroupDetector added in v0.2.0

func (d *Detector) CreateAwsElastiCacheClusterDefaultParameterGroupDetector() *AwsElastiCacheClusterDefaultParameterGroupDetector

func (*Detector) CreateAwsElastiCacheClusterDuplicateIDDetector added in v0.3.0

func (d *Detector) CreateAwsElastiCacheClusterDuplicateIDDetector() *AwsElastiCacheClusterDuplicateIDDetector

func (*Detector) CreateAwsElastiCacheClusterInvalidParameterGroupDetector added in v0.2.0

func (d *Detector) CreateAwsElastiCacheClusterInvalidParameterGroupDetector() *AwsElastiCacheClusterInvalidParameterGroupDetector

func (*Detector) CreateAwsElastiCacheClusterInvalidSecurityGroupDetector added in v0.2.0

func (d *Detector) CreateAwsElastiCacheClusterInvalidSecurityGroupDetector() *AwsElastiCacheClusterInvalidSecurityGroupDetector

func (*Detector) CreateAwsElastiCacheClusterInvalidSubnetGroupDetector added in v0.2.0

func (d *Detector) CreateAwsElastiCacheClusterInvalidSubnetGroupDetector() *AwsElastiCacheClusterInvalidSubnetGroupDetector

func (*Detector) CreateAwsElastiCacheClusterInvalidTypeDetector added in v0.2.1

func (d *Detector) CreateAwsElastiCacheClusterInvalidTypeDetector() *AwsElastiCacheClusterInvalidTypeDetector

func (*Detector) CreateAwsElastiCacheClusterPreviousTypeDetector added in v0.2.1

func (d *Detector) CreateAwsElastiCacheClusterPreviousTypeDetector() *AwsElastiCacheClusterPreviousTypeDetector

func (*Detector) CreateAwsInstanceDefaultStandardVolumeDetector added in v0.2.0

func (d *Detector) CreateAwsInstanceDefaultStandardVolumeDetector() *AwsInstanceDefaultStandardVolumeDetector

func (*Detector) CreateAwsInstanceInvalidAMIDetector added in v0.2.0

func (d *Detector) CreateAwsInstanceInvalidAMIDetector() *AwsInstanceInvalidAMIDetector

func (*Detector) CreateAwsInstanceInvalidIAMProfileDetector added in v0.2.0

func (d *Detector) CreateAwsInstanceInvalidIAMProfileDetector() *AwsInstanceInvalidIAMProfileDetector

func (*Detector) CreateAwsInstanceInvalidKeyNameDetector added in v0.2.0

func (d *Detector) CreateAwsInstanceInvalidKeyNameDetector() *AwsInstanceInvalidKeyNameDetector

func (*Detector) CreateAwsInstanceInvalidSubnetDetector added in v0.2.0

func (d *Detector) CreateAwsInstanceInvalidSubnetDetector() *AwsInstanceInvalidSubnetDetector

func (*Detector) CreateAwsInstanceInvalidTypeDetector added in v0.2.0

func (d *Detector) CreateAwsInstanceInvalidTypeDetector() *AwsInstanceInvalidTypeDetector

func (*Detector) CreateAwsInstanceInvalidVPCSecurityGroupDetector added in v0.2.0

func (d *Detector) CreateAwsInstanceInvalidVPCSecurityGroupDetector() *AwsInstanceInvalidVPCSecurityGroupDetector

func (*Detector) CreateAwsInstancePreviousTypeDetector added in v0.2.0

func (d *Detector) CreateAwsInstancePreviousTypeDetector() *AwsInstancePreviousTypeDetector

func (*Detector) CreateAwsRouteInvalidEgressOnlyGatewayDetector added in v0.3.4

func (d *Detector) CreateAwsRouteInvalidEgressOnlyGatewayDetector() *AwsRouteInvalidEgressOnlyGatewayDetector

func (*Detector) CreateAwsRouteInvalidGatewayDetector added in v0.3.4

func (d *Detector) CreateAwsRouteInvalidGatewayDetector() *AwsRouteInvalidGatewayDetector

func (*Detector) CreateAwsRouteInvalidInstanceDetector added in v0.3.4

func (d *Detector) CreateAwsRouteInvalidInstanceDetector() *AwsRouteInvalidInstanceDetector

func (*Detector) CreateAwsRouteInvalidNatGatewayDetector added in v0.3.4

func (d *Detector) CreateAwsRouteInvalidNatGatewayDetector() *AwsRouteInvalidNatGatewayDetector

func (*Detector) CreateAwsRouteInvalidNetworkInterfaceDetector added in v0.3.4

func (d *Detector) CreateAwsRouteInvalidNetworkInterfaceDetector() *AwsRouteInvalidNetworkInterfaceDetector

func (*Detector) CreateAwsRouteInvalidRouteTableDetector added in v0.3.4

func (d *Detector) CreateAwsRouteInvalidRouteTableDetector() *AwsRouteInvalidRouteTableDetector

func (*Detector) CreateAwsRouteInvalidVpcPeeringConnectionDetector added in v0.3.4

func (d *Detector) CreateAwsRouteInvalidVpcPeeringConnectionDetector() *AwsRouteInvalidVpcPeeringConnectionDetector

func (*Detector) CreateAwsRouteNotSpecifiedTargetDetector added in v0.3.4

func (d *Detector) CreateAwsRouteNotSpecifiedTargetDetector() *AwsRouteNotSpecifiedTargetDetector

func (*Detector) CreateAwsRouteSpecifiedMultipleTargetsDetector added in v0.3.4

func (d *Detector) CreateAwsRouteSpecifiedMultipleTargetsDetector() *AwsRouteSpecifiedMultipleTargetsDetector

func (*Detector) CreateAwsSecurityGroupDuplicateDetector added in v0.3.0

func (d *Detector) CreateAwsSecurityGroupDuplicateDetector() *AwsSecurityGroupDuplicateDetector

func (*Detector) CreateTerraformModulePinnedSourceDetector added in v0.4.0

func (d *Detector) CreateTerraformModulePinnedSourceDetector() *TerraformModulePinnedSourceDetector

func (*Detector) CreateTestDetector added in v0.2.0

func (d *Detector) CreateTestDetector() *TestDetector

func (*Detector) Detect

func (d *Detector) Detect() []*issue.Issue

func (*Detector) HasError added in v0.2.1

func (d *Detector) HasError() bool

type DetectorIF added in v0.2.1

type DetectorIF interface {
	Detect() []*issue.Issue
	HasError() bool
}

type TerraformModulePinnedSourceDetector added in v0.3.5

type TerraformModulePinnedSourceDetector struct {
	*Detector
}

func (*TerraformModulePinnedSourceDetector) Detect added in v0.4.0

func (d *TerraformModulePinnedSourceDetector) Detect(module *schema.Module, issues *[]*issue.Issue)

type TestDetector added in v0.2.0

type TestDetector struct {
	*Detector
}

func (*TestDetector) Detect added in v0.2.0

func (d *TestDetector) Detect(resource *schema.Resource, issues *[]*issue.Issue)

Source Files

Jump to

Keyboard shortcuts

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