-
Notifications
You must be signed in to change notification settings - Fork 438
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(everything): merge main into v2 :salute_1: #2930
base: v2-dev
Are you sure you want to change the base?
Commits on Sep 9, 2024
-
all: upgrade minimum supported Go release to 1.22 (#2850)
With Go 1.23 released on 2024-08-13, we drop support for Go 1.21. This means Go 1.22 is now our minimum supported Go release. Update our CI files to reflect our current supported Go versions, and remove pre-Go 1.22 workarounds. In addition to the CI bumps, this PR changes/fixes a few things related to the upgrade: - Drops the old `rand` from the tracer, now that we can depend on `math/rand/v2`. - Uses `slices` in the appsec package. - The `TestWrapHandlerWithResourceNameNoRace` got a new data race. Specifically, by bumping our `go.mod` to 1.22, we get the new 1.22 ServeMux behavior internally. The 1.22 ServeMux modifies the Request, introducing a race with all the goroutines accessing/modifying the request concurrently. Fix it by giving each goroutine its own request. I verified that the test still catches the intended bug by reverting the fix from #2204 and verifying that the test fails.
Configuration menu - View commit details
-
Copy full SHA for 4b164f8 - Browse repository at this point
Copy the full SHA 4b164f8View commit details
Commits on Sep 10, 2024
-
appsec: missing SQLi and LFI RC capabilities (#2851)
Signed-off-by: Eliott Bouhana <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4574919 - Browse repository at this point
Copy the full SHA 4574919View commit details -
profiler: record Orchestrion, activation information (#2814)
For tracking adoption of SSI for profiling, record whether the profiler was added using Orchestrion and how the profiler was activated, following the internal "Adding SSI information to profiles" RFC.
Configuration menu - View commit details
-
Copy full SHA for 0ffa615 - Browse repository at this point
Copy the full SHA 0ffa615View commit details
Commits on Sep 11, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d1b31e8 - Browse repository at this point
Copy the full SHA d1b31e8View commit details
Commits on Sep 12, 2024
-
internal/civisibility/integrations/gotesting: fixes for orchestrion a…
…utoinstrumentation (#2844)
Configuration menu - View commit details
-
Copy full SHA for e1ca75f - Browse repository at this point
Copy the full SHA e1ca75fView commit details -
contrib/aws/aws-sdk-go-v2/aws: Fix streamName nil pointer panic (#2846)
Co-authored-by: Dario Castañé <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for afcff94 - Browse repository at this point
Copy the full SHA afcff94View commit details -
Configuration menu - View commit details
-
Copy full SHA for e081e4a - Browse repository at this point
Copy the full SHA e081e4aView commit details
Commits on Sep 13, 2024
-
internal/civisibility/integrations/gotesting: add the `DD_CIVISIBILIT…
…Y_ENABLED` kill switch environment variable (#2861) Co-authored-by: Juan Antonio Fernández de Alba <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 07c4b72 - Browse repository at this point
Copy the full SHA 07c4b72View commit details -
internal/stacktrace: upgrade msgp and add stacktrace.GetSpanValue (#2864
) Signed-off-by: Eliott Bouhana <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 660a6a2 - Browse repository at this point
Copy the full SHA 660a6a2View commit details -
internal/civisibility/integrations/gotesting: improve the isCiVisibil…
…ityEnabled and enable reporting Code Coverage percentage. (#2866)
Configuration menu - View commit details
-
Copy full SHA for 63f207d - Browse repository at this point
Copy the full SHA 63f207dView commit details
Commits on Sep 16, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d9505b3 - Browse repository at this point
Copy the full SHA d9505b3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6d0e1b8 - Browse repository at this point
Copy the full SHA 6d0e1b8View commit details
Commits on Sep 17, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 1f0966d - Browse repository at this point
Copy the full SHA 1f0966dView commit details
Commits on Sep 18, 2024
-
internal/apps: Add two new apps (#2868)
Co-authored-by: Nick Ripley <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3646321 - Browse repository at this point
Copy the full SHA 3646321View commit details -
appsec: upgrade go-libddwaf v3.3.0 -> v3.4.0 (#2877)
Signed-off-by: Eliott Bouhana <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b94c2c3 - Browse repository at this point
Copy the full SHA b94c2c3View commit details
Commits on Sep 19, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 054d19d - Browse repository at this point
Copy the full SHA 054d19dView commit details
Commits on Sep 20, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 8860b39 - Browse repository at this point
Copy the full SHA 8860b39View commit details
Commits on Sep 23, 2024
-
appsec: Suspicious Attacker Blocking (#2878)
Signed-off-by: Eliott Bouhana <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ba18110 - Browse repository at this point
Copy the full SHA ba18110View commit details
Commits on Sep 24, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 7699f9e - Browse repository at this point
Copy the full SHA 7699f9eView commit details -
profiler: avoid metrics profile log noise when stopping profiling (#2865
) The metrics profiler insisted on at least one second between collections for two reasons: - To avoid a division by zero because it was doing integer division to convert a time.Duration to seconds, which will truncate to 0, as a ratio in a subsequent computation - In case "a system clock issue causes time to run backwards" The profiler would report an error if less than one second elapsed between collections. In practice, this resulted in misleading error logs because it's entirely likely for profiling to be stopped less than a second after the last profile collection. The restriction was not really even needed. For one, we can just do floating-point division rather than integer division to avoid the truncation problem. Also, Go has had monotonic time support by default since 2017, added in Go 1.9, and time comparison operations including time.Time.Sub, work with respect to monotonic time. We shouldn't have any issues with negative periods. We can ensure the period is positive just as a defensive measure, and fail if it's negative since this may indicate a bug in the Go runtime if it's violating the monotonicity guarantees. Fixes #2863
Configuration menu - View commit details
-
Copy full SHA for 101d4da - Browse repository at this point
Copy the full SHA 101d4daView commit details -
Configuration menu - View commit details
-
Copy full SHA for eef52d3 - Browse repository at this point
Copy the full SHA eef52d3View commit details
Commits on Sep 25, 2024
-
profiler: suppress errors if the profiler is stopped (#2886)
The fix in #2865 was intended to suppress spurious metrics profile errors when the profiler is stopped. It did so by relaxing the one-second duration constraint of the metrics profiler. However, the Windows system timer resolution is about 15 milliseconds (see https://learn.microsoft.com/en-us/windows-hardware/drivers/kernel/high-resolution-timers#controlling-timer-accuracy) This caused the metrics profile tests from #2865 to fail because the metrics profiler will likely be stopped in less than 15 milliseconds, meaning we'll see 0 duration between profile collection and log an error. This commit actually suppresses the error by checking whether the profiler was stopped (meaning interruptibleSleep was interrupted). If so, and if the metrics profiler returned an error, we instead return a sentinel error indicating that profiling was stopped. If we see that error, we just drop the profile and don't log an error. We won't upload the profile anyway. This way, we should only report an error from the metrics profiler if there is _actually_ a problem with the timer.
Configuration menu - View commit details
-
Copy full SHA for ac73f9b - Browse repository at this point
Copy the full SHA ac73f9bView commit details
Commits on Sep 26, 2024
-
internal/datastreams: fix Processor goroutine leaks (#2880)
Co-authored-by: Dario Castañé <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bed7121 - Browse repository at this point
Copy the full SHA bed7121View commit details -
Configuration menu - View commit details
-
Copy full SHA for 043dcd1 - Browse repository at this point
Copy the full SHA 043dcd1View commit details
Commits on Sep 27, 2024
-
internal/civisibility: change the default value for DD_CIVISIBILITY_E…
…NABLED to false (#2893)
Configuration menu - View commit details
-
Copy full SHA for 82f0b8e - Browse repository at this point
Copy the full SHA 82f0b8eView commit details -
Configuration menu - View commit details
-
Copy full SHA for b0bb4c7 - Browse repository at this point
Copy the full SHA b0bb4c7View commit details
Commits on Sep 30, 2024
-
Configuration menu - View commit details
-
Copy full SHA for daa6823 - Browse repository at this point
Copy the full SHA daa6823View commit details
Commits on Oct 1, 2024
-
appsec: Attacker Fingerprinting (#2899)
Signed-off-by: Eliott Bouhana <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e5a17f2 - Browse repository at this point
Copy the full SHA e5a17f2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0f6ba13 - Browse repository at this point
Copy the full SHA 0f6ba13View commit details
Commits on Oct 2, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 438d47d - Browse repository at this point
Copy the full SHA 438d47dView commit details -
internal/appsec: fix derivatives serdes on simple types (#2905)
Signed-off-by: Eliott Bouhana <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ef90025 - Browse repository at this point
Copy the full SHA ef90025View commit details
Commits on Oct 3, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 3b1e8a9 - Browse repository at this point
Copy the full SHA 3b1e8a9View commit details -
Configuration menu - View commit details
-
Copy full SHA for e90c07d - Browse repository at this point
Copy the full SHA e90c07dView commit details -
Configuration menu - View commit details
-
Copy full SHA for d3f686e - Browse repository at this point
Copy the full SHA d3f686eView commit details
Commits on Oct 4, 2024
-
internal/civisibility: fixes the test parent status when the auto-ret…
…ry feature ended up with a failed test and then a successful test. (#2910)
Configuration menu - View commit details
-
Copy full SHA for d50070a - Browse repository at this point
Copy the full SHA d50070aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 966abf2 - Browse repository at this point
Copy the full SHA 966abf2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2a34b15 - Browse repository at this point
Copy the full SHA 2a34b15View commit details
Commits on Oct 8, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 7704733 - Browse repository at this point
Copy the full SHA 7704733View commit details
Commits on Oct 10, 2024
-
internal/telemetry: skip TestProductChange/profiler_start,_tracer_sta…
Configuration menu - View commit details
-
Copy full SHA for fc58656 - Browse repository at this point
Copy the full SHA fc58656View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f2854f - Browse repository at this point
Copy the full SHA 2f2854fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b9a8af - Browse repository at this point
Copy the full SHA 5b9a8afView commit details
Commits on Oct 14, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 93311db - Browse repository at this point
Copy the full SHA 93311dbView commit details
Commits on Oct 15, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 4f34a1c - Browse repository at this point
Copy the full SHA 4f34a1cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2eeaab3 - Browse repository at this point
Copy the full SHA 2eeaab3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1de5adb - Browse repository at this point
Copy the full SHA 1de5adbView commit details -
Configuration menu - View commit details
-
Copy full SHA for ea693ee - Browse repository at this point
Copy the full SHA ea693eeView commit details -
Configuration menu - View commit details
-
Copy full SHA for fdd983b - Browse repository at this point
Copy the full SHA fdd983bView commit details