Repository navigation
Commit ea3c186
authored
ssi: add processor tags and preserve_original_event on failure (3/4) (#20574)
Tag every ingest pipeline processor across 52 SSI-owned packages
(servicenow through zscaler_zpa), so that failure telemetry can
attribute an error to the step that produced it rather than collapsing
same-type processors into one bucket. All 20605 processors across the
265 pipeline files now carry a tag, 10045 of them newly, including
those nested inside `on_failure` handlers and `foreach` bodies, and
those in the pipeline-level `on_failure` block.
Existing tags keep their name. Where a name was not already unique in
its pipeline, or the processor had no tag at all, it gains an 8-hex
suffix hashed over the processor's content and everything enclosing it.
Tags that already carried a hash are left byte-identical -- 81 of them,
in ti_anomali and zscaler_zia, which shipped tags before this series; a
hash is only meaningful relative to the generator that produced it, so
re-hashing a published tag churns a value consumers may key off. Those
two packages therefore keep the earlier suffix format. Tags that would
have said nothing (`script_<hash>`, `fail_<hash>`) are seeded from the
processor's description, name, message or preceding comment, and tags
whose leading word named the wrong action (`set_...` on an append) are
corrected.
Add preserve_original_event to pipeline-level on_failure handlers that
were missing it, ensuring the raw payload is retained when a pipeline
error document is indexed. Twelve of the 52 packages needed it.
Ten processors across six packages were exact duplicates of an earlier
sibling and could never have any effect; they are removed rather than
given a disambiguating tag. Three further fixes ride along, each in the
affected package's changelog:
- ti_socradar_taxii: event.original was removed before
preserve_original_event was added to tags, so pipeline_error
documents never retained the payload. The removal is dropped and
the test expectations regenerated.
- wiz, ti_eset: pipeline-level on_failure set error.message instead
of appending, discarding what processor-level handlers recorded.
error.message is now an array on failed documents.
These are enhancements, so the packages take a minor version bump.
Updates #205581 parent 37cd5c6 commit ea3c186
377 files changed
Lines changed: 21519 additions & 10909 deletions
File tree
- packages
- servicenow
- data_stream/event/elasticsearch/ingest_pipeline
- slack
- data_stream/audit/elasticsearch/ingest_pipeline
- snyk
- data_stream
- audit_logs/elasticsearch/ingest_pipeline
- issues/elasticsearch/ingest_pipeline
- sophos_central
- data_stream
- alert/elasticsearch/ingest_pipeline
- event/elasticsearch/ingest_pipeline
- splunk
- data_stream
- alert/elasticsearch/ingest_pipeline
- search/elasticsearch/ingest_pipeline
- spycloud
- data_stream
- breach_catalog/elasticsearch/ingest_pipeline
- breach_record/elasticsearch/ingest_pipeline
- compass/elasticsearch/ingest_pipeline
- sublime_security
- data_stream
- audit/elasticsearch/ingest_pipeline
- email_message/elasticsearch/ingest_pipeline
- message_event/elasticsearch/ingest_pipeline
- symantec_endpoint_security
- data_stream
- event/elasticsearch/ingest_pipeline
- incident/elasticsearch/ingest_pipeline
- sysdig
- data_stream
- alerts/elasticsearch/ingest_pipeline
- cspm/elasticsearch/ingest_pipeline
- event/elasticsearch/ingest_pipeline
- vulnerability/elasticsearch/ingest_pipeline
- tanium
- data_stream
- action_history/elasticsearch/ingest_pipeline
- client_status/elasticsearch/ingest_pipeline
- discover/elasticsearch/ingest_pipeline
- endpoint_config/elasticsearch/ingest_pipeline
- reporting/elasticsearch/ingest_pipeline
- threat_response/elasticsearch/ingest_pipeline
- teleport
- data_stream/audit/elasticsearch/ingest_pipeline
- tenable_io
- data_stream
- asset/elasticsearch/ingest_pipeline
- audit/elasticsearch/ingest_pipeline
- plugin/elasticsearch/ingest_pipeline
- scan/elasticsearch/ingest_pipeline
- vulnerability/elasticsearch/ingest_pipeline
- tenable_ot_security
- data_stream
- assets/elasticsearch/ingest_pipeline
- events/elasticsearch/ingest_pipeline
- system_log/elasticsearch/ingest_pipeline
- tenable_sc
- data_stream
- asset/elasticsearch/ingest_pipeline
- plugin/elasticsearch/ingest_pipeline
- vulnerability/elasticsearch/ingest_pipeline
- tencent_cloud
- data_stream
- audit/elasticsearch/ingest_pipeline
- clb/elasticsearch/ingest_pipeline
- cos/elasticsearch/ingest_pipeline
- scf/elasticsearch/ingest_pipeline
- thycotic_ss
- data_stream/logs/elasticsearch/ingest_pipeline
- ti_anomali
- data_stream
- intelligence/elasticsearch/ingest_pipeline
- threatstream/elasticsearch/ingest_pipeline
- ti_anyrun
- data_stream/ioc/elasticsearch/ingest_pipeline
- ti_cif3
- data_stream/feed/elasticsearch/ingest_pipeline
- ti_crowdstrike
- data_stream
- intel/elasticsearch/ingest_pipeline
- ioc/elasticsearch/ingest_pipeline
- ti_custom
- data_stream/indicator/elasticsearch/ingest_pipeline
- ti_cybersixgill
- data_stream/threat/elasticsearch/ingest_pipeline
- ti_domaintools
- data_stream
- domaindiscovery_feed/elasticsearch/ingest_pipeline
- domainhotlist_feed/elasticsearch/ingest_pipeline
- domainrdap_feed/elasticsearch/ingest_pipeline
- domainrisk_feed/elasticsearch/ingest_pipeline
- nad_feed/elasticsearch/ingest_pipeline
- nod_feed/elasticsearch/ingest_pipeline
- ti_eclecticiq
- data_stream/threat/elasticsearch/ingest_pipeline
- ti_eset
- data_stream
- apt/elasticsearch/ingest_pipeline
- botnet/elasticsearch/ingest_pipeline
- cc/elasticsearch/ingest_pipeline
- domains/elasticsearch/ingest_pipeline
- files/elasticsearch/ingest_pipeline
- ip/elasticsearch/ingest_pipeline
- url/elasticsearch/ingest_pipeline
- ti_google_threat_intelligence
- data_stream
- cryptominer/elasticsearch/ingest_pipeline
- first_stage_delivery_vectors/elasticsearch/ingest_pipeline
- infostealer/elasticsearch/ingest_pipeline
- ioc_stream/elasticsearch/ingest_pipeline
- iot/elasticsearch/ingest_pipeline
- linux/elasticsearch/ingest_pipeline
- malicious_network_infrastructure/elasticsearch/ingest_pipeline
- malware/elasticsearch/ingest_pipeline
- mobile/elasticsearch/ingest_pipeline
- osx/elasticsearch/ingest_pipeline
- phishing/elasticsearch/ingest_pipeline
- ransomware/elasticsearch/ingest_pipeline
- threat_actor/elasticsearch/ingest_pipeline
- trending/elasticsearch/ingest_pipeline
- vulnerability_weaponization/elasticsearch/ingest_pipeline
- vulnerability/elasticsearch/ingest_pipeline
- elasticsearch/ingest_pipeline
- ti_maltiverse
- data_stream/indicator/elasticsearch/ingest_pipeline
- ti_mandiant_advantage
- data_stream/threat_intelligence/elasticsearch/ingest_pipeline
- ti_misp
- data_stream
- threat_attributes/elasticsearch/ingest_pipeline
- threat/elasticsearch/ingest_pipeline
- ti_opencti
- data_stream/indicator/elasticsearch/ingest_pipeline
- ti_otx
- data_stream
- pulses_subscribed/elasticsearch/ingest_pipeline
- threat/elasticsearch/ingest_pipeline
- ti_rapid7_threat_command
- data_stream
- alert/elasticsearch/ingest_pipeline
- ioc/elasticsearch/ingest_pipeline
- vulnerability/elasticsearch/ingest_pipeline
- elasticsearch/ingest_pipeline
- ti_recordedfuture
- data_stream
- identity_detection/elasticsearch/ingest_pipeline
- playbook_alert/elasticsearch/ingest_pipeline
- threat/elasticsearch/ingest_pipeline
- triggered_alert/elasticsearch/ingest_pipeline
- ti_socradar_taxii
- data_stream/indicator
- _dev/test/pipeline
- elasticsearch/ingest_pipeline
- ti_strider
- data_stream/indicator/elasticsearch/ingest_pipeline
- ti_threatconnect
- data_stream/indicator/elasticsearch/ingest_pipeline
- elasticsearch/ingest_pipeline
- ti_threatq
- data_stream/threat/elasticsearch/ingest_pipeline
- ti_ticura
- data_stream/indicator/elasticsearch/ingest_pipeline
- tines
- data_stream
- audit_logs/elasticsearch/ingest_pipeline
- time_saved/elasticsearch/ingest_pipeline
- trellix_edr_cloud
- data_stream/event/elasticsearch/ingest_pipeline
- trellix_epo_cloud
- data_stream
- device/elasticsearch/ingest_pipeline
- event/elasticsearch/ingest_pipeline
- group/elasticsearch/ingest_pipeline
- trendmicro
- data_stream/deep_security/elasticsearch/ingest_pipeline
- varonis
- data_stream/logs/elasticsearch/ingest_pipeline
- vectra_detect
- data_stream/log/elasticsearch/ingest_pipeline
- wiz
- data_stream
- audit/elasticsearch/ingest_pipeline
- cloud_configuration_finding_full_posture/elasticsearch/ingest_pipeline
- cloud_configuration_finding/elasticsearch/ingest_pipeline
- defend_v2/elasticsearch/ingest_pipeline
- defend/elasticsearch/ingest_pipeline
- issue/elasticsearch/ingest_pipeline
- vulnerability/elasticsearch/ingest_pipeline
- workday
- data_stream
- activity/elasticsearch/ingest_pipeline
- sign_on/elasticsearch/ingest_pipeline
- xm_cyber
- data_stream
- audit_trail/elasticsearch/ingest_pipeline
- device/elasticsearch/ingest_pipeline
- entity_inventory/elasticsearch/ingest_pipeline
- product/elasticsearch/ingest_pipeline
- risk_score/elasticsearch/ingest_pipeline
- vulnerability/elasticsearch/ingest_pipeline
- zerofox
- data_stream/alerts/elasticsearch/ingest_pipeline
- zeronetworks
- data_stream/audit/elasticsearch/ingest_pipeline
- zoom
- data_stream
- activity/elasticsearch/ingest_pipeline
- meeting_activity/elasticsearch/ingest_pipeline
- operation/elasticsearch/ingest_pipeline
- webhook/elasticsearch/ingest_pipeline
- zscaler_zia
- data_stream
- alerts/elasticsearch/ingest_pipeline
- audit/elasticsearch/ingest_pipeline
- dns/elasticsearch/ingest_pipeline
- email_dlp/elasticsearch/ingest_pipeline
- endpoint_dlp/elasticsearch/ingest_pipeline
- firewall/elasticsearch/ingest_pipeline
- saas_security_activity/elasticsearch/ingest_pipeline
- saas_security/elasticsearch/ingest_pipeline
- sandbox_report/elasticsearch/ingest_pipeline
- sandbox_verdict/elasticsearch/ingest_pipeline
- tunnel/elasticsearch/ingest_pipeline
- web/elasticsearch/ingest_pipeline
- zscaler_zpa
- data_stream
- app_connector_status/elasticsearch/ingest_pipeline
- audit/elasticsearch/ingest_pipeline
- browser_access/elasticsearch/ingest_pipeline
- user_activity/elasticsearch/ingest_pipeline
- user_status/elasticsearch/ingest_pipeline
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
2 | 7 | | |
3 | 8 | | |
4 | 9 | | |
| |||
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
| 23 | + | |
22 | 24 | | |
23 | 25 | | |
24 | 26 | | |
25 | 27 | | |
26 | | - | |
| 28 | + | |
27 | 29 | | |
28 | 30 | | |
29 | 31 | | |
30 | 32 | | |
31 | 33 | | |
| 34 | + | |
32 | 35 | | |
33 | 36 | | |
| 37 | + | |
34 | 38 | | |
35 | 39 | | |
36 | 40 | | |
37 | 41 | | |
38 | | - | |
| 42 | + | |
39 | 43 | | |
40 | 44 | | |
41 | 45 | | |
42 | 46 | | |
43 | 47 | | |
| 48 | + | |
44 | 49 | | |
45 | 50 | | |
| 51 | + | |
46 | 52 | | |
47 | 53 | | |
48 | 54 | | |
49 | 55 | | |
50 | | - | |
| 56 | + | |
51 | 57 | | |
52 | 58 | | |
53 | 59 | | |
| |||
70 | 76 | | |
71 | 77 | | |
72 | 78 | | |
| 79 | + | |
73 | 80 | | |
74 | 81 | | |
| 82 | + | |
75 | 83 | | |
76 | 84 | | |
77 | 85 | | |
78 | 86 | | |
79 | | - | |
| 87 | + | |
80 | 88 | | |
81 | 89 | | |
82 | 90 | | |
| |||
99 | 107 | | |
100 | 108 | | |
101 | 109 | | |
| 110 | + | |
102 | 111 | | |
103 | 112 | | |
| 113 | + | |
104 | 114 | | |
105 | 115 | | |
106 | 116 | | |
107 | 117 | | |
108 | | - | |
| 118 | + | |
109 | 119 | | |
110 | 120 | | |
111 | 121 | | |
| |||
128 | 138 | | |
129 | 139 | | |
130 | 140 | | |
| 141 | + | |
131 | 142 | | |
132 | 143 | | |
| 144 | + | |
133 | 145 | | |
134 | 146 | | |
135 | 147 | | |
136 | 148 | | |
137 | | - | |
| 149 | + | |
138 | 150 | | |
139 | 151 | | |
140 | 152 | | |
| |||
156 | 168 | | |
157 | 169 | | |
158 | 170 | | |
| 171 | + | |
159 | 172 | | |
160 | 173 | | |
| 174 | + | |
161 | 175 | | |
162 | 176 | | |
163 | 177 | | |
164 | 178 | | |
165 | | - | |
| 179 | + | |
166 | 180 | | |
167 | 181 | | |
168 | 182 | | |
| |||
182 | 196 | | |
183 | 197 | | |
184 | 198 | | |
185 | | - | |
186 | | - | |
| 199 | + | |
187 | 200 | | |
188 | 201 | | |
| 202 | + | |
189 | 203 | | |
190 | 204 | | |
| 205 | + | |
191 | 206 | | |
192 | 207 | | |
193 | 208 | | |
194 | 209 | | |
195 | | - | |
| 210 | + | |
196 | 211 | | |
197 | 212 | | |
198 | 213 | | |
| |||
212 | 227 | | |
213 | 228 | | |
214 | 229 | | |
215 | | - | |
216 | | - | |
| 230 | + | |
217 | 231 | | |
218 | 232 | | |
| 233 | + | |
219 | 234 | | |
220 | 235 | | |
| 236 | + | |
221 | 237 | | |
222 | 238 | | |
223 | 239 | | |
224 | 240 | | |
225 | | - | |
| 241 | + | |
226 | 242 | | |
227 | 243 | | |
228 | 244 | | |
| |||
245 | 261 | | |
246 | 262 | | |
247 | 263 | | |
| 264 | + | |
248 | 265 | | |
249 | 266 | | |
| 267 | + | |
250 | 268 | | |
251 | 269 | | |
252 | 270 | | |
253 | 271 | | |
254 | | - | |
| 272 | + | |
255 | 273 | | |
256 | 274 | | |
257 | 275 | | |
| |||
273 | 291 | | |
274 | 292 | | |
275 | 293 | | |
| 294 | + | |
276 | 295 | | |
277 | 296 | | |
| 297 | + | |
278 | 298 | | |
279 | 299 | | |
280 | 300 | | |
281 | 301 | | |
282 | | - | |
| 302 | + | |
283 | 303 | | |
284 | 304 | | |
285 | 305 | | |
286 | 306 | | |
287 | 307 | | |
| 308 | + | |
288 | 309 | | |
289 | 310 | | |
| 311 | + | |
290 | 312 | | |
291 | 313 | | |
292 | 314 | | |
293 | 315 | | |
| 316 | + | |
294 | 317 | | |
295 | 318 | | |
296 | 319 | | |
| |||
300 | 323 | | |
301 | 324 | | |
302 | 325 | | |
303 | | - | |
| 326 | + | |
304 | 327 | | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
0 commit comments