Skip to content

Commit fb8954f

Browse files
committed
Separate api sec standalone scenario from asm standalone
1 parent baa691b commit fb8954f

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

tests/appsec/test_asm_standalone.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -862,12 +862,17 @@ def propagated_tag_value(self):
862862

863863

864864
@rfc("https://docs.google.com/document/d/18JZdOS5fmnYomRn6OGer0ViS1I6zzT6xl5HMtjDtFn4/edit")
865-
@features.appsec_standalone
866865
@features.api_security_configuration
867866
@scenarios.appsec_standalone_api_security
868-
class Test_APISecurityStandalone(Test_AppSecStandalone_UpstreamPropagation_V2):
867+
class Test_APISecurityStandalone(BaseAppSecStandaloneUpstreamPropagation):
869868
"""Test API Security schemas are retained in ASM Standalone mode regardless of sampling"""
870869

870+
def propagated_tag(self):
871+
return "_dd.p.ts"
872+
873+
def propagated_tag_value(self):
874+
return "02"
875+
871876
@staticmethod
872877
def get_schema(request, address) -> list | None:
873878
"""Extract API security schema from span metadata"""

0 commit comments

Comments
 (0)