From 2eef2d73057a15dc9d9485c4ffadf7100ad052e8 Mon Sep 17 00:00:00 2001 From: omerma Date: Wed, 6 Nov 2024 13:29:43 +0200 Subject: [PATCH] check tests --- internal/resources/tests/web-app-asset_test.go | 6 ------ internal/resources/tests/web-app-practice_test.go | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/internal/resources/tests/web-app-asset_test.go b/internal/resources/tests/web-app-asset_test.go index f954e4d..8354a8b 100644 --- a/internal/resources/tests/web-app-asset_test.go +++ b/internal/resources/tests/web-app-asset_test.go @@ -284,7 +284,6 @@ resource "inext_web_app_asset" %[1]q { name = %[1]q urls = ["http://host/%[1]s/path3", "http://host/%[1]s/path2"] profiles = [inext_appsec_gateway_profile.%[2]s.id] - trusted_sources = [inext_trusted_sources.%[3]s.id] upstream_url = "some url 5" practice { main_mode = "Prevent" @@ -295,7 +294,6 @@ resource "inext_web_app_asset" %[1]q { } id = inext_web_app_practice.%[4]s.id triggers = [inext_log_trigger.%[5]s.id] - exceptions = [inext_exceptions.%[6]s.id] } proxy_setting { key = "some key" @@ -417,7 +415,6 @@ resource "inext_web_app_asset" %[1]q { name = %[1]q urls = ["http://host/%[1]s/path1", "http://host/%[1]s/path2"] profiles = [inext_appsec_gateway_profile.%[2]s.id] - trusted_sources = [inext_trusted_sources.%[3]s.id] upstream_url = "some url 5" practice { main_mode = "Learn" @@ -428,7 +425,6 @@ resource "inext_web_app_asset" %[1]q { } id = inext_web_app_practice.%[4]s.id triggers = [inext_log_trigger.%[5]s.id] - exceptions = [inext_exceptions.%[6]s.id] } proxy_setting { @@ -585,7 +581,6 @@ resource "inext_web_app_asset" %[1]q { name = %[1]q urls = ["http://host/%[1]s/path3", "http://host/%[1]s/path4"] profiles = [inext_appsec_gateway_profile.%[7]s.id] - trusted_sources = [inext_trusted_sources.%[8]s.id] upstream_url = "some url 10" practice { main_mode = "Prevent" @@ -596,7 +591,6 @@ resource "inext_web_app_asset" %[1]q { } id = inext_web_app_practice.%[4]s.id triggers = [inext_log_trigger.%[9]s.id] - exceptions = [inext_exceptions.%[10]s.id] } proxy_setting { diff --git a/internal/resources/tests/web-app-practice_test.go b/internal/resources/tests/web-app-practice_test.go index 99f27f9..dfd55fe 100644 --- a/internal/resources/tests/web-app-practice_test.go +++ b/internal/resources/tests/web-app-practice_test.go @@ -248,7 +248,7 @@ func webAppPracticeBasicConfig(name string) string { resource "inext_web_app_practice" %[1]q { name = %[1]q web_attacks { - minimum_severity = "High + minimum_severity = "High" advanced_setting { max_object_depth = 40 body_size = 1000000