|
@@ -16,6 +16,7 @@ import (
|
|
|
"github.com/zricethezav/gitleaks/v8/config"
|
|
"github.com/zricethezav/gitleaks/v8/config"
|
|
|
"github.com/zricethezav/gitleaks/v8/detect"
|
|
"github.com/zricethezav/gitleaks/v8/detect"
|
|
|
"github.com/zricethezav/gitleaks/v8/logging"
|
|
"github.com/zricethezav/gitleaks/v8/logging"
|
|
|
|
|
+ "github.com/zricethezav/gitleaks/v8/regexp"
|
|
|
"github.com/zricethezav/gitleaks/v8/report"
|
|
"github.com/zricethezav/gitleaks/v8/report"
|
|
|
)
|
|
)
|
|
|
|
|
|
|
@@ -110,6 +111,8 @@ func initConfig(source string) {
|
|
|
_, _ = fmt.Fprint(os.Stderr, banner)
|
|
_, _ = fmt.Fprint(os.Stderr, banner)
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ logging.Debug().Msgf("using %s regex engine", regexp.Version)
|
|
|
|
|
+
|
|
|
cfgPath, err := rootCmd.Flags().GetString("config")
|
|
cfgPath, err := rootCmd.Flags().GetString("config")
|
|
|
if err != nil {
|
|
if err != nil {
|
|
|
logging.Fatal().Msg(err.Error())
|
|
logging.Fatal().Msg(err.Error())
|