Commit a0ff7c3
committed
[system][auth] Remove deprecated user.name/user.id duplication for IAM events
Contract phase of the expand-and-contract migration started in 2.22.0
(#20339): the auth data stream no longer writes the
affected account to user.name/user.id for useradd account creation,
usermod group membership, userdel deletion, and PAM password change
events. The affected account remains in user.target.name (and
user.target.id for useradd); user.name on these events is reserved for
the acting user, matching ECS semantics. On journald input, useradd
events now keep the actor UID from journald metadata in user.id instead
of having it overwritten by the created account's UID.
Mechanically this deletes the five *_compat processors that 2.22.0
introduced for backward compatibility and regenerates the pipeline test
expectations, whose diff is exactly the removal of the duplicated
fields.
Ships as 3.0.0 with a breaking-change changelog entry so Kibana
requires users to acknowledge the change before upgrading. The bundled
New users and groups dashboard already reads user.target.* as of
2.23.0.1 parent 690e47a commit a0ff7c3
12 files changed
Lines changed: 9 additions & 74 deletions
File tree
- packages/system
- data_stream/auth
- _dev/test/pipeline
- elasticsearch/ingest_pipeline
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
2 | 8 | | |
3 | 9 | | |
4 | 10 | | |
| |||
Lines changed: 1 addition & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
93 | | - | |
| 92 | + | |
94 | 93 | | |
95 | 94 | | |
96 | 95 | | |
| |||
982 | 981 | | |
983 | 982 | | |
984 | 983 | | |
985 | | - | |
986 | 984 | | |
987 | 985 | | |
988 | 986 | | |
| |||
1061 | 1059 | | |
1062 | 1060 | | |
1063 | 1061 | | |
1064 | | - | |
1065 | 1062 | | |
1066 | 1063 | | |
1067 | 1064 | | |
| |||
1140 | 1137 | | |
1141 | 1138 | | |
1142 | 1139 | | |
1143 | | - | |
1144 | 1140 | | |
1145 | 1141 | | |
1146 | 1142 | | |
| |||
1360 | 1356 | | |
1361 | 1357 | | |
1362 | 1358 | | |
1363 | | - | |
1364 | 1359 | | |
1365 | 1360 | | |
1366 | 1361 | | |
| |||
Lines changed: 1 addition & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
90 | | - | |
| 89 | + | |
91 | 90 | | |
92 | 91 | | |
93 | 92 | | |
| |||
949 | 948 | | |
950 | 949 | | |
951 | 950 | | |
952 | | - | |
953 | 951 | | |
954 | 952 | | |
955 | 953 | | |
| |||
1025 | 1023 | | |
1026 | 1024 | | |
1027 | 1025 | | |
1028 | | - | |
1029 | 1026 | | |
1030 | 1027 | | |
1031 | 1028 | | |
| |||
1104 | 1101 | | |
1105 | 1102 | | |
1106 | 1103 | | |
1107 | | - | |
1108 | 1104 | | |
1109 | 1105 | | |
1110 | 1106 | | |
| |||
1315 | 1311 | | |
1316 | 1312 | | |
1317 | 1313 | | |
1318 | | - | |
1319 | 1314 | | |
1320 | 1315 | | |
1321 | 1316 | | |
| |||
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
87 | 86 | | |
88 | 87 | | |
89 | 88 | | |
| |||
129 | 128 | | |
130 | 129 | | |
131 | 130 | | |
132 | | - | |
133 | 131 | | |
134 | 132 | | |
135 | 133 | | |
| |||
Lines changed: 0 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2477 | 2477 | | |
2478 | 2478 | | |
2479 | 2479 | | |
2480 | | - | |
2481 | | - | |
2482 | 2480 | | |
2483 | 2481 | | |
2484 | 2482 | | |
| |||
2526 | 2524 | | |
2527 | 2525 | | |
2528 | 2526 | | |
2529 | | - | |
2530 | 2527 | | |
2531 | 2528 | | |
2532 | 2529 | | |
| |||
4803 | 4800 | | |
4804 | 4801 | | |
4805 | 4802 | | |
4806 | | - | |
4807 | | - | |
4808 | 4803 | | |
4809 | 4804 | | |
4810 | 4805 | | |
| |||
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
553 | 553 | | |
554 | 554 | | |
555 | 555 | | |
556 | | - | |
557 | | - | |
558 | 556 | | |
559 | 557 | | |
560 | 558 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
44 | 43 | | |
45 | 44 | | |
46 | 45 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
146 | | - | |
147 | 146 | | |
148 | 147 | | |
149 | 148 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
141 | | - | |
142 | 141 | | |
143 | 142 | | |
144 | 143 | | |
| |||
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
48 | 47 | | |
49 | 48 | | |
50 | 49 | | |
| |||
94 | 93 | | |
95 | 94 | | |
96 | 95 | | |
97 | | - | |
98 | 96 | | |
99 | 97 | | |
100 | 98 | | |
| |||
0 commit comments