From dc1755c53177de087147e2f392abecfb6b798c4c Mon Sep 17 00:00:00 2001 From: stujfiter Date: Fri, 19 May 2023 15:39:38 -0500 Subject: [PATCH] fix: detect-secrets-init-text (#101) Fixes Issue when running secureli init on an existing repo. The log output indicates that the entire repo will be scanned for secrets but the default behavior is to call detect-secrets without the `--all-files` flag so that a baseline is created. [#90 Running secureli init on existing repo does not appear to run full scan](https://github.com/slalombuild/secureli/issues/90) --- secureli/actions/action.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/secureli/actions/action.py b/secureli/actions/action.py index f62a682e..82f19d62 100644 --- a/secureli/actions/action.py +++ b/secureli/actions/action.py @@ -223,7 +223,7 @@ def _install_secureli(self, folder_path: Path, always_yes: bool) -> VerifyResult if secret_test_id := metadata.security_hook_id: self.action_deps.echo.print( - f"{config.overall_language} supports secrets detection; running {secret_test_id} on the whole repo" + f"{config.overall_language} supports secrets detection; running {secret_test_id}." ) self.action_deps.scanner.scan_repo( ScanMode.ALL_FILES, specific_test=secret_test_id