Skip to content

Commit

Permalink
changed import name and tag
Browse files Browse the repository at this point in the history
  • Loading branch information
hagarfisher committed Aug 20, 2023
1 parent ded2b27 commit 9ba7271
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions secrets/secrets.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (

"github.com/checkmarx/2ms/plugins"
"github.com/checkmarx/2ms/reporting"
secrets "github.com/checkmarx/2ms/secrets/rules"
internalRules "github.com/checkmarx/2ms/secrets/rules"
"github.com/rs/zerolog/log"
"github.com/spf13/cobra"
"github.com/zricethezav/gitleaks/v8/cmd/generate/config/rules"
Expand Down Expand Up @@ -369,7 +369,7 @@ func loadAllRules() ([]Rule, error) {
allRules = append(allRules, Rule{Rule: *rules.YandexAWSAccessToken(), Tags: []string{TagAccessToken}})
allRules = append(allRules, Rule{Rule: *rules.YandexAccessToken(), Tags: []string{TagAccessToken}})
allRules = append(allRules, Rule{Rule: *rules.ZendeskSecretKey(), Tags: []string{TagSecretKey}})
allRules = append(allRules, Rule{Rule: *secrets.AuthenticatedURL(), Tags: []string{TagPassword}})
allRules = append(allRules, Rule{Rule: *internalRules.AuthenticatedURL(), Tags: []string{TagSensitiveUrl}})

return allRules, nil
}
Expand Down

0 comments on commit 9ba7271

Please sign in to comment.