Documentation ¶
Index ¶
- func TestDetectByCreatorName(creatorMethod string, src string, stateJSON string, c *config.Config, ...) error
- type AwsALBDuplicateNameDetector
- type AwsALBInvalidSecurityGroupDetector
- type AwsALBInvalidSubnetDetector
- type AwsCloudWatchMetricAlarmInvalidUnitDetector
- type AwsDBInstanceDefaultParameterGroupDetector
- type AwsDBInstanceDuplicateIdentifierDetector
- type AwsDBInstanceInvalidDBSubnetGroupDetector
- type AwsDBInstanceInvalidOptionGroupDetector
- type AwsDBInstanceInvalidParameterGroupDetector
- type AwsDBInstanceInvalidTypeDetector
- type AwsDBInstanceInvalidVPCSecurityGroupDetector
- type AwsDBInstancePreviousTypeDetector
- type AwsDBInstanceReadablePasswordDetector
- type AwsECSClusterDuplicateNameDetector
- type AwsELBDuplicateNameDetector
- type AwsELBInvalidInstanceDetector
- type AwsELBInvalidSecurityGroupDetector
- type AwsELBInvalidSubnetDetector
- type AwsElastiCacheClusterDefaultParameterGroupDetector
- type AwsElastiCacheClusterDuplicateIDDetector
- type AwsElastiCacheClusterInvalidParameterGroupDetector
- type AwsElastiCacheClusterInvalidSecurityGroupDetector
- type AwsElastiCacheClusterInvalidSubnetGroupDetector
- type AwsElastiCacheClusterInvalidTypeDetector
- type AwsElastiCacheClusterPreviousTypeDetector
- type AwsInstanceDefaultStandardVolumeDetector
- type AwsInstanceInvalidAMIDetector
- type AwsInstanceInvalidIAMProfileDetector
- type AwsInstanceInvalidKeyNameDetector
- type AwsInstanceInvalidSubnetDetector
- type AwsInstanceInvalidTypeDetector
- type AwsInstanceInvalidVPCSecurityGroupDetector
- type AwsInstancePreviousTypeDetector
- type AwsRouteInvalidEgressOnlyGatewayDetector
- type AwsRouteInvalidGatewayDetector
- type AwsRouteInvalidInstanceDetector
- type AwsRouteInvalidNatGatewayDetector
- type AwsRouteInvalidNetworkInterfaceDetector
- type AwsRouteInvalidRouteTableDetector
- type AwsRouteInvalidVpcPeeringConnectionDetector
- type AwsRouteNotSpecifiedTargetDetector
- type AwsRouteSpecifiedMultipleTargetsDetector
- type AwsSecurityGroupDuplicateDetector
- type Detector
- func (d *Detector) CreateAwsALBDuplicateNameDetector() *AwsALBDuplicateNameDetector
- func (d *Detector) CreateAwsALBInvalidSecurityGroupDetector() *AwsALBInvalidSecurityGroupDetector
- func (d *Detector) CreateAwsALBInvalidSubnetDetector() *AwsALBInvalidSubnetDetector
- func (d *Detector) CreateAwsCloudWatchMetricAlarmInvalidUnitDetector() *AwsCloudWatchMetricAlarmInvalidUnitDetector
- func (d *Detector) CreateAwsDBInstanceDefaultParameterGroupDetector() *AwsDBInstanceDefaultParameterGroupDetector
- func (d *Detector) CreateAwsDBInstanceDuplicateIdentifierDetector() *AwsDBInstanceDuplicateIdentifierDetector
- func (d *Detector) CreateAwsDBInstanceInvalidDBSubnetGroupDetector() *AwsDBInstanceInvalidDBSubnetGroupDetector
- func (d *Detector) CreateAwsDBInstanceInvalidOptionGroupDetector() *AwsDBInstanceInvalidOptionGroupDetector
- func (d *Detector) CreateAwsDBInstanceInvalidParameterGroupDetector() *AwsDBInstanceInvalidParameterGroupDetector
- func (d *Detector) CreateAwsDBInstanceInvalidTypeDetector() *AwsDBInstanceInvalidTypeDetector
- func (d *Detector) CreateAwsDBInstanceInvalidVPCSecurityGroupDetector() *AwsDBInstanceInvalidVPCSecurityGroupDetector
- func (d *Detector) CreateAwsDBInstancePreviousTypeDetector() *AwsDBInstancePreviousTypeDetector
- func (d *Detector) CreateAwsDBInstanceReadablePasswordDetector() *AwsDBInstanceReadablePasswordDetector
- func (d *Detector) CreateAwsECSClusterDuplicateNameDetector() *AwsECSClusterDuplicateNameDetector
- func (d *Detector) CreateAwsELBDuplicateNameDetector() *AwsELBDuplicateNameDetector
- func (d *Detector) CreateAwsELBInvalidInstanceDetector() *AwsELBInvalidInstanceDetector
- func (d *Detector) CreateAwsELBInvalidSecurityGroupDetector() *AwsELBInvalidSecurityGroupDetector
- func (d *Detector) CreateAwsELBInvalidSubnetDetector() *AwsELBInvalidSubnetDetector
- func (d *Detector) CreateAwsElastiCacheClusterDefaultParameterGroupDetector() *AwsElastiCacheClusterDefaultParameterGroupDetector
- func (d *Detector) CreateAwsElastiCacheClusterDuplicateIDDetector() *AwsElastiCacheClusterDuplicateIDDetector
- func (d *Detector) CreateAwsElastiCacheClusterInvalidParameterGroupDetector() *AwsElastiCacheClusterInvalidParameterGroupDetector
- func (d *Detector) CreateAwsElastiCacheClusterInvalidSecurityGroupDetector() *AwsElastiCacheClusterInvalidSecurityGroupDetector
- func (d *Detector) CreateAwsElastiCacheClusterInvalidSubnetGroupDetector() *AwsElastiCacheClusterInvalidSubnetGroupDetector
- func (d *Detector) CreateAwsElastiCacheClusterInvalidTypeDetector() *AwsElastiCacheClusterInvalidTypeDetector
- func (d *Detector) CreateAwsElastiCacheClusterPreviousTypeDetector() *AwsElastiCacheClusterPreviousTypeDetector
- func (d *Detector) CreateAwsInstanceDefaultStandardVolumeDetector() *AwsInstanceDefaultStandardVolumeDetector
- func (d *Detector) CreateAwsInstanceInvalidAMIDetector() *AwsInstanceInvalidAMIDetector
- func (d *Detector) CreateAwsInstanceInvalidIAMProfileDetector() *AwsInstanceInvalidIAMProfileDetector
- func (d *Detector) CreateAwsInstanceInvalidKeyNameDetector() *AwsInstanceInvalidKeyNameDetector
- func (d *Detector) CreateAwsInstanceInvalidSubnetDetector() *AwsInstanceInvalidSubnetDetector
- func (d *Detector) CreateAwsInstanceInvalidTypeDetector() *AwsInstanceInvalidTypeDetector
- func (d *Detector) CreateAwsInstanceInvalidVPCSecurityGroupDetector() *AwsInstanceInvalidVPCSecurityGroupDetector
- func (d *Detector) CreateAwsInstancePreviousTypeDetector() *AwsInstancePreviousTypeDetector
- func (d *Detector) CreateAwsRouteInvalidEgressOnlyGatewayDetector() *AwsRouteInvalidEgressOnlyGatewayDetector
- func (d *Detector) CreateAwsRouteInvalidGatewayDetector() *AwsRouteInvalidGatewayDetector
- func (d *Detector) CreateAwsRouteInvalidInstanceDetector() *AwsRouteInvalidInstanceDetector
- func (d *Detector) CreateAwsRouteInvalidNatGatewayDetector() *AwsRouteInvalidNatGatewayDetector
- func (d *Detector) CreateAwsRouteInvalidNetworkInterfaceDetector() *AwsRouteInvalidNetworkInterfaceDetector
- func (d *Detector) CreateAwsRouteInvalidRouteTableDetector() *AwsRouteInvalidRouteTableDetector
- func (d *Detector) CreateAwsRouteInvalidVpcPeeringConnectionDetector() *AwsRouteInvalidVpcPeeringConnectionDetector
- func (d *Detector) CreateAwsRouteNotSpecifiedTargetDetector() *AwsRouteNotSpecifiedTargetDetector
- func (d *Detector) CreateAwsRouteSpecifiedMultipleTargetsDetector() *AwsRouteSpecifiedMultipleTargetsDetector
- func (d *Detector) CreateAwsSecurityGroupDuplicateDetector() *AwsSecurityGroupDuplicateDetector
- func (d *Detector) CreateTerraformModulePinnedSourceDetector() *TerraformModulePinnedSourceDetector
- func (d *Detector) CreateTestDetector() *TestDetector
- func (d *Detector) Detect() []*issue.Issue
- func (d *Detector) HasError() bool
- type DetectorIF
- type TerraformModulePinnedSourceDetector
- type TestDetector
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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
func (d *AwsCloudWatchMetricAlarmInvalidUnitDetector) PreProcess()
type AwsDBInstanceDefaultParameterGroupDetector ¶ added in v0.2.0
type AwsDBInstanceDefaultParameterGroupDetector struct {
*Detector
}
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
func (d *AwsDBInstanceDuplicateIdentifierDetector) PreProcess()
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
func (d *AwsDBInstanceInvalidDBSubnetGroupDetector) PreProcess()
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
func (d *AwsDBInstanceInvalidOptionGroupDetector) PreProcess()
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
func (d *AwsDBInstanceInvalidParameterGroupDetector) PreProcess()
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
func (d *AwsDBInstanceInvalidVPCSecurityGroupDetector) PreProcess()
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
}
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
}
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
func (d *AwsElastiCacheClusterDuplicateIDDetector) PreProcess()
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 (d *AwsElastiCacheClusterInvalidParameterGroupDetector) Detect(resource *schema.Resource, issues *[]*issue.Issue)
func (*AwsElastiCacheClusterInvalidParameterGroupDetector) PreProcess ¶ added in v0.3.1
func (d *AwsElastiCacheClusterInvalidParameterGroupDetector) PreProcess()
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 (d *AwsElastiCacheClusterInvalidSecurityGroupDetector) Detect(resource *schema.Resource, issues *[]*issue.Issue)
func (*AwsElastiCacheClusterInvalidSecurityGroupDetector) PreProcess ¶ added in v0.3.1
func (d *AwsElastiCacheClusterInvalidSecurityGroupDetector) PreProcess()
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 (d *AwsElastiCacheClusterInvalidSubnetGroupDetector) Detect(resource *schema.Resource, issues *[]*issue.Issue)
func (*AwsElastiCacheClusterInvalidSubnetGroupDetector) PreProcess ¶ added in v0.3.1
func (d *AwsElastiCacheClusterInvalidSubnetGroupDetector) PreProcess()
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
func (d *AwsElastiCacheClusterInvalidTypeDetector) PreProcess()
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
func (d *AwsElastiCacheClusterPreviousTypeDetector) PreProcess()
type AwsInstanceDefaultStandardVolumeDetector ¶ added in v0.2.0
type AwsInstanceDefaultStandardVolumeDetector struct {
*Detector
}
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
func (d *AwsInstanceInvalidVPCSecurityGroupDetector) PreProcess()
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
func (d *AwsRouteInvalidEgressOnlyGatewayDetector) PreProcess()
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
func (d *AwsRouteInvalidNetworkInterfaceDetector) PreProcess()
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
func (d *AwsRouteInvalidVpcPeeringConnectionDetector) PreProcess()
type AwsRouteNotSpecifiedTargetDetector ¶ added in v0.3.4
type AwsRouteNotSpecifiedTargetDetector struct {
*Detector
}
type AwsRouteSpecifiedMultipleTargetsDetector ¶ added in v0.3.4
type AwsRouteSpecifiedMultipleTargetsDetector struct {
*Detector
}
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 (*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
type DetectorIF ¶ added in v0.2.1
type TerraformModulePinnedSourceDetector ¶ added in v0.3.5
type TerraformModulePinnedSourceDetector struct {
*Detector
}
type TestDetector ¶ added in v0.2.0
type TestDetector struct {
*Detector
}
Source Files ¶
- aws_alb_duplicate_name.go
- aws_alb_invaid_security_group.go
- aws_alb_invalid_subnet.go
- aws_cloudwatch_metric_alarm_invalid_unit.go
- aws_db_instance_default_parameter_group.go
- aws_db_instance_duplicate_identifier.go
- aws_db_instance_invalid_db_subnet_group.go
- aws_db_instance_invalid_option_group.go
- aws_db_instance_invalid_parameter_group.go
- aws_db_instance_invalid_type.go
- aws_db_instance_invalid_vpc_security_group.go
- aws_db_instance_previous_type.go
- aws_db_instance_readable_password.go
- aws_ecs_cluster_duplicate_name.go
- aws_elasticache_cluster_default_parameter_group.go
- aws_elasticache_cluster_duplicate_id.go
- aws_elasticache_cluster_invalid_parameter_group.go
- aws_elasticache_cluster_invalid_security_group.go
- aws_elasticache_cluster_invalid_subnet_group.go
- aws_elasticache_cluster_invalid_type.go
- aws_elasticache_cluster_previous_type.go
- aws_elb_duplicate_name.go
- aws_elb_invalid_instance.go
- aws_elb_invalid_security_group.go
- aws_elb_invalid_subnet.go
- aws_instance_default_standard_volume.go
- aws_instance_invalid_ami.go
- aws_instance_invalid_iam_profile.go
- aws_instance_invalid_key_name.go
- aws_instance_invalid_subnet.go
- aws_instance_invalid_type.go
- aws_instance_invalid_vpc_security_group.go
- aws_instance_previous_type.go
- aws_route_invalid_egress_only_gateway.go
- aws_route_invalid_gateway.go
- aws_route_invalid_instance.go
- aws_route_invalid_nat_gateway.go
- aws_route_invalid_network_interface.go
- aws_route_invalid_route_table.go
- aws_route_invalid_vpc_peering_connection.go
- aws_route_not_specified_target.go
- aws_route_specified_multiple_targets.go
- aws_security_group_duplicate_name.go
- detector.go
- terraform_module_pinned_source.go
- test_helper.go
Click to show internal directories.
Click to hide internal directories.