Issue 331: Typo in aws_security_group_defaults / aws_security_group_rules_defaults

main
Louis TOUSSAINT 2021-04-01 11:16:24 +02:00 committed by sundowndev
parent b514645029
commit 3c0321e044
2 changed files with 3 additions and 3 deletions

View File

@ -9,7 +9,7 @@ import (
const defaultAwsSecurityGroupName = "default"
// When scanning a brand new AWS account, some users may see irrelevant results about default AWS role policies.
// When scanning a brand new AWS account, some users may see irrelevant results about default AWS security group.
// We ignore these resources by default when strict mode is disabled.
type AwsSecurityGroupDefaults struct{}
@ -21,7 +21,7 @@ func (m AwsSecurityGroupDefaults) Execute(remoteResources, resourcesFromState *[
newRemoteResources := make([]resource.Resource, 0)
for _, remoteResource := range *remoteResources {
// Ignore all resources other than iam role
// Ignore all resources other than security group
if remoteResource.TerraformType() != aws.AwsSecurityGroupResourceType {
newRemoteResources = append(newRemoteResources, remoteResource)
continue

View File

@ -7,7 +7,7 @@ import (
"github.com/cloudskiff/driftctl/pkg/resource/aws"
)
// When scanning a brand new AWS account, some users may see irrelevant results about default AWS role policies.
// When scanning a brand new AWS account, some users may see irrelevant results about default AWS security group rules.
// We ignore these resources by default when strict mode is disabled.
type AwsSecurityGroupRuleDefaults struct{}