Test IastOverheadControlSpringBootSmokeTest.'Test that all the vulnerabilities are detected' is flaky
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
Research direction
Locate IastOverheadControlSpringBootSmokeTest and the test named "Test that all the vulnerabilities are detected"; start by examining its vulnerability matching and the reported multipleVulns and multipleVulns2 methods. The test is done when it passes consistently and detects the WEAK_HASH vulnerability with evidence SHA1 at the expected method.
Written by the indexing model from the issue text.
Description
Tracer Version(s)
1.52.1
Java Version(s)
11
JVM Vendor
Oracle JDK
Bug Report
Condition failed with Exception:
hasVulnerability { vul -> vul.type == 'WEAK_HASH' && vul.location.method == 'multipleVulns' && vul.evidence.value == 'SHA1' }
|
java.lang.AssertionError: No matching vulnerability found. Vulnerabilities found: [
{
"evidence": {
"value": "SHA1"
},
"hash": 1972954159,
"location": {
"line": 54,
"method": "multipleVulns2",
"path": "datadog.smoketest.springboot.controller.IastSamplingController",
"spanId": 4999927944762673122,
"stackId": "1"
},
"type": "WEAK_HASH"
},
Expected Behavior
Test should pass always
Reproduction Code
No response
- Dominant language
- Java
- Stars
- 737
- Forks
- 361
- Avg merge
- 3d 20h
- Merged PRs (30d)
- 173
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from DataDog/dd-trace-java
-
type: feature request
Difficulty 1/5 1-3 hours Newbie friendliness 70/100
DataDog/dd-trace-java#10245 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 62/100
DataDog/dd-trace-java#12608 ·
-
type: bug report
Difficulty 4/5 3-5 days Newbie friendliness 35/100
DataDog/dd-trace-java#12597 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
DataDog/dd-trace-java#12540 · 3 comments · 1 assignee ·
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
DataDog/dd-trace-java#12480 ·
All issues in DataDog/dd-trace-java
Similar issues
-
certification
Difficulty 1/5 Under an hour Newbie friendliness 80/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
[BUG] ECR GetAuthorizationToken returns a proxyEndpoint for the default region, not the request's Openbug ecr
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Needs: Triage Type: Feature request
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
AntennaPod/AntennaPod#8794 ·
-
agentic-workflows
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
github/copilot-sdk#2760 ·