Commit 2a7c56b
helper-rust: restore initial ruleset when ASM_DD config addition fails; fix racy telemetry log test
updateable_waf: when an ASM_DD config fails to be added to the builder,
restore the initial ruleset if it was removed, matching the existing
restore logic in remove_config.
TelemetryTests: wait for the specific bad_config diagnostic log rather
than any 3 RC logs, avoiding a race where leftover exception logs from
the previous test satisfy the condition before the diagnostic arrives.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 8c88f39 commit 2a7c56b
2 files changed
Lines changed: 13 additions & 3 deletions
File tree
- appsec
- helper-rust/src/service
- tests/integration/src/test/groovy/com/datadog/appsec/php/integration
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | | - | |
| 107 | + | |
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
115 | 125 | | |
116 | 126 | | |
117 | 127 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
357 | 357 | | |
358 | 358 | | |
359 | 359 | | |
360 | | - | |
| 360 | + | |
361 | 361 | | |
362 | 362 | | |
363 | 363 | | |
| |||
0 commit comments