Skip to content

Commit

Permalink
Merge branch 'main' of github.com:trufflesecurity/trufflehog into upd…
Browse files Browse the repository at this point in the history
…ate-dep
  • Loading branch information
dustin-decker committed Jul 24, 2023
2 parents 76c304b + fd6c281 commit 9fcc5a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/detectors/okta/okta.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ type Scanner struct{}
var _ detectors.Detector = (*Scanner)(nil)

var (
domainPat = regexp.MustCompile(`[a-z0-9-]{1,40}\.okta(?:preview|-emea){0,1}\.com`)
tokenPat = regexp.MustCompile(`00[a-zA-Z0-9_-]{40}`)
domainPat = regexp.MustCompile(`\b[a-z0-9-]{1,40}\.okta(?:preview|-emea){0,1}\.com\b`)
tokenPat = regexp.MustCompile(`\b00[a-zA-Z0-9_-]{40}\b`)
// TODO: Oauth client secrets
)

Expand Down

0 comments on commit 9fcc5a1

Please sign in to comment.