diff --git a/socketsecurity/core/__init__.py b/socketsecurity/core/__init__.py index 178650e..a048ab0 100644 --- a/socketsecurity/core/__init__.py +++ b/socketsecurity/core/__init__.py @@ -186,6 +186,7 @@ def find_files(self, path: str) -> List[str]: for ecosystem in patterns: if ecosystem in self.config.excluded_ecosystems: continue + log.info(f'Scanning ecosystem: {ecosystem}') ecosystem_patterns = patterns[ecosystem] for file_name in ecosystem_patterns: original_pattern = ecosystem_patterns[file_name]["pattern"] @@ -208,7 +209,7 @@ def find_files(self, path: str) -> List[str]: glob_end = time.time() log.debug(f"Globbing took {glob_end - glob_start:.4f} seconds") - log.debug(f"Total files found: {len(files)}") + log.info(f"Total files found: {len(files)}") return sorted(files) def get_supported_patterns(self) -> Dict: @@ -322,7 +323,7 @@ def create_full_scan(self, files: List[str], params: FullScanParams, has_head_sc Returns: FullScan object with scan results """ - log.debug("Creating new full scan") + log.info("Creating new full scan") create_full_start = time.time() res = self.sdk.fullscans.post(files, params, use_types=True)