Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c1424e6 commit 37741baCopy full SHA for 37741ba
1 file changed
packages/bitdefender/data_stream/push_notifications/elasticsearch/ingest_pipeline/default.yml
@@ -1537,6 +1537,12 @@ processors:
1537
}
1538
return false;
1539
1540
+ // Prevent empty fields in correlated arrays from being removed.
1541
+ // The first two cases should never happen, but are included
1542
+ // defensively. The remediationActions elements may be validly
1543
+ // empty.
1544
+ ctx.bitdefender?.event?.filePath?.replaceAll(e -> e == "" ? "-" : e);
1545
+ ctx.bitdefender?.event?.fileSizes?.replaceAll(e -> e == "" ? "-" : e);
1546
ctx.bitdefender?.event?.remediationActions?.replaceAll(e -> e == "" ? "-" : e);
1547
dropEmptyFields(ctx);
1548
0 commit comments