Commit 102231d
authored
feat(obfuscation)!: feature parity on span obfuscation [APMSP-2671] (#1788)
# What does this PR do?
Integrate the work that has been done on specific string obfuscation (sql, redis, json, etc...) in `obfuscate_span` which is the high level function that can be used externally.
# Motivation
Reach 100% parity between obfuscation libs.
# Additional Notes
Anything else we should know when reviewing?
# How to test the change?
- [x] Add tests from parity checker
Co-authored-by: oscar.ledauphin <oscar.ledauphin@datadoghq.com>1 parent a29b90b commit 102231d
File tree
13 files changed
+972
-250
lines changed- libdd-trace-obfuscation
- src
- tests
- data
- libdd-trace-protobuf
- src
13 files changed
+972
-250
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5024 | 5024 | | |
5025 | 5025 | | |
5026 | 5026 | | |
5027 | | - | |
| 5027 | + | |
5028 | 5028 | | |
5029 | 5029 | | |
5030 | 5030 | | |
| |||
5038 | 5038 | | |
5039 | 5039 | | |
5040 | 5040 | | |
5041 | | - | |
| 5041 | + | |
5042 | 5042 | | |
5043 | 5043 | | |
5044 | 5044 | | |
5045 | 5045 | | |
5046 | 5046 | | |
5047 | 5047 | | |
5048 | | - | |
| 5048 | + | |
5049 | 5049 | | |
5050 | 5050 | | |
5051 | 5051 | | |
5052 | 5052 | | |
5053 | 5053 | | |
5054 | 5054 | | |
5055 | | - | |
| 5055 | + | |
5056 | 5056 | | |
5057 | 5057 | | |
5058 | 5058 | | |
| |||
30600 | 30600 | | |
30601 | 30601 | | |
30602 | 30602 | | |
30603 | | - | |
| 30603 | + | |
30604 | 30604 | | |
30605 | | - | |
| 30605 | + | |
30606 | 30606 | | |
30607 | 30607 | | |
30608 | 30608 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
6 | 4 | | |
7 | | - | |
8 | | - | |
| 5 | + | |
9 | 6 | | |
10 | 7 | | |
11 | 8 | | |
| |||
15 | 12 | | |
16 | 13 | | |
17 | 14 | | |
18 | | - | |
19 | | - | |
20 | | - | |
| 15 | + | |
21 | 16 | | |
22 | 17 | | |
23 | 18 | | |
| |||
26 | 21 | | |
27 | 22 | | |
28 | 23 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
| 24 | + | |
| 25 | + | |
39 | 26 | | |
40 | 27 | | |
41 | 28 | | |
| |||
80 | 67 | | |
81 | 68 | | |
82 | 69 | | |
83 | | - | |
| 70 | + | |
84 | 71 | | |
85 | 72 | | |
86 | 73 | | |
| |||
92 | 79 | | |
93 | 80 | | |
94 | 81 | | |
95 | | - | |
| 82 | + | |
96 | 83 | | |
97 | 84 | | |
98 | 85 | | |
| |||
111 | 98 | | |
112 | 99 | | |
113 | 100 | | |
114 | | - | |
| 101 | + | |
115 | 102 | | |
116 | 103 | | |
117 | 104 | | |
118 | | - | |
119 | | - | |
| 105 | + | |
| 106 | + | |
120 | 107 | | |
121 | 108 | | |
122 | 109 | | |
| |||
158 | 145 | | |
159 | 146 | | |
160 | 147 | | |
161 | | - | |
| 148 | + | |
162 | 149 | | |
163 | 150 | | |
164 | 151 | | |
| |||
183 | 170 | | |
184 | 171 | | |
185 | 172 | | |
186 | | - | |
| 173 | + | |
187 | 174 | | |
188 | 175 | | |
189 | | - | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
190 | 181 | | |
191 | 182 | | |
192 | 183 | | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
198 | 190 | | |
199 | 191 | | |
200 | 192 | | |
| |||
0 commit comments