diff --git a/src/iac_scan_runner/compatibility.py b/src/iac_scan_runner/compatibility.py index 2874468cef6522625abf6ed529350ad4e5db49a7..8202ecffa657c6696e914fd2377d67f29fe90ec6 100644 --- a/src/iac_scan_runner/compatibility.py +++ b/src/iac_scan_runner/compatibility.py @@ -54,13 +54,11 @@ class Compatibility: try: for root, folders, names in os.walk(iac_directory): for f in names: - print(f) if (f.find(".tf") > -1) or (f.find(".tftpl") > -1): types.append("terraform") scanned_terraform.append(f) elif (f.find(".yaml") > -1) or (f.find(".yml") > -1): - print(f) types.append("yaml") scanned_yaml.append(f) diff --git a/src/iac_scan_runner/results_summary.py b/src/iac_scan_runner/results_summary.py index ebf9f1e9368890d3ecb54f088ba5752cc2097595..ba71ffde7289faa22cebf2248ab09c274598d208 100644 --- a/src/iac_scan_runner/results_summary.py +++ b/src/iac_scan_runner/results_summary.py @@ -40,7 +40,6 @@ class ResultsSummary: file_list = "" for t in compatibility_matrix: if check in compatibility_matrix[t]: - print(compatibility_matrix[t]) file_list = str(scanned_files[t]) self.outcomes[check]["files"] = file_list diff --git a/src/iac_scan_runner/scan_runner.py b/src/iac_scan_runner/scan_runner.py index c89109cc2c5d98335f69f542ffea1a8d47a0e862..0e36f7af35ad6b4b999df0d8700faeedf8345a77 100644 --- a/src/iac_scan_runner/scan_runner.py +++ b/src/iac_scan_runner/scan_runner.py @@ -143,7 +143,6 @@ class ScanRunner: self.results_summary.outcomes = dict() self.compatibility_matrix.scanned_files = dict() - compatible_checks = self.compatibility_matrix.get_all_compatible_checks(self.iac_dir) non_compatible_checks = [] scan_output = {} @@ -151,10 +150,7 @@ class ScanRunner: if selected_checks: for selected_check in selected_checks: check = self.iac_checks[selected_check] - print(selected_check) if check.enabled: - print("enabled") - print(compatible_checks) if selected_check in compatible_checks: check_output = check.run(self.iac_dir) scan_output[selected_check] = check_output.to_dict()