diff --git a/socketsecurity/core/__init__.py b/socketsecurity/core/__init__.py index fd84d4e..86421cd 100644 --- a/socketsecurity/core/__init__.py +++ b/socketsecurity/core/__init__.py @@ -187,6 +187,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"] @@ -209,7 +210,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: @@ -331,7 +332,7 @@ def create_full_scan(self, files: list[tuple[str, tuple[str, BytesIO]]], params: 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)