Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions tests/appsec/test_asm_standalone.py
Original file line number Diff line number Diff line change
Expand Up @@ -862,12 +862,17 @@ def propagated_tag_value(self):


@rfc("https://docs.google.com/document/d/18JZdOS5fmnYomRn6OGer0ViS1I6zzT6xl5HMtjDtFn4/edit")
@features.appsec_standalone
@features.api_security_configuration
@scenarios.appsec_standalone_api_security
class Test_APISecurityStandalone(Test_AppSecStandalone_UpstreamPropagation_V2):
class Test_APISecurityStandalone(BaseAppSecStandaloneUpstreamPropagation):
"""Test API Security schemas are retained in ASM Standalone mode regardless of sampling"""

def propagated_tag(self):
return "_dd.p.ts"

def propagated_tag_value(self):
return "02"

@staticmethod
def get_schema(request, address) -> list | None:
"""Extract API security schema from span metadata"""
Expand Down