-
Notifications
You must be signed in to change notification settings - Fork 394
Add handling of string keys for Kit:AppSec::Events
#4552
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
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #4552 +/- ##
==========================================
- Coverage 97.78% 97.76% -0.03%
==========================================
Files 1396 1396
Lines 85831 85867 +36
Branches 4322 4329 +7
==========================================
+ Hits 83926 83944 +18
- Misses 1905 1923 +18 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Datadog ReportBranch report: ✅ 0 Failed, 20801 Passed, 1378 Skipped, 3m 27.82s Total Time |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
awesome!
BenchmarksBenchmark execution time: 2025-04-01 16:06:59 Comparing candidate commit 2c399f5 in PR branch Found 0 performance improvements and 0 performance regressions! Performance is the same for 31 metrics, 2 unstable metrics. |
71b0b68
to
807f1af
Compare
807f1af
to
f361288
Compare
It will allow us to have guard-clause for some specific cases. Example: ```ruby it 'runs only on Ruby > 3.0', ruby: '> 3.0' do expect(something).to be(true) end ```
f361288
to
2c399f5
Compare
What does this PR do?
Add unified handling for string keys for AppSec kit events.
Motivation:
This change is motivated by customer who uses string keys (which are impossible till Ruby 2.7) to pass complex keys like
usr.login
. They wasn't handled before.Change log entry
Yes. AppSec: Fix
Datadog::Kit::AppSec::Events
SDK methods to correctly handle given string keyusr.login
.Additional Notes:
How to test the change?