File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
tests/appsec/api_security
utils/_context/_scenarios Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ def setup_scenario(self):
121121 )
122122 rc_state .set_config (
123123 "datadog/2/ASM_FEATURES/ASM_FEATURES-base/config" ,
124- {"asm" : {"enabled" : True }, "api_security" : { "request_sample_rate" : 1.0 } },
124+ {"asm" : {"enabled" : True }},
125125 )
126126
127127 BaseAppsecApiSecurityRcTest .states = rc_state .apply ()
Original file line number Diff line number Diff line change @@ -272,7 +272,12 @@ class _Scenarios:
272272
273273 appsec_api_security_rc = EndToEndScenario (
274274 "APPSEC_API_SECURITY_RC" ,
275- weblog_env = {"DD_EXPERIMENTAL_API_SECURITY_ENABLED" : "true" , "DD_API_SECURITY_SAMPLE_DELAY" : "0.0" },
275+ weblog_env = {
276+ "DD_EXPERIMENTAL_API_SECURITY_ENABLED" : "true" ,
277+ "DD_API_SECURITY_ENABLED" : "true" ,
278+ "DD_API_SECURITY_REQUEST_SAMPLE_RATE" : "1.0" ,
279+ "DD_API_SECURITY_SAMPLE_DELAY" : "0.0" ,
280+ },
276281 rc_api_enabled = True ,
277282 doc = """
278283 Scenario to test API Security Remote config
You can’t perform that action at this time.
0 commit comments