Skip to content

Commit b3e8860

Browse files
authored
Merge branch 'master' into mario.vidal/taint_tracking_string_buffer_set_length
2 parents d78ac81 + f4139b0 commit b3e8860

File tree

1,453 files changed

+5689
-6661
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,453 files changed

+5689
-6661
lines changed

.circleci/config.continue.yml.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ instrumentation_modules: &instrumentation_modules "dd-java-agent/instrumentation
3636
debugger_modules: &debugger_modules "dd-java-agent/agent-debugger|dd-java-agent/agent-bootstrap|dd-java-agent/agent-builder|internal-api|communication|dd-trace-core"
3737
profiling_modules: &profiling_modules "dd-java-agent/agent-profiling"
3838

39-
default_system_tests_commit: &default_system_tests_commit 6a8c4e9ba065bc52a630051a5b7bb7a4ec84e245
39+
default_system_tests_commit: &default_system_tests_commit c6e54d143cfdf97b2f0a815f22f53247c119f635
4040

4141
parameters:
4242
nightly:
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
name: "Bug Report (Low Priority)"
2+
description: "Create a public Bug Report. Note that these may not be addressed as it depeonds on capacity and that looking up account information will be difficult."
3+
title: ""
4+
labels: "type: bug"
5+
body:
6+
- type: input
7+
attributes:
8+
label: Tracer Version(s)
9+
description: "Version(s) of the tracer affected by this bug"
10+
placeholder: "1.44.0"
11+
validations:
12+
required: true
13+
14+
- type: input
15+
attributes:
16+
label: Java Version(s)
17+
description: "Version(s) of Java (`java --version`) that you've encountered this bug with"
18+
placeholder: 21.0.4
19+
validations:
20+
required: true
21+
22+
- type: dropdown
23+
attributes:
24+
label: JVM Vendor
25+
description: "Which JVM vendor does your application use"
26+
options:
27+
- Oracle JDK
28+
- Alibaba Dragonwell
29+
- Amazon Corretto
30+
- Azul Zing / Zulu
31+
- BellSoft Liberica JDK
32+
- Eclipse Adoptium / Temurin
33+
- Eclipse OpenJ9
34+
- IBM SDK / Semeru
35+
- Oracle GraalVM
36+
- RedHat JDK
37+
- SapMachine
38+
- Other (please specify in comments)
39+
validations:
40+
required: true
41+
42+
- type: textarea
43+
attributes:
44+
label: Bug Report
45+
description: Please add a clear and concise description of the bug here
46+
validations:
47+
required: true
48+
49+
- type: textarea
50+
attributes:
51+
label: Expected Behavior
52+
description: What is the expected behavior
53+
validations:
54+
required: true
55+
56+
- type: textarea
57+
attributes:
58+
label: Reproduction Code
59+
description: Please add code here to help us reproduce the problem
60+
validations:
61+
required: false

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
blank_issues_enabled: true
1+
blank_issues_enabled: false
22
contact_links:
3-
- name: Bug Report
3+
- name: Bug Report (High Priority)
44
url: https://help.datadoghq.com/hc/en-us/requests/new?tf_1260824651490=pt_product_type:apm&tf_1900004146284=pt_apm_language:java
5-
about: This option creates an expedited Bug Report via the helpdesk (no login required). This will allow us to look up your account and allows you to provide additional information in private.
6-
- name: Feature Request
5+
about: Create an expedited Bug Report via the helpdesk (no login required). This will allow us to look up your account and allows you to provide additional information in private.
6+
- name: Feature Request (High Priority)
77
url: https://help.datadoghq.com/hc/en-us/requests/new?tf_1260824651490=pt_product_type:apm&tf_1900004146284=pt_apm_language:java&tf_1260825272270=pt_apm_category_feature_request
8-
about: This option creates an expedited Feature Request via the helpdesk (no login required). This helps with prioritization and allows you to provide additional information in private.
8+
about: Create an expedited Feature Request via the helpdesk (no login required). This helps with prioritization and allows you to provide additional information in private.
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
name: Feature Request (Low Priority)
2+
description: Create a public Feature Request. Note that these may not be addressed as it depeonds on capacity and that looking up account information will be difficult.
3+
title: ""
4+
labels: "type: feature request"
5+
body:
6+
- type: input
7+
attributes:
8+
label: Library Name
9+
description: "If your feature request is to add instrumentation support for a library please provide the name here"
10+
placeholder: "spring-boot"
11+
validations:
12+
required: false
13+
14+
- type: input
15+
attributes:
16+
label: Library Version(s)
17+
description: "If your feature request is to add instrumentation support for a library please provide the version you use"
18+
placeholder: 1.2
19+
validations:
20+
required: false
21+
22+
- type: textarea
23+
attributes:
24+
label: Describe the feature you'd like
25+
description: A clear and concise description of what you want to happen.
26+
validations:
27+
required: true
28+
29+
- type: textarea
30+
attributes:
31+
label: Is your feature request related to a problem?
32+
description: |
33+
Please add a clear and concise description of your problem.
34+
E.g. I'm unable to instrument my database queries...
35+
validations:
36+
required: false
37+
38+
- type: textarea
39+
attributes:
40+
label: Describe alternatives you've considered
41+
description: A clear and concise description of any alternative solutions or features you've considered
42+
validations:
43+
required: false
44+
45+
- type: textarea
46+
attributes:
47+
label: Additional context
48+
description: Add any other context or screenshots about the feature request here
49+
validations:
50+
required: false

.github/workflows/analyze-changes.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ on:
77
# The branches below must be a subset of the branches above
88
branches: [ master ]
99

10+
# Cancel long-running jobs when a new commit is pushed
11+
concurrency:
12+
group: ${{ github.workflow }}-${{ github.ref }}
13+
cancel-in-progress: true
14+
1015
jobs:
1116
datadog-static-analyzer:
1217
name: Analyze changes with DataDog Static Analyzer

.github/workflows/check-pull-requests.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
branches:
66
- master
77
- release/v*
8+
concurrency:
9+
group: ${{ github.workflow }}-${{ github.ref }}
10+
cancel-in-progress: true
811
jobs:
912
check_pull_requests:
1013
name: Check pull requests

.github/workflows/update-download-releases.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ on:
44
types:
55
- released
66
workflow_dispatch:
7+
concurrency: # Avoid running multiple instances to prevent asset conflicts
8+
group: ${{ github.workflow }}
79
jobs:
810
update-releases:
911
permissions:

.gitlab-ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,12 @@ onboarding_tests_k8s_injection:
223223
parallel:
224224
matrix:
225225
- WEBLOG_VARIANT: [dd-lib-java-init-test-app]
226+
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]
227+
K8S_CLUSTER_VERSION: ['7.56.2', '7.57.0', '7.59.0']
228+
229+
- WEBLOG_VARIANT: [dd-djm-spark-test-app]
230+
SCENARIO: [K8S_LIB_INJECTION_SPARK_DJM]
231+
K8S_CLUSTER_VERSION: ['7.57.0', '7.59.0']
226232

227233
create_key:
228234
stage: generate-signing-key

.gitlab/exploration-tests.yml

Lines changed: 29 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -12,49 +12,63 @@ build-exploration-tests-image:
1212
- docker push $EXPLORATION_TESTS_IMAGE
1313

1414
.common-exploration-tests: &common-exploration-tests
15+
rules:
16+
- if: '$POPULATE_CACHE'
17+
when: never
18+
- if: $CI_PIPELINE_SOURCE != "schedule"
19+
changes:
20+
paths:
21+
- dd-java-agent/agent-debugger/**/*
22+
compare_to: "master"
23+
when: on_success
24+
- when: manual
25+
allow_failure: true
1526
before_script:
16-
- source $HOME/.sdkman/bin/sdkman-init.sh
17-
- export JAVA_HOME=$JAVA_8_HOME
18-
- ./gradlew :dd-java-agent:shadowJar --no-scan
1927
- cp workspace/dd-java-agent/build/libs/*.jar /exploration-tests/dd-java-agent.jar
2028
- cp dd-java-agent/agent-debugger/exploration-tests/run-exploration-tests.sh /exploration-tests
2129
- cp dd-java-agent/agent-debugger/exploration-tests/exclude_*.txt /exploration-tests
2230
- cp dd-java-agent/agent-debugger/exploration-tests/include_*.txt /exploration-tests
31+
- source $HOME/.sdkman/bin/sdkman-init.sh && cd / && sdk env
2332
- cd /exploration-tests
33+
- java -version
2434
after_script:
25-
- echo "$PROJECT"
26-
- cd $CI_PROJECT_DIR
27-
- cp /exploration-tests/$PROJECT/agent.log ${PROJECT}_agent.log
35+
- cp /exploration-tests/${PROJECT}/agent.log ${PROJECT}_agent.log
2836
- gzip ${PROJECT}_agent.log
2937
- tar czf ${PROJECT}_surefire-reports.tar.gz /exploration-tests/${PROJECT}/target/surefire-reports
3038
- tar czf ${PROJECT}_debugger-dumps.tar.gz /tmp/debugger
3139
stage: exploration-tests
32-
when: manual
3340
tags: [ "runner:main"]
34-
needs: []
3541
image: $EXPLORATION_TESTS_IMAGE
3642
artifacts:
3743
paths:
38-
- ${PROJECT}_agent.log.gz
39-
- ${PROJECT}_surefire-reports.tar.gz
40-
- ${PROJECT}_debugger-dumps.tar.gz
44+
- "*_agent.log.gz"
45+
- "*_surefire-reports.tar.gz"
46+
- "*_debugger-dumps.tar.gz"
4147

4248
exploration-tests-jsoup:
49+
needs: [ build ]
50+
dependencies:
51+
- build
52+
<<: *common-exploration-tests
4353
variables:
4454
PROJECT: jsoup
45-
<<: *common-exploration-tests
4655
script:
47-
- ./run-exploration-tests.sh "$PROJECT" "mvn verify" "include_jsoup.txt" "exclude_jsoup.txt"
48-
56+
- ./run-exploration-tests.sh "$PROJECT" "mvn verify" "include_${PROJECT}.txt" "exclude_${PROJECT}.txt"
4957

5058
exploration-tests-jackson-core:
59+
needs: [ build ]
60+
dependencies:
61+
- build
5162
<<: *common-exploration-tests
5263
variables:
5364
PROJECT: jackson-core
5465
script:
55-
- ./run-exploration-tests.sh "$PROJECT" "./mvnw verify"
66+
- ./run-exploration-tests.sh "$PROJECT" "mvn verify" "include_${PROJECT}.txt" "exclude_${PROJECT}.txt"
5667

5768
exploration-tests-jackson-databind:
69+
needs: [ build ]
70+
dependencies:
71+
- build
5872
<<: *common-exploration-tests
5973
variables:
6074
PROJECT: jackson-databind

SECURITY.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
1-
# Security
1+
# Security Policy
22

3-
## Security Vulnerabilities
3+
This document outlines the security policy for the Datadog Java client library (aka Java tracer) and what to do if you discover a security vulnerability in the project.
4+
Most notably, please do not share the details in a public forum (such as in a discussion, issue, or pull request) but instead reach out to us with the details.
5+
This gives us an opportunity to release a fix for others to benefit from by the time details are made public.
46

5-
If you have found a security issue, please contact the security team directly at security@datadoghq.com.
7+
## Reporting a Vulnerability
8+
9+
If you discover a vulnerability in the Datadog Java client library (or any Datadog product for that matter) please submit details to the following email address:
10+
11+
* [security@datadoghq.com](mailto:security@datadoghq.com)

0 commit comments

Comments
 (0)