Skip to content

Commit

Permalink
check tests
Browse files Browse the repository at this point in the history
  • Loading branch information
chkp-omerma committed Nov 6, 2024
1 parent 4bb94cb commit 2eef2d7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
6 changes: 0 additions & 6 deletions internal/resources/tests/web-app-asset_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
Expand Down Expand Up @@ -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"
Expand All @@ -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 {
Expand Down Expand Up @@ -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"
Expand All @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion internal/resources/tests/web-app-practice_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2eef2d7

Please sign in to comment.