Skip to content

Commit

Permalink
Merge branch 'main' into estringana/test-asm-standalone-not-enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
estringana authored Jan 21, 2025
2 parents aaedf18 + 618cf56 commit 4dacb21
Show file tree
Hide file tree
Showing 69 changed files with 1,400 additions and 535 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/run-end-to-end.yml
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,9 @@ jobs:
- name: Run LIBRARY_CONF_CUSTOM_HEADER_TAGS_INVALID scenario
if: always() && steps.build.outcome == 'success' && contains(inputs.scenarios, '"LIBRARY_CONF_CUSTOM_HEADER_TAGS_INVALID"')
run: ./run.sh LIBRARY_CONF_CUSTOM_HEADER_TAGS_INVALID
- name: Run RUNTIME_METRICS_ENABLED scenario
if: always() && steps.build.outcome == 'success' && contains(inputs.scenarios, '"RUNTIME_METRICS_ENABLED"')
run: ./run.sh RUNTIME_METRICS_ENABLED
- name: Run TRACING_CONFIG_NONDEFAULT scenario
if: always() && steps.build.outcome == 'success' && contains(inputs.scenarios, '"TRACING_CONFIG_NONDEFAULT"')
run: ./run.sh TRACING_CONFIG_NONDEFAULT
Expand Down
15 changes: 10 additions & 5 deletions .gitlab/k8s_gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,11 @@ configure_env:
--with-decryption --query "Parameter.Value" --out text)
- echo "FP_IMPORT_URL=${FP_IMPORT_URL}" >> fpd.env
- echo "FP_API_KEY=${FP_API_KEY}" >> fpd.env
- export DD_API_KEY_ONBOARDING=$(aws ssm get-parameter --region us-east-1 --name ci.${CI_PROJECT_NAME}.dd-api-key-onboarding --with-decryption --query "Parameter.Value" --out text)
- export DD_APP_KEY_ONBOARDING=$(aws ssm get-parameter --region us-east-1 --name ci.${CI_PROJECT_NAME}.dd-app-key-onboarding --with-decryption --query "Parameter.Value" --out text)
- echo "DD_API_KEY_ONBOARDING=${DD_API_KEY_ONBOARDING}" >> fpd.env
- echo "DD_APP_KEY_ONBOARDING=${DD_APP_KEY_ONBOARDING}" >> fpd.env

artifacts:
reports:
dotenv: fpd.env
Expand All @@ -86,7 +91,7 @@ k8s_java:
K8S_CLUSTER_VERSION: ['7.57.0', '7.59.0']
- K8S_WEBLOG: [dd-lib-java-init-test-app]
K8S_WEBLOG_IMG: [ghcr.io/datadog/system-tests/dd-lib-java-init-test-app:latest]
K8S_SCENARIO: [K8S_LIB_INJECTION, K8S_LIB_INJECTION_UDS, K8S_LIB_INJECTION_NO_AC, K8S_LIB_INJECTION_NO_AC_UDS, K8S_LIB_INJECTION_PROFILING_DISABLED, K8S_LIB_INJECTION_PROFILING_ENABLED, K8S_LIB_INJECTION_PROFILING_OVERRIDE]
K8S_SCENARIO: [K8S_LIB_INJECTION, K8S_LIB_INJECTION_UDS, K8S_LIB_INJECTION_NO_AC, K8S_LIB_INJECTION_NO_AC_UDS, K8S_LIB_INJECTION_PROFILING_DISABLED, K8S_LIB_INJECTION_PROFILING_ENABLED, K8S_LIB_INJECTION_PROFILING_OVERRIDE, K8S_LIB_INJECTION_OPERATOR]
K8S_LIB_INIT_IMG: ["gcr.io/datadoghq/dd-lib-java-init:latest", "ghcr.io/datadog/dd-trace-java/dd-lib-java-init:latest_snapshot"]
K8S_CLUSTER_VERSION: ['7.56.2', '7.57.0', '7.59.0']

Expand All @@ -98,7 +103,7 @@ k8s_dotnet:
matrix:
- K8S_WEBLOG: [dd-lib-dotnet-init-test-app]
K8S_WEBLOG_IMG: [ghcr.io/datadog/system-tests/dd-lib-dotnet-init-test-app:latest]
K8S_SCENARIO: [K8S_LIB_INJECTION, K8S_LIB_INJECTION_UDS, K8S_LIB_INJECTION_NO_AC, K8S_LIB_INJECTION_NO_AC_UDS, K8S_LIB_INJECTION_PROFILING_DISABLED, K8S_LIB_INJECTION_PROFILING_ENABLED, K8S_LIB_INJECTION_PROFILING_OVERRIDE]
K8S_SCENARIO: [K8S_LIB_INJECTION, K8S_LIB_INJECTION_UDS, K8S_LIB_INJECTION_NO_AC, K8S_LIB_INJECTION_NO_AC_UDS, K8S_LIB_INJECTION_PROFILING_DISABLED, K8S_LIB_INJECTION_PROFILING_ENABLED, K8S_LIB_INJECTION_PROFILING_OVERRIDE, K8S_LIB_INJECTION_OPERATOR]
K8S_LIB_INIT_IMG: ["gcr.io/datadoghq/dd-lib-dotnet-init:latest", "ghcr.io/datadog/dd-trace-dotnet/dd-lib-dotnet-init:latest_snapshot"]
K8S_CLUSTER_VERSION: ['7.56.2', '7.57.0', '7.59.0']

Expand All @@ -110,7 +115,7 @@ k8s_nodejs:
matrix:
- K8S_WEBLOG: [sample-app]
K8S_WEBLOG_IMG: [ghcr.io/datadog/system-tests/sample-app:latest]
K8S_SCENARIO: [K8S_LIB_INJECTION, K8S_LIB_INJECTION_UDS, K8S_LIB_INJECTION_NO_AC, K8S_LIB_INJECTION_NO_AC_UDS, K8S_LIB_INJECTION_PROFILING_DISABLED, K8S_LIB_INJECTION_PROFILING_ENABLED, K8S_LIB_INJECTION_PROFILING_OVERRIDE]
K8S_SCENARIO: [K8S_LIB_INJECTION, K8S_LIB_INJECTION_UDS, K8S_LIB_INJECTION_NO_AC, K8S_LIB_INJECTION_NO_AC_UDS, K8S_LIB_INJECTION_PROFILING_DISABLED, K8S_LIB_INJECTION_PROFILING_ENABLED, K8S_LIB_INJECTION_PROFILING_OVERRIDE, K8S_LIB_INJECTION_OPERATOR]
K8S_LIB_INIT_IMG: ["gcr.io/datadoghq/dd-lib-js-init:latest", "ghcr.io/datadog/dd-trace-js/dd-lib-js-init:latest_snapshot"]
K8S_CLUSTER_VERSION: ['7.56.2', '7.57.0', '7.59.0']

Expand All @@ -122,7 +127,7 @@ k8s_python:
matrix:
- K8S_WEBLOG: [dd-lib-python-init-test-django]
K8S_WEBLOG_IMG: [ghcr.io/datadog/system-tests/dd-lib-python-init-test-django:latest]
K8S_SCENARIO: [K8S_LIB_INJECTION, K8S_LIB_INJECTION_UDS, K8S_LIB_INJECTION_NO_AC, K8S_LIB_INJECTION_NO_AC_UDS, K8S_LIB_INJECTION_PROFILING_DISABLED, K8S_LIB_INJECTION_PROFILING_ENABLED, K8S_LIB_INJECTION_PROFILING_OVERRIDE]
K8S_SCENARIO: [K8S_LIB_INJECTION, K8S_LIB_INJECTION_UDS, K8S_LIB_INJECTION_NO_AC, K8S_LIB_INJECTION_NO_AC_UDS, K8S_LIB_INJECTION_PROFILING_DISABLED, K8S_LIB_INJECTION_PROFILING_ENABLED, K8S_LIB_INJECTION_PROFILING_OVERRIDE, K8S_LIB_INJECTION_OPERATOR]
K8S_LIB_INIT_IMG: ["gcr.io/datadoghq/dd-lib-python-init:latest", "ghcr.io/datadog/dd-trace-py/dd-lib-python-init:latest_snapshot"]
K8S_CLUSTER_VERSION: ['7.56.2', '7.57.0', '7.59.0']
- K8S_WEBLOG: [dd-lib-python-init-test-django-gunicorn]
Expand Down Expand Up @@ -164,7 +169,7 @@ k8s_ruby:
matrix:
- K8S_WEBLOG: [dd-lib-ruby-init-test-rails]
K8S_WEBLOG_IMG: [ghcr.io/datadog/system-tests/dd-lib-ruby-init-test-rails:latest]
K8S_SCENARIO: [K8S_LIB_INJECTION, K8S_LIB_INJECTION_UDS, K8S_LIB_INJECTION_NO_AC, K8S_LIB_INJECTION_NO_AC_UDS, K8S_LIB_INJECTION_PROFILING_DISABLED, K8S_LIB_INJECTION_PROFILING_ENABLED, K8S_LIB_INJECTION_PROFILING_OVERRIDE]
K8S_SCENARIO: [K8S_LIB_INJECTION, K8S_LIB_INJECTION_UDS, K8S_LIB_INJECTION_NO_AC, K8S_LIB_INJECTION_NO_AC_UDS, K8S_LIB_INJECTION_PROFILING_DISABLED, K8S_LIB_INJECTION_PROFILING_ENABLED, K8S_LIB_INJECTION_PROFILING_OVERRIDE, K8S_LIB_INJECTION_OPERATOR]
K8S_LIB_INIT_IMG: ["gcr.io/datadoghq/dd-lib-ruby-init:latest", "ghcr.io/datadog/dd-trace-rb/dd-lib-ruby-init:latest_snapshot"]
K8S_CLUSTER_VERSION: ['7.56.2', '7.57.0', '7.59.0']
- K8S_WEBLOG: [dd-lib-ruby-init-test-rails-explicit]
Expand Down
9 changes: 9 additions & 0 deletions docs/weblog/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -618,6 +618,14 @@ Expected query parameters:
This endpoint loads a module/package in applicable languages. It's mainly used for telemetry tests to verify that
the `dependencies-loaded` event is appropriately triggered.

### GET /log/library

This endpoint facilitates logging a message using a logging library. It is primarily designed for testing log injection functionality. Weblog apps must log using JSON format.

The following query parameters are optional:
- `msg`: Specifies the message to be logged. If not provided, the default message "msg" will be logged.
- `level`: Specifies the log level to be used. If not provided, the default log level is "info".

### GET /e2e_single_span

This endpoint will create two spans, a parent span (which is a root-span), and a child span.
Expand Down Expand Up @@ -657,6 +665,7 @@ Body fields accepted in POST method:

It also supports HTTP authentication by using GET method and the authorization header.
Additionally, both methods support the following query parameters to use the sdk functions along with the authentication framework:
- `sdk_trigger`: when to call the sdk function, `after` or `before` the automated login event (by default `after`)
- `sdk_event`: login event type: `success` or `failure`.
- `sdk_user`: user id to be used in the sdk call.
- `sdk_mail`: user's mail to be used in the sdk call.
Expand Down
6 changes: 6 additions & 0 deletions manifests/cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -244,9 +244,15 @@ tests/:
Test_Config_HttpServerErrorStatuses_FeatureFlagCustom: missing_feature
Test_Config_IntegrationEnabled_False: missing_feature
Test_Config_IntegrationEnabled_True: missing_feature
Test_Config_LogInjection_128Bit_TradeId_Default: missing_feature
Test_Config_LogInjection_128Bit_TradeId_Disabled: missing_feature
Test_Config_LogInjection_Default: missing_feature
Test_Config_LogInjection_Enabled: missing_feature
Test_Config_ObfuscationQueryStringRegexp_Configured: missing_feature
Test_Config_ObfuscationQueryStringRegexp_Default: missing_feature
Test_Config_ObfuscationQueryStringRegexp_Empty: missing_feature
Test_Config_RuntimeMetrics_Default: missing_feature
Test_Config_RuntimeMetrics_Enabled: missing_feature
Test_Config_UnifiedServiceTagging_CustomService: missing_feature
Test_Config_UnifiedServiceTagging_Default: missing_feature
test_distributed.py:
Expand Down
6 changes: 6 additions & 0 deletions manifests/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -488,9 +488,15 @@ tests/:
Test_Config_HttpServerErrorStatuses_FeatureFlagCustom: v3.5.0
Test_Config_IntegrationEnabled_False: v3.5.0
Test_Config_IntegrationEnabled_True: v3.5.0
Test_Config_LogInjection_128Bit_TradeId_Default: missing_feature (disabled by default)
Test_Config_LogInjection_128Bit_TradeId_Disabled: incomplete_test_app (weblog endpoint not implemented)
Test_Config_LogInjection_Default: incomplete_test_app (weblog endpoint not implemented)
Test_Config_LogInjection_Enabled: incomplete_test_app (weblog endpoint not implemented)
Test_Config_ObfuscationQueryStringRegexp_Configured: v3.4.1
Test_Config_ObfuscationQueryStringRegexp_Default: v3.4.1
Test_Config_ObfuscationQueryStringRegexp_Empty: v3.4.1
Test_Config_RuntimeMetrics_Default: incomplete_test_app (test needs to account for dotnet runtime metrics)
Test_Config_RuntimeMetrics_Enabled: incomplete_test_app (test needs to account for dotnet runtime metrics)
Test_Config_UnifiedServiceTagging_CustomService: v3.3.0
Test_Config_UnifiedServiceTagging_Default: v3.3.0
test_data_integrity.py:
Expand Down
14 changes: 10 additions & 4 deletions manifests/golang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -375,10 +375,10 @@ tests/:
Test_Standardization: missing_feature
Test_StandardizationBlockMode: missing_feature
test_metastruct.py:
Test_SecurityEvents_Appsec_Metastruct_Disabled: irrelevant (no fallback will be implemented)
Test_SecurityEvents_Appsec_Metastruct_Enabled: missing_feature
Test_SecurityEvents_Iast_Metastruct_Disabled: irrelevant (no fallback will be implemented)
Test_SecurityEvents_Iast_Metastruct_Enabled: missing_feature
Test_SecurityEvents_Appsec_Metastruct_Disabled: v1.72.0-dev
Test_SecurityEvents_Appsec_Metastruct_Enabled: v1.72.0-dev
Test_SecurityEvents_Iast_Metastruct_Disabled: irrelevant (No IAST)
Test_SecurityEvents_Iast_Metastruct_Enabled: irrelevant (No IAST)
test_remote_config_rule_changes.py:
Test_BlockingActionChangesWithRemoteConfig: v1.69.0
Test_UpdateRuleFileWithRemoteConfig: bug (APPSEC-55377)
Expand Down Expand Up @@ -592,9 +592,15 @@ tests/:
uds-echo: missing_feature
Test_Config_IntegrationEnabled_False: irrelevant (not applicable to Go because of how they do auto instrumentation)
Test_Config_IntegrationEnabled_True: irrelevant (not applicable to Go because of how they do auto instrumentation)
Test_Config_LogInjection_128Bit_TradeId_Default: missing_feature (disabled by default)
Test_Config_LogInjection_128Bit_TradeId_Disabled: incomplete_test_app (weblog endpoint not implemented)
Test_Config_LogInjection_Default: incomplete_test_app (weblog endpoint not implemented)
Test_Config_LogInjection_Enabled: incomplete_test_app (weblog endpoint not implemented)
Test_Config_ObfuscationQueryStringRegexp_Configured: v1.67.0
Test_Config_ObfuscationQueryStringRegexp_Default: v1.67.0
Test_Config_ObfuscationQueryStringRegexp_Empty: v1.67.0
Test_Config_RuntimeMetrics_Default: incomplete_test_app (test needs to account for golang runtime metrics)
Test_Config_RuntimeMetrics_Enabled: incomplete_test_app (test needs to account for golang runtime metrics)
Test_Config_UnifiedServiceTagging_CustomService: v1.67.0
Test_Config_UnifiedServiceTagging_Default: v1.67.0
test_data_integrity.py:
Expand Down
21 changes: 20 additions & 1 deletion manifests/java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1071,7 +1071,20 @@ tests/:
vertx3: missing_feature (login endpoints not implemented)
vertx4: missing_feature (login endpoints not implemented)
test_automated_user_and_session_tracking.py:
Test_Automated_Session_Blocking: missing_feature
Test_Automated_Session_Blocking:
'*': v1.46.0
akka-http: missing_feature (session tracking not implemented)
jersey-grizzly2: missing_feature (session tracking not implemented)
play: missing_feature (session tracking not implemented)
ratpack: missing_feature (session tracking not implemented)
resteasy-netty3: missing_feature (session tracking not implemented)
spring-boot-3-native: flaky (APMAPI-979)
spring-boot-jetty: missing_feature (session tracking not implemented)
spring-boot-payara: bug (APPSEC-54985)
spring-boot-undertow: missing_feature (session tracking not implemented)
spring-boot-wildfly: missing_feature (session tracking not implemented)
vertx3: missing_feature (home endpoint does not use cookies)
vertx4: missing_feature (home endpoint does not use cookies)
Test_Automated_User_Blocking:
'*': v1.45.0
akka-http: missing_feature (login endpoints not implemented)
Expand Down Expand Up @@ -1683,9 +1696,15 @@ tests/:
Test_Config_IntegrationEnabled_True:
'*': irrelevant (kafka endpoints are not implemented)
spring-boot: v1.42.0
Test_Config_LogInjection_128Bit_TradeId_Default: missing_feature (disabled by default)
Test_Config_LogInjection_128Bit_TradeId_Disabled: incomplete_test_app (weblog endpoint not implemented)
Test_Config_LogInjection_Default: incomplete_test_app (weblog endpoint not implemented)
Test_Config_LogInjection_Enabled: incomplete_test_app (weblog endpoint not implemented)
Test_Config_ObfuscationQueryStringRegexp_Configured: v1.39.0
Test_Config_ObfuscationQueryStringRegexp_Default: v1.39.0
Test_Config_ObfuscationQueryStringRegexp_Empty: v1.39.0
Test_Config_RuntimeMetrics_Default: incomplete_test_app (test needs to account for java runtime metrics)
Test_Config_RuntimeMetrics_Enabled: incomplete_test_app (test needs to account for java runtime metrics)
Test_Config_UnifiedServiceTagging_CustomService: v1.39.0
Test_Config_UnifiedServiceTagging_Default: v1.39.0
test_data_integrity.py:
Expand Down
33 changes: 25 additions & 8 deletions manifests/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -628,15 +628,15 @@ tests/:
test_debugger_pii.py:
Test_Debugger_PII_Redaction:
"*": irrelevant
express4: v5.31.0
express4-typescript: v5.31.0
express4: v5.32.0
test_debugger_probe_snapshot.py:
Test_Debugger_Probe_Snaphots: missing_feature (feature not implented)
Test_Debugger_Probe_Snaphots:
"*": irrelevant
express4: v5.32.0
test_debugger_probe_status.py:
Test_Debugger_Probe_Statuses:
"*": irrelevant
express4: v5.32.0
express4-typescript: v5.32.0
integrations/:
crossed_integrations/:
test_kafka.py:
Expand Down Expand Up @@ -746,6 +746,8 @@ tests/:
test_otel_drop_in.py:
Test_Otel_Drop_In: missing_feature
parametric/:
test_128_bit_traceids.py:
Test_128_Bit_Traceids: *ref_3_0_0
test_config_consistency.py:
Test_Config_Dogstatsd: *ref_5_29_0
Test_Config_RateLimit: *ref_5_25_0
Expand Down Expand Up @@ -835,14 +837,29 @@ tests/:
Test_Config_HttpServerErrorStatuses_FeatureFlagCustom: missing_feature
Test_Config_IntegrationEnabled_False:
'*': *ref_5_25_0
express4-typescript: irrelevant
nextjs: irrelevant # nextjs is not related with kafka
express4-typescript: incomplete_test_app
nextjs: incomplete_test_app
Test_Config_IntegrationEnabled_True:
'*': *ref_5_25_0
express4-typescript: irrelevant
nextjs: irrelevant # nextjs is not related with kafka
express4-typescript: incomplete_test_app
nextjs: incomplete_test_app
Test_Config_LogInjection_128Bit_TradeId_Default: missing_feature (disabled by default)
Test_Config_LogInjection_128Bit_TradeId_Disabled:
'*': *ref_3_15_0
express4-typescript: incomplete_test_app (endpoint not implemented)
nextjs: incomplete_test_app (endpoint not implemented)
Test_Config_LogInjection_Default:
'*': *ref_3_0_0
express4-typescript: incomplete_test_app (endpoint not implemented)
nextjs: incomplete_test_app (endpoint not implemented)
Test_Config_LogInjection_Enabled:
'*': *ref_3_0_0
express4-typescript: incomplete_test_app (endpoint not implemented)
nextjs: incomplete_test_app (endpoint not implemented)
Test_Config_ObfuscationQueryStringRegexp_Configured: *ref_3_0_0
Test_Config_ObfuscationQueryStringRegexp_Empty: *ref_3_0_0
Test_Config_RuntimeMetrics_Default: *ref_3_0_0
Test_Config_RuntimeMetrics_Enabled: *ref_3_0_0
Test_Config_UnifiedServiceTagging_CustomService: *ref_5_25_0
Test_Config_UnifiedServiceTagging_Default: *ref_5_25_0
test_distributed.py:
Expand Down
Loading

0 comments on commit 4dacb21

Please sign in to comment.