-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy path_features.py
More file actions
2811 lines (2123 loc) · 95.5 KB
/
_features.py
File metadata and controls
2811 lines (2123 loc) · 95.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
from enum import StrEnum
import pytest
NOT_REPORTED_ID = -1
class _Owner(StrEnum):
# the value of each member must be a valid github team
agent_apm = "@DataDog/agent-apm"
apm_serverless = "@DataDog/apm-serverless"
asm = "@DataDog/asm-libraries" # application security monitoring
auto_instrumentation = "@DataDog/unified-instrumentation-setup"
data_pipeline = "@DataDog/libdatadog-apm" # or agent-apm? TODO @ekump
debugger = "@DataDog/debugger"
djm = "@DataDog/data-jobs-monitoring"
dsm = "@DataDog/data-streams-monitoring"
idm = "@DataDog/apm-idm"
injection_platform = "@DataDog/injection-platform"
language_platform = "@DataDog/apm-lang-platform"
ml_observability = "@DataDog/ml-observability"
profiler = "@DataDog/profiling" # it does not exists
remote_config = "@DataDog/remote-config"
rp = "@DataDog/apm-reliability-and-performance" # reliability & performance
sdk_capabilities = "@DataDog/apm-sdk-capabilities"
ffe = "@DataDog/feature-flagging-and-experimentation-sdk" # Feature Flagging & Experimentation
def _mark_test_object(test_object, feature_id: int, owner: _Owner):
"""Mark the test object with a feature ID"""
pytest.mark.features(feature_id=feature_id)(test_object)
pytest.mark.owners(owner=owner.value)(test_object)
return test_object
class _Features:
"""See https://github.com/DataDog/system-tests/blob/main/docs/edit/features.md
Data source is the feature parity dashboard https://feature-parity.us1.prod.dog/
"""
# this design seems clumsy, a basic python model would have been simpler?
# the reason behind this is only to have the fancy docstring in IDE
# with the link to the feature parity dashboard
@staticmethod
def not_reported(test_object):
"""Use this fake feature to not report a test to feature parity dashboard"""
return _mark_test_object(test_object, feature_id=NOT_REPORTED_ID, owner=_Owner.rp)
@staticmethod
def trace_global_tags(test_object):
"""Add Metadata globally to all spans (DD_TAGS)
https://feature-parity.us1.prod.dog/#/?feature=1
"""
return _mark_test_object(
test_object, feature_id=1, owner=_Owner.sdk_capabilities
) # tracing/configuration, tracing/data-decoration, tracing/configuration/consistency
@staticmethod
def trace_agent_connection(test_object):
"""Change Agent hostname (DD_AGENT_HOST)
https://feature-parity.us1.prod.dog/#/?feature=2
"""
return _mark_test_object(test_object, feature_id=2, owner=_Owner.sdk_capabilities)
# @staticmethod
# def add_metadata_to_spans_via_tags_dd_trace_analytics_enabled(test_object):
# """Add metadata to spans via tags (DD_TRACE_ANALYTICS_ENABLED)
# https://feature-parity.us1.prod.dog/#/?feature=3
# """
# return _mark_test_object(
# test_object, feature_id=3, owner=_Owner.tracer
# ) # tracing/configuration, tracing/data-decoration
@staticmethod
def trace_search_automatic_config(test_object):
"""Trace Search - automatic config
https://feature-parity.us1.prod.dog/#/?feature=4
"""
return _mark_test_object(test_object, feature_id=4, owner=_Owner.sdk_capabilities)
@staticmethod
def log_injection(test_object):
"""Trace-ID injection into Logs
https://feature-parity.us1.prod.dog/#/?feature=5
"""
return _mark_test_object(test_object, feature_id=5, owner=_Owner.sdk_capabilities)
@staticmethod
def unix_domain_sockets_support_for_traces(test_object):
"""Unix Domain Sockets support for traces
https://feature-parity.us1.prod.dog/#/?feature=6
"""
return _mark_test_object(test_object, feature_id=6, owner=_Owner.data_pipeline)
@staticmethod
def unix_domain_sockets_automatic_detection(test_object):
"""Unix Domain Sockets automatic detection
https://feature-parity.us1.prod.dog/#/?feature=7
"""
return _mark_test_object(test_object, feature_id=7, owner=_Owner.data_pipeline)
@staticmethod
def twl_customer_controls_ingestion_dd_trace_sampling_rules(test_object):
"""TwL - Customer Controls Ingestion (DD_TRACE_SAMPLING RULES)
https://feature-parity.us1.prod.dog/#/?feature=8
"""
return _mark_test_object(test_object, feature_id=8, owner=_Owner.sdk_capabilities)
# @staticmethod
# def synthetic_apm_http_header_span_tag_x_datadog_origin(test_object):
# """Synthetic APM (http header ▶ span tag) (x-datadog-origin))
# https://feature-parity.us1.prod.dog/#/?feature=9
# """
# return _mark_test_object(test_object, feature_id=9, owner=_Owner.tracer) # tracing/correlation
@staticmethod
def log_tracer_status_at_startup(test_object):
"""Log Tracer status at startup
https://feature-parity.us1.prod.dog/#/?feature=10
"""
return _mark_test_object(test_object, feature_id=10, owner=_Owner.language_platform)
# @staticmethod
# def fargate_14_tagging_support(test_object):
# """Fargate 1.4 Tagging Support
# https://feature-parity.us1.prod.dog/#/?feature=11
# """
# return _mark_test_object(
# test_object, feature_id=11, owner=_Owner.tracer
# ) # tracing/data-collection, tracing/correlation
# @staticmethod
# def container_tagging(test_object):
# """Container tagging
# https://feature-parity.us1.prod.dog/#/?feature=12
# """
# return _mark_test_object(
# test_object, feature_id=12, owner=_Owner.tracer
# ) # tracing/data-collection, tracing/correlation, tracing/data-decoration
@staticmethod
def b3_headers_propagation(test_object):
"""B3 Single headers injection and extraction
https://feature-parity.us1.prod.dog/#/?feature=13
"""
return _mark_test_object(test_object, feature_id=13, owner=_Owner.sdk_capabilities)
@staticmethod
def unix_domain_sockets_support_for_metrics(test_object):
"""Unix Domain Sockets support for metrics
https://feature-parity.us1.prod.dog/#/?feature=14
"""
return _mark_test_object(test_object, feature_id=14, owner=_Owner.data_pipeline)
# @staticmethod
# def support_ddmeasured(test_object):
# """Support _dd.measured
# https://feature-parity.us1.prod.dog/#/?feature=15
# """
# return _mark_test_object(test_object, feature_id=15, owner=_Owner.tracer) # tracing/apm-stats
@staticmethod
def dd_service_mapping(test_object):
"""DD_SERVICE_MAPPING
https://feature-parity.us1.prod.dog/#/?feature=16
"""
return _mark_test_object(test_object, feature_id=16, owner=_Owner.sdk_capabilities)
@staticmethod
def dogstatsd_agent_connection(test_object):
"""Datadog managed Dogstatsd client
https://feature-parity.us1.prod.dog/#/?feature=17
"""
return _mark_test_object(test_object, feature_id=17, owner=_Owner.sdk_capabilities)
@staticmethod
def http_headers_as_tags_dd_trace_header_tags(test_object):
"""HTTP Headers as Tags (DD_TRACE_HEADER_TAGS)
https://feature-parity.us1.prod.dog/#/?feature=18
"""
return _mark_test_object(
test_object, feature_id=18, owner=_Owner.sdk_capabilities
) # tracing/data-collection, tracing/configuration, tracing/data-decoration, tracing/configuration/consistency
@staticmethod
def dd_profiling_enabled(test_object):
"""DD_PROFILING_ENABLED
https://feature-parity.us1.prod.dog/#/?feature=19
"""
return _mark_test_object(test_object, feature_id=19, owner=_Owner.profiler)
# @staticmethod
# def dogstatsd_unified_service_tagging(test_object):
# """Dogstatsd unified service tagging
# https://feature-parity.us1.prod.dog/#/?feature=20
# """
# return _mark_test_object(
# test_object, feature_id=20, owner=_Owner.tracer
# ) # tracing/correlation/metrics, tracing/configuration
@staticmethod
def trace_log_exporting_for_aws_lambda(test_object):
"""Trace Log Exporting for AWS Lambda
https://feature-parity.us1.prod.dog/#/?feature=21
"""
return _mark_test_object(test_object, feature_id=21, owner=_Owner.apm_serverless)
@staticmethod
def runtime_id_in_span_metadata_for_service_entry_spans(test_object):
"""Runtime-id in span metadata for service entry spans
https://feature-parity.us1.prod.dog/#/?feature=22
"""
return _mark_test_object(test_object, feature_id=22, owner=_Owner.sdk_capabilities)
@staticmethod
def partial_flush(test_object):
"""Partial flush
https://feature-parity.us1.prod.dog/#/?feature=23
"""
return _mark_test_object(test_object, feature_id=23, owner=_Owner.data_pipeline)
@staticmethod
def partial_flush_on_by_default(test_object):
"""Partial flush on by default
https://feature-parity.us1.prod.dog/#/?feature=24
"""
return _mark_test_object(test_object, feature_id=24, owner=_Owner.data_pipeline)
@staticmethod
def automatic_trace_id_injection_into_logs(test_object):
"""Automatic Trace-id injection into Logs
https://feature-parity.us1.prod.dog/#/?feature=25
"""
return _mark_test_object(test_object, feature_id=25, owner=_Owner.sdk_capabilities)
# @staticmethod
# def mapping_http_status_codes_to_errors(test_object):
# """Mapping HTTP status codes to errors
# https://feature-parity.us1.prod.dog/#/?feature=26
# """
# return _mark_test_object(test_object, feature_id=26, owner=_Owner.tracer) # tracing/data-decoration
# @staticmethod
# def log_pipelines_updated_for_log_injection(test_object):
# """Log Pipelines updated for log injection
# https://feature-parity.us1.prod.dog/#/?feature=27
# """
# return _mark_test_object(test_object, feature_id=27, owner=_Owner.tracer) # tracing/correlation/logs
# @staticmethod
# def top_level_detection_in_tracer(test_object):
# """Top-level detection in tracer
# https://feature-parity.us1.prod.dog/#/?feature=29
# """
# return _mark_test_object(test_object, feature_id=29, owner=_Owner.tracer)
@staticmethod
def use_sampling_priorities_2_1_in_rules_based_sampler(test_object):
"""Use sampling priorities +2/-1 in rules-based sampler
https://feature-parity.us1.prod.dog/#/?feature=30
"""
return _mark_test_object(test_object, feature_id=30, owner=_Owner.sdk_capabilities)
@staticmethod
def trace_annotation(test_object):
"""Trace Annotation
https://feature-parity.us1.prod.dog/#/?feature=31
"""
return _mark_test_object(test_object, feature_id=31, owner=_Owner.sdk_capabilities)
@staticmethod
def runtime_metrics(test_object):
"""Runtime metrics
https://feature-parity.us1.prod.dog/#/?feature=32
"""
return _mark_test_object(test_object, feature_id=32, owner=_Owner.sdk_capabilities)
@staticmethod
def logs_throttling(test_object):
"""Logs Throttling
https://feature-parity.us1.prod.dog/#/?feature=33
"""
return _mark_test_object(test_object, feature_id=33, owner=_Owner.language_platform)
# @staticmethod
# def post_processing_traces(test_object):
# """Post-Processing Traces
# https://feature-parity.us1.prod.dog/#/?feature=34
# """
# return _mark_test_object(test_object, feature_id=34, owner=_Owner.tracer) # tracing/data-decoration
@staticmethod
def tracer_health_metrics(test_object):
"""Tracer Health Metrics
https://feature-parity.us1.prod.dog/#/?feature=36
"""
return _mark_test_object(test_object, feature_id=36, owner=_Owner.language_platform)
@staticmethod
def kafka_tracing(test_object):
"""Kafka Tracing
https://feature-parity.us1.prod.dog/#/?feature=37
"""
return _mark_test_object(test_object, feature_id=37, owner=_Owner.idm)
# @staticmethod
# def numeric_tags_for_trace_search_analytics_step_1(test_object):
# """Numeric tags for Trace Search/Analytics (step 1)
# https://feature-parity.us1.prod.dog/#/?feature=38
# """
# return _mark_test_object(test_object, feature_id=38, owner=_Owner.tracer)
@staticmethod
def grpc_integration_tags(test_object):
"""GRPC integration tags
https://feature-parity.us1.prod.dog/#/?feature=39
"""
return _mark_test_object(test_object, feature_id=39, owner=_Owner.idm)
@staticmethod
def dd_trace_config_file(test_object):
"""DD_TRACE_CONFIG_FILE
https://feature-parity.us1.prod.dog/#/?feature=40
"""
return _mark_test_object(test_object, feature_id=40, owner=_Owner.sdk_capabilities)
@staticmethod
def dd_trace_methods(test_object):
"""DD_TRACE_METHODS
https://feature-parity.us1.prod.dog/#/?feature=41
"""
return _mark_test_object(test_object, feature_id=41, owner=_Owner.sdk_capabilities)
@staticmethod
def structured_log_injection(test_object):
"""DD_LOGS_INJECTION
https://feature-parity.us1.prod.dog/#/?feature=5
"""
return _mark_test_object(test_object, feature_id=5, owner=_Owner.sdk_capabilities)
@staticmethod
def report_tracer_drop_rate_ddtracer_kr(test_object):
"""Report tracer drop rate (_dd.tracer_kr)
https://feature-parity.us1.prod.dog/#/?feature=43
"""
return _mark_test_object(test_object, feature_id=43, owner=_Owner.sdk_capabilities)
@staticmethod
def obfuscation_of_pii_from_web_span_resource_names(test_object):
"""Obfuscation of PII from web span resource names
https://feature-parity.us1.prod.dog/#/?feature=44
"""
return _mark_test_object(test_object, feature_id=44, owner=_Owner.idm)
@staticmethod
def windows_named_pipe_support_for_traces(test_object):
"""Windows named pipe support for traces
https://feature-parity.us1.prod.dog/#/?feature=45
"""
return _mark_test_object(test_object, feature_id=45, owner=_Owner.data_pipeline)
# @staticmethod
# def setting_to_rename_service_by_tag_split_by_tag(test_object):
# """Setting to rename service by tag (split-by-tag)
# https://feature-parity.us1.prod.dog/#/?feature=46
# """
# return _mark_test_object(test_object, feature_id=46, owner=_Owner.tracer)
# @staticmethod
# def collect_application_version_information(test_object):
# """Collect application version information
# https://feature-parity.us1.prod.dog/#/?feature=47
# """
# return _mark_test_object(test_object, feature_id=47, owner=_Owner.tracer) # tracing/data-collection
@staticmethod
def ensure_that_sampling_is_consistent_across_languages(test_object):
"""Ensure that sampling is consistent across languages
https://feature-parity.us1.prod.dog/#/?feature=48
"""
return _mark_test_object(test_object, feature_id=48, owner=_Owner.sdk_capabilities)
@staticmethod
def user_troubleshooting_tool(test_object):
"""User Troubleshooting Tool
https://feature-parity.us1.prod.dog/#/?feature=49
"""
return _mark_test_object(test_object, feature_id=49, owner=_Owner.language_platform)
@staticmethod
def option_to_remap_apm_error_response_severity_eg_404_to_error(test_object):
"""Option to remap APM error response severity (e.g. 404 to error)
https://feature-parity.us1.prod.dog/#/?feature=50
"""
return _mark_test_object(test_object, feature_id=50, owner=_Owner.idm) # tracing/data-decoration
@staticmethod
def trace_query_string_obfuscation(test_object):
"""Obfuscation of http.url span tag
https://feature-parity.us1.prod.dog/#/?feature=51
"""
return _mark_test_object(
test_object, feature_id=51, owner=_Owner.idm
) # tracing/configuration, tracing/data-decoration, tracing/configuration/consistency
# @staticmethod
# def dd_trace_report_hostname(test_object):
# """DD_TRACE_REPORT_HOSTNAME
# https://feature-parity.us1.prod.dog/#/?feature=52
# """
# return _mark_test_object(
# test_object, feature_id=52, owner=_Owner.tracer
# ) # tracing/data-collection, tracing/correlation, tracing/configuration
@staticmethod
def windows_named_pipe_support_for_metrics(test_object):
"""Windows named pipe support for metrics
https://feature-parity.us1.prod.dog/#/?feature=53
"""
return _mark_test_object(test_object, feature_id=53, owner=_Owner.data_pipeline)
@staticmethod
def aws_sdk_integration_tags(test_object):
"""AWS SDK Integration Tags
https://feature-parity.us1.prod.dog/#/?feature=55
"""
return _mark_test_object(test_object, feature_id=55, owner=_Owner.idm) # tracing/data-collection
# @staticmethod
# def dont_set_username_tag_because_its_pii(test_object):
# """Don't set username tag because it's PII
# https://feature-parity.us1.prod.dog/#/?feature=56
# """
# return _mark_test_object(test_object, feature_id=56, owner=_Owner.tracer) # tracing/data-collection
# @staticmethod
# def trace_client_app_tagging(test_object):
# """Trace Client App Tagging
# https://feature-parity.us1.prod.dog/#/?feature=57
# """
# return _mark_test_object(test_object, feature_id=57, owner=_Owner.tracer)
# @staticmethod
# def client_split_by_domain_service_host(test_object):
# """Client Split by domain/service/host
# https://feature-parity.us1.prod.dog/#/?feature=58
# """
# return _mark_test_object(test_object, feature_id=58, owner=_Owner.tracer)
# @staticmethod
# def horizontal_propagation_of_x_datadog_tags_between_services(test_object):
# """Horizontal propagation of `x-datadog-tags` between services
# https://feature-parity.us1.prod.dog/#/?feature=59
# """
# return _mark_test_object(test_object, feature_id=59, owner=_Owner.tracer)
@staticmethod
def vertical_propagation_of_x_datadog_tags_onto_each_chunk_root_span(test_object):
"""Vertical propagation of `x-datadog-tags` onto each chunk root span.
https://feature-parity.us1.prod.dog/#/?feature=60
"""
return _mark_test_object(test_object, feature_id=60, owner=_Owner.data_pipeline)
@staticmethod
def creation_and_propagation_of_ddpdm(test_object):
"""Creation and propagation of `_dd.p.dm`
https://feature-parity.us1.prod.dog/#/?feature=61
"""
return _mark_test_object(test_object, feature_id=61, owner=_Owner.sdk_capabilities)
@staticmethod
def client_side_stats_supported(test_object):
"""Client side stats supported
https://feature-parity.us1.prod.dog/#/?feature=62
"""
return _mark_test_object(test_object, feature_id=62, owner=_Owner.data_pipeline)
# @staticmethod
# def client_side_stats_on_by_default(test_object):
# """Client side stats on by default
# https://feature-parity.us1.prod.dog/#/?feature=63
# """
# return _mark_test_object(test_object, feature_id=63) # tracing/apm-stats/stats-computation
@staticmethod
def instrumentation_telemetry_enabled_by_default(test_object):
"""Instrumentation Telemetry enabled by default
https://feature-parity.us1.prod.dog/#/?feature=64
"""
return _mark_test_object(test_object, feature_id=64, owner=_Owner.sdk_capabilities)
@staticmethod
def dd_instrumentation_telemetry_enabled_supported(test_object):
"""DD_INSTRUMENTATION_TELEMETRY_ENABLED supported
https://feature-parity.us1.prod.dog/#/?feature=65
"""
return _mark_test_object(test_object, feature_id=65, owner=_Owner.sdk_capabilities)
@staticmethod
def app_environment_collected(test_object):
"""App environment collected
https://feature-parity.us1.prod.dog/#/?feature=66
"""
return _mark_test_object(test_object, feature_id=66, owner=_Owner.sdk_capabilities)
@staticmethod
def dependencies_collected(test_object):
"""Dependencies collected
https://feature-parity.us1.prod.dog/#/?feature=67
"""
return _mark_test_object(test_object, feature_id=67, owner=_Owner.sdk_capabilities)
@staticmethod
def integrations_enabled_collected(test_object):
"""Integrations enabled collected
https://feature-parity.us1.prod.dog/#/?feature=68
"""
return _mark_test_object(test_object, feature_id=68, owner=_Owner.sdk_capabilities)
@staticmethod
def telemetry_configurations_collected(test_object):
"""Tracer Configurations collected
https://feature-parity.us1.prod.dog/#/?feature=69
"""
return _mark_test_object(test_object, feature_id=69, owner=_Owner.sdk_capabilities)
@staticmethod
def telemetry_heart_beat_collected(test_object):
"""Heart beat collected
https://feature-parity.us1.prod.dog/#/?feature=70
"""
return _mark_test_object(test_object, feature_id=70, owner=_Owner.sdk_capabilities)
@staticmethod
def app_close_collected(test_object):
"""App close collected
https://feature-parity.us1.prod.dog/#/?feature=71
"""
return _mark_test_object(test_object, feature_id=71, owner=_Owner.sdk_capabilities)
@staticmethod
def redacted_error_logs_collected(test_object):
"""Redacted Error Logs collected
https://feature-parity.us1.prod.dog/#/?feature=72
"""
return _mark_test_object(test_object, feature_id=72, owner=_Owner.language_platform)
@staticmethod
def telemetry_metrics_collected(test_object):
"""Metrics collected
https://feature-parity.us1.prod.dog/#/?feature=73
"""
return _mark_test_object(test_object, feature_id=73, owner=_Owner.sdk_capabilities) # library/telemetry
@staticmethod
def telemetry_api_v2_implemented(test_object):
"""API V2 Implemented
https://feature-parity.us1.prod.dog/#/?feature=74
"""
return _mark_test_object(test_object, feature_id=74, owner=_Owner.sdk_capabilities)
@staticmethod
def app_client_configuration_change_event(test_object):
"""app-client-configuration-change event
https://feature-parity.us1.prod.dog/#/?feature=75
"""
return _mark_test_object(test_object, feature_id=75, owner=_Owner.sdk_capabilities)
@staticmethod
def app_product_change_event(test_object):
"""app-product-change event
https://feature-parity.us1.prod.dog/#/?feature=76
"""
return _mark_test_object(test_object, feature_id=76, owner=_Owner.sdk_capabilities)
@staticmethod
def app_extended_heartbeat_event(test_object):
"""app-extended-heartbeat event
https://feature-parity.us1.prod.dog/#/?feature=77
"""
return _mark_test_object(test_object, feature_id=77, owner=_Owner.sdk_capabilities)
@staticmethod
def telemetry_message_batch(test_object):
"""message-batch
https://feature-parity.us1.prod.dog/#/?feature=78
"""
return _mark_test_object(test_object, feature_id=78, owner=_Owner.sdk_capabilities) # library/telemetry
@staticmethod
def telemetry_app_started_event(test_object):
"""app-started changes
https://feature-parity.us1.prod.dog/#/?feature=79
"""
return _mark_test_object(test_object, feature_id=79, owner=_Owner.sdk_capabilities)
@staticmethod
def dd_telemetry_dependency_collection_enabled_supported(test_object):
"""DD_TELEMETRY_DEPENDENCY_COLLECTION_ENABLED supported
https://feature-parity.us1.prod.dog/#/?feature=80
"""
return _mark_test_object(test_object, feature_id=80, owner=_Owner.sdk_capabilities)
@staticmethod
def additional_http_headers_supported(test_object):
"""Additional HTTP Headers supported
https://feature-parity.us1.prod.dog/#/?feature=81
"""
return _mark_test_object(test_object, feature_id=81, owner=_Owner.idm)
@staticmethod
def remote_config_object_supported(test_object):
"""remote-config object supported
https://feature-parity.us1.prod.dog/#/?feature=82
"""
return _mark_test_object(test_object, feature_id=82, owner=_Owner.sdk_capabilities)
@staticmethod
def w3c_headers_injection_and_extraction(test_object):
"""W3C headers injection and extraction
https://feature-parity.us1.prod.dog/#/?feature=83
"""
return _mark_test_object(test_object, feature_id=83, owner=_Owner.sdk_capabilities)
@staticmethod
def otel_api(test_object):
"""OTel API
https://feature-parity.us1.prod.dog/#/?feature=84
"""
return _mark_test_object(test_object, feature_id=84, owner=_Owner.sdk_capabilities)
@staticmethod
def trace_id_128_bit_generation_propagation(test_object):
"""128-bit trace id generation + propagation
https://feature-parity.us1.prod.dog/#/?feature=85
"""
return _mark_test_object(test_object, feature_id=85, owner=_Owner.sdk_capabilities)
@staticmethod
def span_events(test_object):
"""Span Events
https://feature-parity.us1.prod.dog/#/?feature=86
"""
return _mark_test_object(test_object, feature_id=86, owner=_Owner.sdk_capabilities)
@staticmethod
def span_links(test_object):
"""Span Links
https://feature-parity.us1.prod.dog/#/?feature=87
"""
return _mark_test_object(
test_object, feature_id=87, owner=_Owner.sdk_capabilities
) # tracing/otel/api, apm/dbm, tracing/data-decoration
@staticmethod
def trace_client_ip_header(test_object):
"""Client IP adress collection (DD_TRACE_CLIENT_IP_ENABLED)
https://feature-parity.us1.prod.dog/#/?feature=88
"""
return _mark_test_object(test_object, feature_id=88, owner=_Owner.asm)
@staticmethod
def host_auto_instrumentation(test_object):
"""Host auto-instrumentation
https://feature-parity.us1.prod.dog/#/?feature=89
"""
return _mark_test_object(test_object, feature_id=89, owner=_Owner.auto_instrumentation)
@staticmethod
def container_auto_instrumentation(test_object):
"""Container auto-instrumentation
https://feature-parity.us1.prod.dog/#/?feature=90
"""
return _mark_test_object(test_object, feature_id=90, owner=_Owner.auto_instrumentation)
# @staticmethod
# def collect_http_post_data_and_headers(test_object):
# """Collect HTTP Post Data and Headers
# https://feature-parity.us1.prod.dog/#/?feature=94
# """
# return _mark_test_object(test_object, feature_id=94, owner=_Owner.tracer) # tracing/data-collection
@staticmethod
def weak_hash_vulnerability_detection(test_object):
"""Weak hash vulnerability detection
https://feature-parity.us1.prod.dog/#/?feature=96
"""
return _mark_test_object(test_object, feature_id=96, owner=_Owner.asm)
@staticmethod
def db_integrations(test_object):
"""DB Integrations
https://feature-parity.us1.prod.dog/#/?feature=98
"""
return _mark_test_object(test_object, feature_id=98, owner=_Owner.idm)
@staticmethod
def weak_cipher_detection(test_object):
"""Weak cipher detection
https://feature-parity.us1.prod.dog/#/?feature=100
"""
return _mark_test_object(test_object, feature_id=100, owner=_Owner.asm)
@staticmethod
def threats_alpha_preview(test_object):
"""Threats Alpha Preview
https://feature-parity.us1.prod.dog/#/?feature=110
"""
return _mark_test_object(test_object, feature_id=110, owner=_Owner.asm)
@staticmethod
def procedure_to_debug_install(test_object):
"""Procedure to debug install
https://feature-parity.us1.prod.dog/#/?feature=113
"""
return _mark_test_object(test_object, feature_id=113, owner=_Owner.asm)
@staticmethod
def security_events_metadata(test_object):
"""Security Events Metadata
https://feature-parity.us1.prod.dog/#/?feature=124
"""
return _mark_test_object(test_object, feature_id=124, owner=_Owner.asm)
@staticmethod
def appsec_rate_limiter(test_object):
"""Rate limiter
https://feature-parity.us1.prod.dog/#/?feature=134
"""
return _mark_test_object(test_object, feature_id=134, owner=_Owner.asm)
@staticmethod
def support_in_app_waf_metrics_report(test_object):
"""Support In-App WAF metrics report
https://feature-parity.us1.prod.dog/#/?feature=140
"""
return _mark_test_object(test_object, feature_id=140, owner=_Owner.asm)
@staticmethod
def user_monitoring(test_object):
"""User Monitoring
https://feature-parity.us1.prod.dog/#/?feature=141
"""
return _mark_test_object(test_object, feature_id=141, owner=_Owner.asm)
@staticmethod
def event_tracking_sdk_v2(test_object):
"""Event tracking SDK v2
https://feature-parity.us1.prod.dog/#/?feature=372
"""
return _mark_test_object(test_object, feature_id=372, owner=_Owner.asm)
@staticmethod
def appsec_service_activation_origin_metric(test_object):
"""Appsec service activation origin metric
https://feature-parity.us1.prod.dog/#/?feature=471
"""
return _mark_test_object(test_object, feature_id=471, owner=_Owner.asm)
@staticmethod
def serialize_waf_rules_without_limiting_their_sizes(test_object):
"""Serialize WAF rules without limiting their sizes
https://feature-parity.us1.prod.dog/#/?feature=142
"""
return _mark_test_object(test_object, feature_id=142, owner=_Owner.asm)
@staticmethod
def threats_configuration(test_object):
"""Threats Configuration
https://feature-parity.us1.prod.dog/#/?feature=143
"""
return _mark_test_object(test_object, feature_id=143, owner=_Owner.asm)
@staticmethod
def sensitive_data_obfuscation(test_object):
"""Sensitive Data Obfuscation
https://feature-parity.us1.prod.dog/#/?feature=144
"""
return _mark_test_object(test_object, feature_id=144, owner=_Owner.asm)
@staticmethod
def propagation_of_user_id_rfc(test_object):
"""Propagation of user Id RFC
https://feature-parity.us1.prod.dog/#/?feature=146
"""
return _mark_test_object(test_object, feature_id=146, owner=_Owner.asm)
@staticmethod
def appsec_onboarding(test_object):
"""Onboarding
https://feature-parity.us1.prod.dog/#/?feature=154
"""
return _mark_test_object(test_object, feature_id=154, owner=_Owner.asm)
@staticmethod
def changing_rules_using_rc(test_object):
"""Changing rules using RC
https://feature-parity.us1.prod.dog/#/?feature=157
"""
return _mark_test_object(test_object, feature_id=157, owner=_Owner.asm)
@staticmethod
def appsec_shell_execution_tracing(test_object):
"""Shell execution tracing
https://feature-parity.us1.prod.dog/#/?feature=158
"""
return _mark_test_object(test_object, feature_id=158, owner=_Owner.asm)
@staticmethod
def custom_business_logic_events(test_object):
"""Custom Business Logic Events
https://feature-parity.us1.prod.dog/#/?feature=161
"""
return _mark_test_object(test_object, feature_id=161, owner=_Owner.asm)
@staticmethod
def graphql_threats_detection(test_object):
"""GraphQL Threats Detection
https://feature-parity.us1.prod.dog/#/?feature=162
"""
return _mark_test_object(test_object, feature_id=162, owner=_Owner.asm)
@staticmethod
def iast_sink_sql_injection(test_object):
"""IAST Sink: SQL Injection
https://feature-parity.us1.prod.dog/#/?feature=165
"""
return _mark_test_object(test_object, feature_id=165, owner=_Owner.asm)
@staticmethod
def iast_sink_code_injection(test_object):
"""IAST Sink: Code Injection
https://feature-parity.us1.prod.dog/#/?feature=315
"""
return _mark_test_object(test_object, feature_id=315, owner=_Owner.asm)
@staticmethod
def iast_sink_command_injection(test_object):
"""IAST Sink: Command Injection
https://feature-parity.us1.prod.dog/#/?feature=166
"""
return _mark_test_object(test_object, feature_id=166, owner=_Owner.asm)
@staticmethod
def iast_sink_path_traversal(test_object):
"""IAST Sink: Path Traversal
https://feature-parity.us1.prod.dog/#/?feature=167
"""
return _mark_test_object(test_object, feature_id=167, owner=_Owner.asm)
@staticmethod
def iast_sink_ldap_injection(test_object):
"""IAST Sink: LDAP Injection
https://feature-parity.us1.prod.dog/#/?feature=168
"""
return _mark_test_object(test_object, feature_id=168, owner=_Owner.asm)
@staticmethod
def iast_sink_header_injection(test_object):
"""IAST Sink: Header Injection
https://feature-parity.us1.prod.dog/#/?feature=203
"""
return _mark_test_object(test_object, feature_id=203, owner=_Owner.asm)
@staticmethod
def iast_sink_template_injection(test_object):
"""IAST Sink: Template Injection
https://feature-parity.us1.prod.dog/#/?feature=330
"""
return _mark_test_object(test_object, feature_id=330, owner=_Owner.asm)
@staticmethod
def iast_source_request_parameter_value(test_object):
"""IAST Source: Request Parameter Value
https://feature-parity.us1.prod.dog/#/?feature=169
"""
return _mark_test_object(test_object, feature_id=169, owner=_Owner.asm)
@staticmethod
def iast_source_request_parameter_name(test_object):