Commit 6a9cd68
authored
fix(rule-flood-guard): notify only the affected tenant, without naming it (#2496)
The flood notification went to the tenant whose rule was disabled and also
to the platform tenant, so the operator would keep the instance-wide
visibility they had before the disable became per-tenant. In an MSSP that
turns every flood in every tenant into a ping on the operator's bell, which
is the same alert fatigue this plugin exists to prevent. The tenant is the
one who can act on it, so the copy is gone.
With no operator copy left, naming the tenant in the message was noise: the
only reader is the affected tenant, and showing them their own UUID tells
them nothing. The message now speaks to them directly. The tenant is still
in the structured log, which is where operators read from.1 parent 1aef4bf commit 6a9cd68
3 files changed
Lines changed: 10 additions & 24 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
24 | 23 | | |
25 | 24 | | |
26 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
| |||
15 | 14 | | |
16 | 15 | | |
17 | 16 | | |
18 | | - | |
19 | | - | |
20 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | 157 | | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | 158 | | |
172 | 159 | | |
173 | 160 | | |
| |||
196 | 183 | | |
197 | 184 | | |
198 | 185 | | |
199 | | - | |
200 | | - | |
| 186 | + | |
| 187 | + | |
201 | 188 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| |||
0 commit comments