Skip to content

Test IastOverheadControlSpringBootSmokeTest.'Test that all the vulnerabilities are detected' is flaky #9417

@AlexeyKuznetsov-DD

Description

@AlexeyKuznetsov-DD

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugBug report and fix

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions