Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ type GcpClientOpt struct {
}

const (
SingleAccount = "single_account"
OrganizationAccount = "organization_account"
SingleAccount = "single-account"
OrganizationAccount = "organization-account"
)

func New(cfg *config.C) (*Config, error) {
Expand Down
4 changes: 2 additions & 2 deletions config/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ config:
v1:
benchmark: cis_eks
aws:
account_type: organization_account
account_type: organization-account
credentials:
access_key_id: key
secret_access_key: secret
Expand All @@ -84,7 +84,7 @@ config:
ProfileName: "credential_profile_name",
RoleArn: "role_arn",
},
AccountType: "organization_account",
AccountType: "organization-account",
},
},
3,
Expand Down
2 changes: 1 addition & 1 deletion flavors/benchmark/benchmark_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ func TestNewBenchmark(t *testing.T) {
Cred: aws.ConfigAWS{
AccessKeyID: "test",
},
AccountType: "organization_account",
AccountType: "organization-account",
},
},
},
Expand Down