Skip to content
Draft
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion tests/cws/test_thread_context_sharing.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from .utils import CWS_EVENTS_PATH, cws_event_mentioning, cws_self_test_succeeded


@features.not_reported
@features.thread_context_sharing
@scenarios.thread_context_sharing
class Test_ThreadContextSharing:
"""A tracer that shares the trace_id/span_id of the span active on a thread with system-probe
Expand Down
12 changes: 12 additions & 0 deletions utils/_features.py
Original file line number Diff line number Diff line change
Expand Up @@ -3653,5 +3653,17 @@ def otel_traces_sampler_arg(test_object):
"""
return _mark_test_object(test_object, feature_id=642, owner=_Owner.sdk_capabilities)

@staticmethod
def thread_context_sharing(test_object):
"""Thread context sharing with system-probe (CWS trace correlation)

Workload Protection (the security agent) reads the trace and span IDs
for events triggered by a traced application from the application's published
thread context record (OTEP 4947).

https://feature-parity.us1.prod.dog/#/?feature=647
"""
return _mark_test_object(test_object, feature_id=647, owner=_Owner.asm)


features = _Features()
Loading