Skip to content

Commit

Permalink
fixed codespell items
Browse files Browse the repository at this point in the history
  • Loading branch information
sethsec-bf committed Oct 25, 2023
1 parent 7656267 commit 2dc20ea
Show file tree
Hide file tree
Showing 27 changed files with 27 additions and 27 deletions.
2 changes: 1 addition & 1 deletion aws/access-keys.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ func (m *AccessKeysModule) PrintAccessKeys(filter string, outputDirectory string
var tableCols []string
// If the user specified table columns, use those.
if m.AWSTableCols != "" {
// remove any spaces between any commans and the first letter after the commas
// remove any spaces between any commas and the first letter after the commas
m.AWSTableCols = strings.ReplaceAll(m.AWSTableCols, ", ", ",")
m.AWSTableCols = strings.ReplaceAll(m.AWSTableCols, ", ", ",")
tableCols = strings.Split(m.AWSTableCols, ",")
Expand Down
2 changes: 1 addition & 1 deletion aws/buckets.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ func (m *BucketsModule) PrintBuckets(outputDirectory string, verbosity int) {
var tableCols []string
// If the user specified table columns, use those.
if m.AWSTableCols != "" {
// remove any spaces between any commans and the first letter after the commas
// remove any spaces between any commas and the first letter after the commas
m.AWSTableCols = strings.ReplaceAll(m.AWSTableCols, ", ", ",")
m.AWSTableCols = strings.ReplaceAll(m.AWSTableCols, ", ", ",")
tableCols = strings.Split(m.AWSTableCols, ",")
Expand Down
2 changes: 1 addition & 1 deletion aws/cloudformation.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ func (m *CloudformationModule) PrintCloudformationStacks(outputDirectory string,
var tableCols []string
// If the user specified table columns, use those.
if m.AWSTableCols != "" {
// remove any spaces between any commans and the first letter after the commas
// remove any spaces between any commas and the first letter after the commas
m.AWSTableCols = strings.ReplaceAll(m.AWSTableCols, ", ", ",")
m.AWSTableCols = strings.ReplaceAll(m.AWSTableCols, ", ", ",")
tableCols = strings.Split(m.AWSTableCols, ",")
Expand Down
2 changes: 1 addition & 1 deletion aws/codebuild.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ func (m *CodeBuildModule) PrintCodeBuildProjects(outputDirectory string, verbosi
// If the user specified table columns, use those.
if m.AWSTableCols != "" {
// If the user specified wide as the output format, use these columns.
// remove any spaces between any commans and the first letter after the commas
// remove any spaces between any commas and the first letter after the commas
m.AWSTableCols = strings.ReplaceAll(m.AWSTableCols, ", ", ",")
m.AWSTableCols = strings.ReplaceAll(m.AWSTableCols, ", ", ",")
tableCols = strings.Split(m.AWSTableCols, ",")
Expand Down
2 changes: 1 addition & 1 deletion aws/databases.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ func (m *DatabasesModule) PrintDatabases(outputDirectory string, verbosity int)
// If the user specified table columns, use those.
if m.AWSTableCols != "" {
// If the user specified wide as the output format, use these columns.
// remove any spaces between any commans and the first letter after the commas
// remove any spaces between any commas and the first letter after the commas
m.AWSTableCols = strings.ReplaceAll(m.AWSTableCols, ", ", ",")
m.AWSTableCols = strings.ReplaceAll(m.AWSTableCols, ", ", ",")
tableCols = strings.Split(m.AWSTableCols, ",")
Expand Down
2 changes: 1 addition & 1 deletion aws/ecr.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ func (m *ECRModule) PrintECR(outputDirectory string, verbosity int) {
// If the user specified table columns, use those.
if m.AWSTableCols != "" {
// If the user specified wide as the output format, use these columns.
// remove any spaces between any commans and the first letter after the commas
// remove any spaces between any commas and the first letter after the commas
m.AWSTableCols = strings.ReplaceAll(m.AWSTableCols, ", ", ",")
m.AWSTableCols = strings.ReplaceAll(m.AWSTableCols, ", ", ",")
tableCols = strings.Split(m.AWSTableCols, ",")
Expand Down
2 changes: 1 addition & 1 deletion aws/ecs-tasks.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ func (m *ECSTasksModule) printECSTaskData(outputDirectory string, dataReceiver c
// If the user specified table columns, use those.
if m.AWSTableCols != "" {
// If the user specified wide as the output format, use these columns.
// remove any spaces between any commans and the first letter after the commas
// remove any spaces between any commas and the first letter after the commas
m.AWSTableCols = strings.ReplaceAll(m.AWSTableCols, ", ", ",")
m.AWSTableCols = strings.ReplaceAll(m.AWSTableCols, ", ", ",")
tableCols = strings.Split(m.AWSTableCols, ",")
Expand Down
2 changes: 1 addition & 1 deletion aws/eks.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ func (m *EKSModule) EKS(outputDirectory string, verbosity int) {
// If the user specified table columns, use those.
if m.AWSTableCols != "" {
// If the user specified wide as the output format, use these columns.
// remove any spaces between any commans and the first letter after the commas
// remove any spaces between any commas and the first letter after the commas
m.AWSTableCols = strings.ReplaceAll(m.AWSTableCols, ", ", ",")
m.AWSTableCols = strings.ReplaceAll(m.AWSTableCols, ", ", ",")
tableCols = strings.Split(m.AWSTableCols, ",")
Expand Down
2 changes: 1 addition & 1 deletion aws/elastic-network-interfaces.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ func (m *ElasticNetworkInterfacesModule) printENIsData(outputDirectory string, d
// If the user specified table columns, use those.
if m.AWSTableCols != "" {
// If the user specified wide as the output format, use these columns.
// remove any spaces between any commans and the first letter after the commas
// remove any spaces between any commas and the first letter after the commas
m.AWSTableCols = strings.ReplaceAll(m.AWSTableCols, ", ", ",")
m.AWSTableCols = strings.ReplaceAll(m.AWSTableCols, ", ", ",")
tableCols = strings.Split(m.AWSTableCols, ",")
Expand Down
2 changes: 1 addition & 1 deletion aws/endpoints.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ func (m *EndpointsModule) PrintEndpoints(outputDirectory string, verbosity int)
// If the user specified table columns, use those.
if m.AWSTableCols != "" {
// If the user specified wide as the output format, use these columns.
// remove any spaces between any commans and the first letter after the commas
// remove any spaces between any commas and the first letter after the commas
m.AWSTableCols = strings.ReplaceAll(m.AWSTableCols, ", ", ",")
m.AWSTableCols = strings.ReplaceAll(m.AWSTableCols, ", ", ",")
tableCols = strings.Split(m.AWSTableCols, ",")
Expand Down
2 changes: 1 addition & 1 deletion aws/env-vars.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ func (m *EnvsModule) PrintEnvs(outputDirectory string, verbosity int) {
// If the user specified table columns, use those.
if m.AWSTableCols != "" {
// If the user specified wide as the output format, use these columns.
// remove any spaces between any commans and the first letter after the commas
// remove any spaces between any commas and the first letter after the commas
m.AWSTableCols = strings.ReplaceAll(m.AWSTableCols, ", ", ",")
m.AWSTableCols = strings.ReplaceAll(m.AWSTableCols, ", ", ",")
tableCols = strings.Split(m.AWSTableCols, ",")
Expand Down
2 changes: 1 addition & 1 deletion aws/filesystems.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ func (m *FilesystemsModule) PrintFilesystems(outputDirectory string, verbosity i
// If the user specified table columns, use those.
if m.AWSTableCols != "" {
// If the user specified wide as the output format, use these columns.
// remove any spaces between any commans and the first letter after the commas
// remove any spaces between any commas and the first letter after the commas
m.AWSTableCols = strings.ReplaceAll(m.AWSTableCols, ", ", ",")
m.AWSTableCols = strings.ReplaceAll(m.AWSTableCols, ", ", ",")
tableCols = strings.Split(m.AWSTableCols, ",")
Expand Down
2 changes: 1 addition & 1 deletion aws/iam-simulator.go
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ func (m *IamSimulatorModule) PrintIamSimulator(principal string, action string,
// If the user specified table columns, use those.
if m.AWSTableCols != "" {
// If the user specified wide as the output format, use these columns.
// remove any spaces between any commans and the first letter after the commas
// remove any spaces between any commas and the first letter after the commas
m.AWSTableCols = strings.ReplaceAll(m.AWSTableCols, ", ", ",")
m.AWSTableCols = strings.ReplaceAll(m.AWSTableCols, ", ", ",")
tableCols = strings.Split(m.AWSTableCols, ",")
Expand Down
2 changes: 1 addition & 1 deletion aws/instances.go
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ func (m *InstancesModule) printGeneralInstanceData(outputDirectory string, dataR
// If the user specified table columns, use those.
if m.AWSTableCols != "" {
// If the user specified wide as the output format, use these columns.
// remove any spaces between any commans and the first letter after the commas
// remove any spaces between any commas and the first letter after the commas
m.AWSTableCols = strings.ReplaceAll(m.AWSTableCols, ", ", ",")
m.AWSTableCols = strings.ReplaceAll(m.AWSTableCols, ", ", ",")
tableCols = strings.Split(m.AWSTableCols, ",")
Expand Down
2 changes: 1 addition & 1 deletion aws/lambda.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ func (m *LambdasModule) PrintLambdas(outputDirectory string, verbosity int) {
// If the user specified table columns, use those.
if m.AWSTableCols != "" {
// If the user specified wide as the output format, use these columns.
// remove any spaces between any commans and the first letter after the commas
// remove any spaces between any commas and the first letter after the commas
m.AWSTableCols = strings.ReplaceAll(m.AWSTableCols, ", ", ",")
m.AWSTableCols = strings.ReplaceAll(m.AWSTableCols, ", ", ",")
tableCols = strings.Split(m.AWSTableCols, ",")
Expand Down
2 changes: 1 addition & 1 deletion aws/network-ports.go
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ func (m *NetworkPortsModule) PrintNetworkPorts(outputDirectory string) {
// If the user specified table columns, use those.
if m.AWSTableCols != "" {
// If the user specified wide as the output format, use these columns.
// remove any spaces between any commans and the first letter after the commas
// remove any spaces between any commas and the first letter after the commas
m.AWSTableCols = strings.ReplaceAll(m.AWSTableCols, ", ", ",")
m.AWSTableCols = strings.ReplaceAll(m.AWSTableCols, ", ", ",")
tableCols = strings.Split(m.AWSTableCols, ",")
Expand Down
2 changes: 1 addition & 1 deletion aws/org.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ func (m *OrgModule) PrintOrgAccounts(outputDirectory string, verbosity int) {
// If the user specified table columns, use those.
if m.AWSTableCols != "" {
// If the user specified wide as the output format, use these columns.
// remove any spaces between any commans and the first letter after the commas
// remove any spaces between any commas and the first letter after the commas
m.AWSTableCols = strings.ReplaceAll(m.AWSTableCols, ", ", ",")
m.AWSTableCols = strings.ReplaceAll(m.AWSTableCols, ", ", ",")
tableCols = strings.Split(m.AWSTableCols, ",")
Expand Down
2 changes: 1 addition & 1 deletion aws/outbound-assumed-roles.go
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ func (m *OutboundAssumedRolesModule) PrintOutboundRoleTrusts(days int, outputDir
// If the user specified table columns, use those.
if m.AWSTableCols != "" {
// If the user specified wide as the output format, use these columns.
// remove any spaces between any commans and the first letter after the commas
// remove any spaces between any commas and the first letter after the commas
m.AWSTableCols = strings.ReplaceAll(m.AWSTableCols, ", ", ",")
m.AWSTableCols = strings.ReplaceAll(m.AWSTableCols, ", ", ",")
tableCols = strings.Split(m.AWSTableCols, ",")
Expand Down
2 changes: 1 addition & 1 deletion aws/pmapper.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ func (m *PmapperModule) PrintPmapperData(outputDirectory string, verbosity int)
// If the user specified table columns, use those.
if m.AWSTableCols != "" {
// If the user specified wide as the output format, use these columns.
// remove any spaces between any commans and the first letter after the commas
// remove any spaces between any commas and the first letter after the commas
m.AWSTableCols = strings.ReplaceAll(m.AWSTableCols, ", ", ",")
m.AWSTableCols = strings.ReplaceAll(m.AWSTableCols, ", ", ",")
tableCols = strings.Split(m.AWSTableCols, ",")
Expand Down
2 changes: 1 addition & 1 deletion aws/principals.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ func (m *IamPrincipalsModule) PrintIamPrincipals(outputDirectory string, verbosi
// If the user specified table columns, use those.
if m.AWSTableCols != "" {
// If the user specified wide as the output format, use these columns.
// remove any spaces between any commans and the first letter after the commas
// remove any spaces between any commas and the first letter after the commas
m.AWSTableCols = strings.ReplaceAll(m.AWSTableCols, ", ", ",")
m.AWSTableCols = strings.ReplaceAll(m.AWSTableCols, ", ", ",")
tableCols = strings.Split(m.AWSTableCols, ",")
Expand Down
2 changes: 1 addition & 1 deletion aws/ram.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ func (m *RAMModule) PrintRAM(outputDirectory string, verbosity int) {
// If the user specified table columns, use those.
if m.AWSTableCols != "" {
// If the user specified wide as the output format, use these columns.
// remove any spaces between any commans and the first letter after the commas
// remove any spaces between any commas and the first letter after the commas
m.AWSTableCols = strings.ReplaceAll(m.AWSTableCols, ", ", ",")
m.AWSTableCols = strings.ReplaceAll(m.AWSTableCols, ", ", ",")
tableCols = strings.Split(m.AWSTableCols, ",")
Expand Down
2 changes: 1 addition & 1 deletion aws/resource-trusts.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ func (m *ResourceTrustsModule) PrintResources(outputDirectory string, verbosity
// If the user specified table columns, use those.
if m.AWSTableCols != "" {
// If the user specified wide as the output format, use these columns.
// remove any spaces between any commans and the first letter after the commas
// remove any spaces between any commas and the first letter after the commas
m.AWSTableCols = strings.ReplaceAll(m.AWSTableCols, ", ", ",")
m.AWSTableCols = strings.ReplaceAll(m.AWSTableCols, ", ", ",")
tableCols = strings.Split(m.AWSTableCols, ",")
Expand Down
2 changes: 1 addition & 1 deletion aws/route53.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ func (m *Route53Module) PrintRoute53(outputDirectory string, verbosity int) {
// If the user specified table columns, use those.
if m.AWSTableCols != "" {
// If the user specified wide as the output format, use these columns.
// remove any spaces between any commans and the first letter after the commas
// remove any spaces between any commas and the first letter after the commas
m.AWSTableCols = strings.ReplaceAll(m.AWSTableCols, ", ", ",")
m.AWSTableCols = strings.ReplaceAll(m.AWSTableCols, ", ", ",")
tableCols = strings.Split(m.AWSTableCols, ",")
Expand Down
2 changes: 1 addition & 1 deletion aws/secrets.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ func (m *SecretsModule) PrintSecrets(outputDirectory string, verbosity int) {
// If the user specified table columns, use those.
if m.AWSTableCols != "" {
// If the user specified wide as the output format, use these columns.
// remove any spaces between any commans and the first letter after the commas
// remove any spaces between any commas and the first letter after the commas
m.AWSTableCols = strings.ReplaceAll(m.AWSTableCols, ", ", ",")
m.AWSTableCols = strings.ReplaceAll(m.AWSTableCols, ", ", ",")
tableCols = strings.Split(m.AWSTableCols, ",")
Expand Down
2 changes: 1 addition & 1 deletion aws/sns.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ func (m *SNSModule) PrintSNS(outputDirectory string, verbosity int) {
// If the user specified table columns, use those.
if m.AWSTableCols != "" {
// If the user specified wide as the output format, use these columns.
// remove any spaces between any commans and the first letter after the commas
// remove any spaces between any commas and the first letter after the commas
m.AWSTableCols = strings.ReplaceAll(m.AWSTableCols, ", ", ",")
m.AWSTableCols = strings.ReplaceAll(m.AWSTableCols, ", ", ",")
tableCols = strings.Split(m.AWSTableCols, ",")
Expand Down
2 changes: 1 addition & 1 deletion aws/sqs.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ func (m *SQSModule) PrintSQS(outputDirectory string, verbosity int) {
// If the user specified table columns, use those.
if m.AWSTableCols != "" {
// If the user specified wide as the output format, use these columns.
// remove any spaces between any commans and the first letter after the commas
// remove any spaces between any commas and the first letter after the commas
m.AWSTableCols = strings.ReplaceAll(m.AWSTableCols, ", ", ",")
m.AWSTableCols = strings.ReplaceAll(m.AWSTableCols, ", ", ",")
tableCols = strings.Split(m.AWSTableCols, ",")
Expand Down
2 changes: 1 addition & 1 deletion aws/tags.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ func (m *TagsModule) PrintTags(outputDirectory string, verbosity int) {
// If the user specified table columns, use those.
if m.AWSTableCols != "" {
// If the user specified wide as the output format, use these columns.
// remove any spaces between any commans and the first letter after the commas
// remove any spaces between any commas and the first letter after the commas
m.AWSTableCols = strings.ReplaceAll(m.AWSTableCols, ", ", ",")
m.AWSTableCols = strings.ReplaceAll(m.AWSTableCols, ", ", ",")
tableCols = strings.Split(m.AWSTableCols, ",")
Expand Down

0 comments on commit 2dc20ea

Please sign in to comment.