From cf22d9ee636f4285b17d80be8a961e33ea1904a3 Mon Sep 17 00:00:00 2001 From: Santiago Santa Date: Tue, 12 Nov 2024 16:43:41 -0500 Subject: [PATCH] deploy dev --- .../engine_risk/src/domain/usecases/break_build.py | 4 ++-- .../engine_risk/src/domain/usecases/handle_filters.py | 2 +- .../engine_risk/test/domain/usecases/test_break_build.py | 4 ++-- tools/devsecops_engine_tools/version.py | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tools/devsecops_engine_tools/engine_risk/src/domain/usecases/break_build.py b/tools/devsecops_engine_tools/engine_risk/src/domain/usecases/break_build.py index 0bc920ab..0fbd1c21 100644 --- a/tools/devsecops_engine_tools/engine_risk/src/domain/usecases/break_build.py +++ b/tools/devsecops_engine_tools/engine_risk/src/domain/usecases/break_build.py @@ -224,7 +224,7 @@ def _tag_blacklist_control(self, report_list: "list[Report]"): print( self.devops_platform_gateway.message( "error", - f"Report {report.vm_id}[{report.vm_id_url}] with tag {tag} is blacklisted and age {report.age} is above threshold {tag_age_threshold}", + f"Report {report.vm_id} with tag {tag} is blacklisted and age {report.age} is above threshold {tag_age_threshold}", ) ) @@ -232,7 +232,7 @@ def _tag_blacklist_control(self, report_list: "list[Report]"): print( self.devops_platform_gateway.message( "warning", - f"Report {report.vm_id}[{report.vm_id_url}] with tag {tag} is blacklisted but age {report.age} is below threshold {tag_age_threshold}", + f"Report {report.vm_id} with tag {tag} is blacklisted but age {report.age} is below threshold {tag_age_threshold}", ) ) diff --git a/tools/devsecops_engine_tools/engine_risk/src/domain/usecases/handle_filters.py b/tools/devsecops_engine_tools/engine_risk/src/domain/usecases/handle_filters.py index c010dd85..74ae06b2 100644 --- a/tools/devsecops_engine_tools/engine_risk/src/domain/usecases/handle_filters.py +++ b/tools/devsecops_engine_tools/engine_risk/src/domain/usecases/handle_filters.py @@ -58,7 +58,7 @@ def filter_tags_days(self, devops_platform_gateway, remote_config, findings): print( devops_platform_gateway.message( "warning", - f"Report {finding.vm_id}[{finding.vm_id_url}] with tag '{tag}' and age {finding.age} days is being excluded. It will be considered in {tag_exclusion_days[tag] - finding.age} days.", + f"Report {finding.vm_id} with tag '{tag}' and age {finding.age} days is being excluded. It will be considered in {tag_exclusion_days[tag] - finding.age} days.", ) ) break diff --git a/tools/devsecops_engine_tools/engine_risk/test/domain/usecases/test_break_build.py b/tools/devsecops_engine_tools/engine_risk/test/domain/usecases/test_break_build.py index 7265afbc..37840491 100644 --- a/tools/devsecops_engine_tools/engine_risk/test/domain/usecases/test_break_build.py +++ b/tools/devsecops_engine_tools/engine_risk/test/domain/usecases/test_break_build.py @@ -297,7 +297,7 @@ def test_tag_blacklist_control_error(): mock_devops_platform_gateway.message.assert_called_once_with( "error", - f"Report {report_list[0].vm_id}[{report_list[0].vm_id_url}] with tag {report_list[0].tags[0]} is blacklisted and age {report_list[0].age} is above threshold {tag_age_threshold}", + f"Report {report_list[0].vm_id} with tag {report_list[0].tags[0]} is blacklisted and age {report_list[0].age} is above threshold {tag_age_threshold}", ) @@ -332,7 +332,7 @@ def test_tag_blacklist_control_warning(): mock_devops_platform_gateway.message.assert_called_once_with( "warning", - f"Report {report_list[0].vm_id}[{report_list[0].vm_id_url}] with tag {report_list[0].tags[0]} is blacklisted but age {report_list[0].age} is below threshold {tag_age_threshold}", + f"Report {report_list[0].vm_id} with tag {report_list[0].tags[0]} is blacklisted but age {report_list[0].age} is below threshold {tag_age_threshold}", ) diff --git a/tools/devsecops_engine_tools/version.py b/tools/devsecops_engine_tools/version.py index 02daef39..46556e7d 100644 --- a/tools/devsecops_engine_tools/version.py +++ b/tools/devsecops_engine_tools/version.py @@ -1 +1 @@ -version = '1.14.4' +version = '1.14.5'